Shipping::Package
Create Package
Add a new package to a workspace
post/workspaces/{workspace_id}/shipping/packages
Path parameters
workspace_idinteger required
Request body
Example request
{
"shipping_package": {
"shipping_package": {
"package_type": "box",
"height": "4.0",
"width": "2.0",
"length": "2.0",
"distance_unit": "in",
"empty_weight": null,
"weight": "0.0",
"weight_unit": "lb",
"default_package": false,
"name": "Example Package",
"carrier": null
}
}
}Response
Created
Example response
{
"id": 1,
"public_id": "EpuezP",
"package_type": "box",
"height": "4.0",
"width": "2.0",
"length": "2.0",
"distance_unit": "in",
"empty_weight": null,
"weight": "0.0",
"weight_unit": "lb",
"default_package": false,
"name": "Example Package",
"token": null,
"carrier": null,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}