Customers

Get Customers Page

Lists the customers in your depot, most recently updated first. Each item carries the customer's core details (id, account, name, address, lat/lng, phone, email, duration, notes, created, updated). Capacities, skills, tags, time windows and custom fields are not included; fetch them per customer with GET /customers/{id}.

Results are paged. limit sets the page size (1–100, default 100), and the Link header holds the URL of the next page. See Paging. updated_at_min (YYYY-MM-DD hh:mm:ss or YYYY-MM-DDTHH:mm:ss.SSSZ) returns only customers updated after that time. A limit outside 1–100 falls back to 100, and an updated_at_min in any other format is ignored rather than rejected. A malformed page_info returns 400 INVALID_INPUT.

get/customers

Request

  • Base URL: https://api.smartroutes.io/v2
  • URL: https://api.smartroutes.io/v2/customers
  • Auth: none declared

Query parameters

page_infostring

Information about the page for pagination. Generated by the OpenAPI

updated_at_minstring date-time

Minimum updated date and time for filtering.

limitinteger

Maximum number of customers to retrieve per page.

Response

Successful response

Changes