Deletion of a price list can fail with error 423 in case of running import.
To delete prices inside a price list rather than the price list itself, use /api/price-lists/{id}/prices.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/price-lists/{id}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/price-lists/{id}
curl -i -X DELETE \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/price-lists/1 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }