Create, get, update and delete order shipping package items.
/rest/orders/{orderId}/shipping/packages/items
Field | Type | Description |
---|---|---|
id | Int |
The ID of the order shipping package item. Primary key auto-increment |
packageId | Int |
The ID of the package (id column from plenty_package_type2order) |
itemId | Int |
The ID of the item (plenty_item_variation_base_item_id column from plenty_item_variation_base) |
variationId | Int |
The ID of the variation (plenty_item_variation_base_id column from plenty_item_variation_base) |
itemQuantity | Float |
The quantity of the item in the package |
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. |
/rest/orders/shipping/packages/{packageId}/items
Field | Type | Description |
---|---|---|
id | Int |
The ID of the order shipping package item. Primary key auto-increment |
packageId | Int |
The ID of the package (id column from plenty_package_type2order) |
itemId | Int |
The ID of the item (plenty_item_variation_base_item_id column from plenty_item_variation_base) |
variationId | Int |
The ID of the variation (plenty_item_variation_base_id column from plenty_item_variation_base) |
itemQuantity | Float |
The quantity of the item in the package |
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. |
/rest/orders/shipping/packages/{packageId}/items
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. |
/rest/orders/shipping/packages/items/{id}
Field | Type | Description |
---|---|---|
contentType | String |
response content type |
contentLength | Int |
response content length |
content | String |
response content |
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. |
/rest/orders/shipping/packages/items/{id}
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. |
/rest/orders/shipping/packages/items/{packageId}/{itemId}/{variationId}
Field | Type | Description |
---|---|---|
contentType | String |
response content type |
contentLength | Int |
response content length |
content | String |
response content |
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. |
/rest/orders/shipping/packages/items/{packageId}/{itemId}/{variationId}
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. |