Retrieve Account Status
Beta/v1/sales/account-statuses/{id}This endpoint is idempotent. Learn more
Returns a single account status, looked up by either its ID or its code.
idstringAccount status ID or code.
A code such as hold_shipment resolves to the same status as that status's ID.
include[]optional arrayenumValues:ownerSub-objects to expand in the response. When omitted, sub-objects are returned as null.
idstringAccount status ID.
objectstringenumValues:account_statusResource type identifier.
codestringenumValues:normalpreferredhold_shipmentMachine-readable status code.
normal: standard account with no restrictions.preferred: account flagged for prioritized handling.hold_shipment: the account's shipments should be held, typically over a credit problem, while orders can still be placed.hold_all: all activity for the account should be held.
The hold statuses are advisory: they are surfaced as credit-hold warnings on the customer's orders, but they do not by themselves cause order or shipment requests to be rejected.
namestringHuman-readable label for the status.
ownerownerExpandablenullableOwner of this resource.
Account 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 Retrieve Account Status