List Locations
Returns a paginated list of locations for the authenticated business. Results are sorted by name ascending. Optionally filter by location type.
Only WAREHOUSE and TRUCK locations are returned. Jobs (JOB) are
served by the Jobs API — see GET /jobs. Passing type=JOB or any
unrecognized type value returns 400.
Requires scope: locations:read
Warehouses and trucks only. Jobs are a separate resource with their own fields —
see GET /jobs. A field request or purchase order pointing at a job will not
resolve against this list.
Authentication
Query parameters
Zero-based page index. Defaults to 0.
Items per page. Defaults to 20, maximum 100.
Filter by location type. Must be WAREHOUSE or TRUCK. JOB is
rejected with 400 — use the Jobs API to list jobs. Returns 400
if an unrecognized value is provided.
Sort by field,direction (Spring Pageable format; direction asc or desc, default asc). Allowed fields: id, name, type, plateNumber, number, archived, active, createdAt, updatedAt. Default order (when no sort is supplied): pinned locations first, then least-recently-updated.