Skip to content

Deletion of customer group

Request

Is not possible to delete default customer group. Deletion of customer group will not delete customers assigned to this group, but they will be assigned to default customer group.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
idintegerrequired
Example:1
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X DELETE \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/customers/groups/1 \
  -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
Response
{ "data": {}, "errors": [ {} ] }