List Sales Order Statuses

Beta
GET/v1/sales/sales-orders/statuses

This endpoint is idempotent. Learn more

Returns a paginated list of sales order statuses.

cursoroptional string

Opaque 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 integer

Maximum number of results to return in a single page.

qoptional string

Free-text search term used to filter results.

Which fields are matched against the term varies by endpoint.

include[]optional arrayenumValues:owner

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

Relative URL that fetches the next page of results.

null when the last page has been reached.

previous_page_urlstringnullable

Relative URL that fetches the previous page of results.

null while on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of sales_order_status

Resources in this page.

idstring

Sales order status ID.

objectstringenumValues:sales_order_status

Resource type identifier.

codestringenumValues:estimateissuedfulfilled

Machine-readable status code.

  • estimate: a draft quote that has not yet been committed.
  • issued: the order has been issued and is being fulfilled.
  • fulfilled: the order has been completed and closed.
namestring

Human-readable name of the status.

ownerownerExpandablenullable

Owner of this status value.

Sales order statuses are platform-provided and shared across all accounts, so the owner is always the Augno system owner.

objectstringenumValues:owner

Resource type identifier.

typestringenumValues:systemaccount

Where this resource came from.

  • system: a platform-provided default shared across all accounts; not editable.
  • account: created and owned by a specific account; the account field identifies which.
accountaccountnullable

The account that owns this resource.

Present only when type is account; system-owned resources have no owning account.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

Responses

200

Successful response for List Sales Order Statuses