API reference · Customers
Unlink Customer from a Group
https://api.sandbox.cws.digital/customer/{document}/priceType/{customerGroupId}Description
Undoes the link between a customer and a price type. The customer stops receiving the price table of that type.
Parameters
Path parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| document | string | Yes | Customer's CPF or CNPJ, without punctuation. See the rule below. | |
| customerGroupId | integer | Yes | Id of the customer group or of the price type linked to the customer. |
Business rules
The document goes without punctuation
Send only the digits: 46693537308, not 466.935.373-08.
A punctuated CNPJ carries a slash, which splits the path into two segments — the request does not reach this endpoint.
Responses
- 401
Missing, malformed or expired token.