get https://app.ecwid.com/api/v3//customer_groups/
Get information about a specific customer group in an Ecwid store referring to its ID.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | oAuth token with mandatory Bearer before it. Example: Bearer e***s0 , where e***s0 should be replaced with your oAuth token. |
Response
A JSON object of type 'CustomerGroup' with the following fields:
CustomerGroup
Field | Type | Description |
---|---|---|
id | number | Unique internal customer group ID |
name | string | Customer group name |
Errors
In case of error, Ecwid responds with an error HTTP status code and, optionally, JSON-formatted body containing error description
HTTP codes
HTTP Status | Meaning |
---|---|
402 | Store doesn't have access to customer groups feature, it's available on Business plan and higher |
404 | Customer group is not found |
500 | Cannot retrieve the customer info because of an error on the server |
Error response body (optional)
Field | Type | Description |
---|---|---|
errorMessage | string | Error message |