List Account Statuses
Beta/v1/sales/account-statusesThis endpoint is idempotent. Learn more
Returns a paginated list of account statuses.
Account statuses are system-provided lookup values shared across all accounts, used to set a customer's status (for example, placing a customer on a credit hold).
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.
null when the last page has been reached.
previous_page_urlstringnullableRelative URL that fetches the previous page of results.
null while on the first page.
has_next_pagebooleanWhether more results exist after this page.
has_prev_pagebooleanWhether results exist before this page.
dataarray of account_statusResources in this page.
idstringAccount status ID.
objectstringenumValues:account_statusResource type identifier.
codestringenumValues:normalpreferredhold_shipmentMachine-readable status code.
This is the value used as a customer's status.
normal: standard account with no restrictions.preferred: account flagged as preferred (e.g. for prioritized handling).hold_shipment: shipments to this account are held; orders may still be placed.hold_all: all activity for this account is held.
namestringHuman-readable label for the status.
ownerownerExpandablenullableOwner of this resource.
Account statuses are system-owned platform defaults shared across all accounts.
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 Account Statuses