Skip to content

Create shop for partner

POST
/partners/{id}/shops
curl --request POST \
--url https://example.com/partners/example/shops \
--header 'Content-Type: application/json' \
--data '{ "user_email": "example", "name": "example", "external_id": "example", "description": "example", "phone": "example", "vat_no": "example", "website": "example", "billing_address": { "street": "example", "postal_code": "example", "city": "example", "region": "example", "country": "example", "latitude": 1, "longitude": 1 }, "billing_email": "example", "shipping_address": { "street": "example", "postal_code": "example", "city": "example", "region": "example", "country": "example", "latitude": 1, "longitude": 1 }, "shipping_email": "example", "operating_countries": [ "example" ] }'
id
required
string
Media type application/json
object
user_email
required
string
name
required
string
external_id
Any of:
Any of:
string
description
Any of:
Any of:
string
phone
Any of:
Any of:
string
vat_no
Any of:
Any of:
string
website
Any of:
Any of:
string
billing_address
Any of:
Any of:
object
street
Any of:
Any of:
string
postal_code
Any of:
Any of:
string
city
Any of:
Any of:
string
region
Any of:
Any of:
string
country
Any of:
Any of:
string
latitude
Any of:
Any of:
Any of:
number
longitude
Any of:
Any of:
Any of:
number
billing_email
Any of:
Any of:
string
shipping_address
Any of:
Any of:
object
street
Any of:
Any of:
string
postal_code
Any of:
Any of:
string
city
Any of:
Any of:
string
region
Any of:
Any of:
string
country
Any of:
Any of:
string
latitude
Any of:
Any of:
Any of:
number
longitude
Any of:
Any of:
Any of:
number
shipping_email
Any of:
Any of:
string
operating_countries
Any of:
Any of:
Array<string>
Example generated
{
"user_email": "example",
"name": "example",
"external_id": "example",
"description": "example",
"phone": "example",
"vat_no": "example",
"website": "example",
"billing_address": {
"street": "example",
"postal_code": "example",
"city": "example",
"region": "example",
"country": "example",
"latitude": 1,
"longitude": 1
},
"billing_email": "example",
"shipping_address": {
"street": "example",
"postal_code": "example",
"city": "example",
"region": "example",
"country": "example",
"latitude": 1,
"longitude": 1
},
"shipping_email": "example",
"operating_countries": [
"example"
]
}
Media type application/json
object
id
required
string
external_id
required
Any of:
string
name
required
string
description
required
Any of:
string
phone
required
Any of:
string
vat_no
required
Any of:
string
website
required
Any of:
string
billing_address
required
object
street
required
Any of:
string
postal_code
required
Any of:
string
city
required
Any of:
string
region
required
Any of:
string
country
required
Any of:
string
latitude
required
Any of:
Any of:
number
longitude
required
Any of:
Any of:
number
billing_email
required
Any of:
string
shipping_address
required
object
street
required
Any of:
string
postal_code
required
Any of:
string
city
required
Any of:
string
region
required
Any of:
string
country
required
Any of:
string
latitude
required
Any of:
Any of:
number
longitude
required
Any of:
Any of:
number
shipping_email
required
Any of:
string
created_at
required
Any of:
string
updated_at
required
Any of:
string
operating_countries
required
Any of:
Array<string>
Example
{
"billing_address": {
"latitude": "NaN",
"longitude": "NaN"
},
"shipping_address": {
"latitude": "NaN",
"longitude": "NaN"
}
}