Get the status history of orders.
Gets the status of an order. The ID of the order must be specified.
/rest/orders/{orderId}/status-history
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order |
List
Field | Type | Description |
---|---|---|
id | Int |
The ID of the status history entry |
orderId | Int |
The ID of the order |
statusId | Float |
The ID of the status |
createdAt | String|\Carbon |
The date when the entry was created |
userId | Int |
The ID of the user |
procedureText | String |
The information text of the procedure that created the entry |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |
Lists the status histories of all orders. The result can be limited to an order, a status type, a period of time or a user.
/rest/orders/status-history
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order |
statusId | Float |
The ID of the status |
createdAtFrom | String |
Get entries with createdAt date after this date |
createdAtTo | String |
Get entries with createdAt date before this date |
userId | String |
The ID of the user |
Field | Type | Description |
---|---|---|
page | Int |
Current page of the response |
totalsCount | Int |
The total number of entries in the response |
isLastPage | Bool |
Flag that indicates if the page shown is the last page of the response |
lastPageNumber | Int |
The last page number |
firstOnPage | Int |
The index of the first item of the current page result |
lastOnPage | Int |
The index of the last item of the current page result |
itemsPerPage | Int |
The requested amount of items per result page |
entries | StatusHistoryEntry[] |
List of StatusHistoryEntry |
id | Int |
The ID of the status history entry |
orderId | Int |
The ID of the order |
statusId | Float |
The ID of the status |
createdAt | String|\Carbon |
The date when the entry was created |
userId | Int |
The ID of the user |
procedureText | String |
The information text of the procedure that created the entry |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |