Customers
Requires an API key — see Authentication. Read-only (GET).
List customers
Section titled “List customers”GET /v1/customersQuery parameters
Section titled “Query parameters”| Parameter | Type | Default | Notes |
|---|---|---|---|
limit |
integer | 50 |
Max 200. |
offset |
integer | 0 |
There is no status or other filter for this endpoint. Results are ordered by companyName ascending (alphabetical), unlike shipments and invoices which are ordered newest-first.
Example request
Section titled “Example request”curl -H "Authorization: Bearer lk_YOUR_KEY" \ "https://tenant.logistall.cloud/api/v1/customers?limit=2"Example response
Section titled “Example response”[ { "id": "1b2c3d4e-5f6a-7b8c-9d0e-1f2a3b4c5d6e", "customerCode": "CUS-00031", "companyName": "Atlas Textiles SARL", "contactEmail": "logistics@atlastextiles.ma" }, { "id": "2c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f", "customerCode": "CUS-00019", "companyName": "Maghreb Foods Distribution", "contactEmail": "supply@maghrebfoods.ma" }]contactEmail may be null if no contact email is on file.
Errors
Section titled “Errors”| Status | Body | When |
|---|---|---|
401 |
see Authentication | Missing/invalid key. |
500 |
{ "error": "Database error" } |
Unexpected server error. |
There is no single-customer (GET /v1/customers/:id) endpoint currently — only the list. See the User Guide’s Customers & Contracts page for the full customer record as seen in the app (addresses, contacts, contracts), which is not exposed through this API.