TAG LINE
TAG LINE
SMALL TITLE

Order Status Type

(API Version v10)


Represents the status of an Order. Examples are draft, completed, in-progress etc.


What can you do with OrderStatusType?


Properties

Property Details
identity
READ-ONLY
"identity": 19
Type: Number
This is the unique numeric identifier for the OrderStatusType
name
"name": "completed"
Type: String
System defined status type for an Order.
sortOrder
"sortOrder": 1
Type: Number
Unused


End Points

GETOrderStatusType/
Retrieve all of the OrderStatusType objects.
Retrieve all of the OrderStatusType objects.
GET OrderStatusType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "completed",
            "sortOrder": 23
        }
    ]
}
GETOrderStatusType/Paged
Retrieve all of the OrderStatusType objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the OrderStatusType objects in a paged fashion.
GET OrderStatusType/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "name": "completed",
                "sortOrder": 0
            }
        ]
    }
}
GETOrderStatusType/{id}
Retrieve an instance of the OrderStatusType object by its ID.
{id}Unique identifier for the OrderStatusType object.
Retrieve an instance of the OrderStatusType object by its ID.
GET OrderStatusType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "completed",
        "sortOrder": 16
    }
}