API reference · Customers
Delete Customer Group
https://api.sandbox.cws.digital/customer/groupDescription
Deletes a customer group from your store.
The customers who were in the group remain registered — what goes away is the group and the links to it.
Request body
application/jsonRequired| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| externalId | string | Yes | Group id in your system, the same one provided in the creation. |
Business rules
A group used in a contract is not deleted
While the group is in the customerGroupList of any contract, the deletion is refused with 400, status: "ERROR" and action: "DELETE", and the group stays registered.
A group that is not in any contract is deleted normally.
Responses
- 401
Missing, malformed or expired token.