Retrieve Priority
Beta/v1/sales/priorities/{id}This endpoint is idempotent. Learn more
Retrieves a single priority level by ID or by code.
Looking one up by code is usually more convenient, because other resources refer to a priority by code rather than by ID.
idstringPriority ID or code.
Passing the code, such as normal, resolves the same priority as passing its generated ID.
include[]optional arrayenumValues:ownerSub-objects to expand in the response. When omitted, sub-objects are returned as null.
idstringPriority ID.
objectstringenumValues:priorityResource type identifier.
codestringenumValues:lownormalhighMachine-readable code identifying the priority level.
Other resources refer to a priority by this code rather than by its ID, such as a sales order's priority, and it can be used in place of the ID when retrieving a priority.
namestringDisplay name of the priority level.
ownerownerExpandablenullableOwner of this resource.
Priorities 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 Priority