List serial numbers for orders
Lists all serial numbers of an order. The ID of the order must be specified.
/rest/orders/{orderId}/items/serialNumbers
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order |
List
Field | Type | Description |
---|---|---|
serialNumberId | Int |
The ID of the serial number |
orderId | Int |
The ID of the order |
orderItemId | Int |
The ID of the order item |
serialNumber | String |
The serial number |
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 all serial numbers of an order item. The ID of the order and the ID of the order item must be specified.
/rest/orders/{orderId}/items/{orderItemId}/serialNumbers
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order |
orderItemId | Int |
The ID of the order item |
List
Field | Type | Description |
---|---|---|
serialNumberId | Int |
The ID of the serial number |
orderId | Int |
The ID of the order |
orderItemId | Int |
The ID of the order item |
serialNumber | String |
The serial number |
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. |