Skip to content

Update shop

PATCH
/shops/{id}
curl --request PATCH \
--url https://example.com/shops/example \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "description": "example", "phone": "example", "vat_no": "example", "website": "example", "billing_address": "example", "billing_email": "example", "shipping_address": "example", "shipping_email": "example", "operating_countries": [ "example" ] }'
id
required
string
Media type application/json
object
name
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:
billing_email
Any of:
Any of:
string
shipping_address
Any of:
Any of:
shipping_email
Any of:
Any of:
string
operating_countries
Any of:
Any of:
Array<string>
Example generated
{
"name": "example",
"description": "example",
"phone": "example",
"vat_no": "example",
"website": "example",
"billing_address": "example",
"billing_email": "example",
"shipping_address": "example",
"shipping_email": "example",
"operating_countries": [
"example"
]
}
Media type application/json
object
id
required
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>
partner
required
object
id
required
string
name
required
string
support_phone
required
Any of:
string
support_email
required
Any of:
string
Example
{
"billing_address": {
"latitude": "NaN",
"longitude": "NaN"
},
"shipping_address": {
"latitude": "NaN",
"longitude": "NaN"
}
}