List all shipping package types or get a shipping package type by the ID.
Gets a shipping package type. The ID of the shipping package type must be specified.
/rest/orders/shipping/package_types/{shippingPackageTypeId}
Field | Type | Description |
---|---|---|
id | Int |
The ID of the shipping package type |
name | String |
The name of the shipping package type |
width | Int |
The width of the shipping package type |
height | Int |
The height of the shipping package type |
length | Int |
The length of the shipping package type |
unit | String |
The unit of the shipping package type dimension |
maxWeight | Int |
The maximum weight of the shipping package type |
maxVolume | Int |
The maximum volume of the shipping package type |
volumeType | Int |
The volume type of the shipping package type |
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/package_types
List
Field | Type | Description |
---|---|---|
id | Int |
The ID of the shipping package type |
name | String |
The name of the shipping package type |
width | Int |
The width of the shipping package type |
height | Int |
The height of the shipping package type |
length | Int |
The length of the shipping package type |
unit | String |
The unit of the shipping package type dimension |
maxWeight | Int |
The maximum weight of the shipping package type |
maxVolume | Int |
The maximum volume of the shipping package type |
volumeType | Int |
The volume type of the shipping package type |
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. |