If the brand cannot be deleted, because it is used by some product, a 409 code is returned.
Optional parameter deleteUsed with true value allows deletion of brand used by products.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/brands/{code}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/brands/{code}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X DELETE \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/brands/1e3f3f3f-3f3f-63ca-b93f-02423f1f0005?deleteUsed=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }