Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/{guid}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/customers/{guid}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/443cad54-73bc-11e8-8216-002590dad85e \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"remark": "remark",
"priceRatio": "0.7800",
"birthDate": "1974-03-14",
"disabledOrders": true,
"customerGroupCode": "retail",
"pricelistId": 1,
"billingAddress": {
"company": "Lard shop",
"fullName": "John Lard",
"street": "Lard street",
"houseNumber": "123",
"city": "Lard city",
"district": "Prague-East",
"additional": "4. floor",
"zip": "120 00",
"countryCode": "CZ",
"regionName": "Capital city",
"companyId": "12345678",
"vatId": "CZ123456",
"taxId": "CZ123456"
}
}
}'Response
- pricelist
- null
{ "data": { "customer": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }