951 B
951 B
GET /v1/customergroup
Protected. Requires a valid session cookie (credentials: 'include').
JTL-POS customer group synchronization
Returns customer groups modified after lastChangedCustomerGroup cursor for the authenticated POS register, excluding 'Lieferanten'.
Query parameters
| Param | Required | Type | Description |
|---|---|---|---|
lastChangedCustomerGroup |
no | string | Unix timestamp cursor of last customer group sync |
limit |
no | integer | Maximum number of customer groups to return |
Response 200
Array of customer group objects for JTL-POS
[
{
"customerGroupId": "1",
"name": "Endkunden",
"standard": "1",
"discountPercent": "0.000000",
"lastChanged": "1721000000"
}
]
Errors
| Status | Description |
|---|---|
| 401 | Unauthorized |
Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.