Files
dashback/docs/api/routes/v1/customer.md
2026-10-21 06:13:31 +02:00

1.2 KiB

GET /v1/customer

Protected. Requires a valid session cookie (credentials: 'include').

JTL-POS customer catalog synchronization

Returns customer list modified after lastChangedCustomer cursor for the authenticated POS register.

Query parameters

Param Required Type Description
lastChangedCustomer no string Unix timestamp cursor of last customer sync
limit no integer Maximum number of customers to return

Response 200

Array of customer objects for JTL-POS

[
  {
    "id": "…",
    "customerNumber": "…",
    "firstname": "…",
    "lastname": "…",
    "title": "…",
    "company": "…",
    "address": "…",
    "addressSupplement": "…",
    "city": "…",
    "postalCode": "…",
    "state": "…",
    "country": "…",
    "phone": "…",
    "email": "…",
    "customerGroupId": "…",
    "salutation": "…",
    "birthday": "…",
    "discount": "…",
    "taxIdNumber": "…",
    "lastChanged": "…",
    "debtorNumber": "…"
  }
]

Errors

Status Description
401 Unauthorized

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.