Vai al contenuto principale
POST
Create Store

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json
name
string
obbligatorio
Required string length: 1 - 128
code
string | null
Maximum string length: 64
type
enum<string>
predefinito:sales_point
Opzioni disponibili:
sales_point,
warehouse,
pickup_point,
mixed
is_default
boolean
predefinito:false
is_active
boolean
predefinito:true
image_url
string | null
Maximum string length: 512
url
string | null
Maximum string length: 512
ssl_url
string | null
Maximum string length: 512
email
string | null
Maximum string length: 255
phone
string | null
Maximum string length: 64
address_line1
string | null
Maximum string length: 255
address_line2
string | null
Maximum string length: 255
city
string | null
Maximum string length: 128
postal_code
string | null
Maximum string length: 32
state
string | null
Maximum string length: 128
country
string | null
Maximum string length: 2
latitude
longitude
opening_hours
string | null
notes
string | null

Risposta

Successful Response

data
StoreRead · object | null
meta
PaginationMeta · object | null
error
string | null
error_code
string | null