API reference · Customers
List Customer Groups
https://api.sandbox.cws.digital/customer/group/byGroupIn homologationDescription
Queries customer groups of your store by id, name or external id.
Parameters
Query parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| id | string | Conditional | Internal group ids, numbers only. Accepts several separated by commas: | |
| name | string | Conditional | Group names, exactly as registered. Accepts several separated by commas: | |
| externalId | string | Conditional | Group external ids. Accepts several separated by commas: |
Business rules
Combined criteria
Send at least one of id, name or externalId. Each one accepts several values separated by commas, and the criteria are combined: every group that matches any of them is returned.
The groups come in id order, without pagination.
Name with a comma
The comma separates the values, so a group with a comma in its name is not found by name. Search for that group by id or externalId.
Responses
- 401
Missing, malformed or expired token.