SalesOrders

Lists the organization's sales orders, oldest first, one page at a time.

Requires ViewSalesOrders. Pagination: pass the previous response's nextCursor as after; limit defaults to 50 and is capped at 200. All filters combine with AND. Example: GET /api/v1/sales-orders?status=Pending&customerId=42 lists customer 42's orders that are waiting to be fulfilled. Response carries a weak ETag; resend it as If-None-Match to get 304 when nothing changed. Also available as CSV (Accept: text/csv or ?format=csv); paging cursor in X-Next-Cursor.

get/api/v1/sales-orders

Request

  • Base URL: https://app.flexonthejob.com
  • URL: https://app.flexonthejob.com/api/v1/sales-orders
  • Auth: HTTP bearer

Query parameters

statusstring

Order status to match exactly (case-insensitive): Pending, Picking, Packed, Shipped, Delivered, Complete, Cancelled (or the deprecated Confirmed of legacy rows). Example: status=Pending.

customerIdinteger

Only orders for this customer id. Example: customerId=42.

updatedSincestring date-time

Only orders created or modified (header or line edits, lines added or removed, status change, fulfilment and pick progress, fulfillmentStatus change) at or after this instant (ISO-8601 UTC, e.g. 2026-09-01T00:00:00Z). Use it to poll for changes. Payments do not bump updatedAt: paymentStatus, amountPaid and balanceDue can change without it, so poll /api/v1/invoices (or re-read the order with If-None-Match) to follow payments.

afterstring

Cursor from the previous page's nextCursor (a sales-order SyncId). Omit for the first page.

limitinteger

Page size, 1–200 (default 50).

format'csv'

Alternative to the Accept header: csv returns text/csv.

Response

A page of sales orders and the cursor for the next page (null on the last page).

nextCursorstring nullable

SyncId of the last item; pass it back as ?after= to fetch the next page. null when this is the last page.

Changes

No recorded changes to this operation across all 1 revision of this API.