Skip to content

Customers

Requires an API key — see Authentication. Read-only (GET).

GET /v1/customers
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.

Terminal window
curl -H "Authorization: Bearer lk_YOUR_KEY" \
"https://tenant.logistall.cloud/api/v1/customers?limit=2"
[
{
"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.

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.