List Sales Order Statuses
Beta/v1/sales/sales-orders/statusesThis endpoint is idempotent. Learn more
Lists the statuses a sales order can be in.
The statuses are platform-provided and the same for every account, so the result is small and stable enough to cache. Use it to label orders in your own interface; an order moves between statuses through its issue, unissue, close, and reopen actions rather than by being assigned a status.
cursoroptional stringOpaque cursor token identifying where the page of results starts.
Use the cursor value embedded in a previous response's next_page_url or previous_page_url to fetch the adjacent page. Omit to start from the first page.
limitoptional integerMaximum number of results to return in a single page.
qoptional stringFree-text search term used to filter results.
Which fields are matched against the term varies by endpoint.
include[]optional arrayenumValues:ownerSub-objects to expand in the response. When omitted, sub-objects are returned as null.
objectstringenumValues:listResource type identifier.
page_infoobjectPagination metadata.
next_page_urlstringnullableRelative URL that fetches the next page of results.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of sales_order_statusResources in this page.
idstringSales order status ID.
objectstringenumValues:sales_order_statusResource type identifier.
codestringenumValues:estimateissuedfulfilledMachine-readable status code.
estimate: a draft quote that has not yet been committed.issued: the order is committed for fulfillment, with a pick raised against it.fulfilled: the order has been completed and closed.
namestringHuman-readable name of the status.
ownerownerExpandablenullableOwner of this status value.
Sales order statuses are platform-provided and shared across all accounts, so the owner is always the OpenMRP system owner.
objectstringenumValues:ownerResource type identifier.
typestringenumValues:systemaccountWhere this resource came from.
system: a platform-provided default shared across all accounts; not editable.account: created and owned by a specific account; theaccountfield identifies which.
accountaccountnullableThe account that owns this resource.
Present only when type is account; system-owned resources have no owning account.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
Responses
Successful response for List Sales Order Statuses