Skip to content

Removal of code

Request

This call can be used to delete the existing code from the given location. if the code for the given location (position) does not exist, the

API returns 404 NOT FOUND

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
locationstringrequired

supported values: common-header, common-footer, order-confirmed

Example:common-header
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X DELETE \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/template-include/common-header \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobject or nullrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": {}, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }