package_types
Create custom package type
Changed onCreate a custom package type to better assist in getting accurate rate estimates
post/v2/packages
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/packages
- AuthAPI key in header api-key
Request body
Example request
{
"package_id": "se-28529731",
"package_code": "small_flat_rate_box",
"name": "laptop_box",
"dimensions": {
"length": 2,
"width": 2,
"height": 1
},
"description": "Packaging for laptops"
}Response
The request was a success.
Example response
{
"package_id": "se-28529731",
"package_code": "small_flat_rate_box",
"name": "laptop_box",
"dimensions": {
"length": 2,
"width": 2,
"height": 1
},
"description": "Packaging for laptops"
}Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the response property
/became nullable for the status - info
the request property
/became nullable
- breaking