Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/{guid}/accounts
- https://api.myshoptet.comhttps://api.myshoptet.com/api/customers/{guid}/accounts
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X POST \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/45f0cc8c-b7a9-11ea-a7a1-08002746ad91/accounts \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"fullName": "Jan Novak",
"email": "jan.novak@gmail.com",
"phone": "420777888999",
"mainAccount": true,
"authorized": true,
"emailVerified": true
}
}'Response
{ "data": { "account": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }