If the article section cannot be deleted, because it contains article(s), a 409 code is returned.
Optional parameter force with true value allows deletion of article section including permanent deletion of article(s) having this section set as default.
Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/articles/sections/{articleSectionId}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/articles/sections/{articleSectionId}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X DELETE \
'https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/articles/sections/1?force=true' \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'Response
{ "data": {}, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }