Shipping::Package
Update Package
Update a package for a workspace
put/shipping/packages/{id}
Path parameters
idstring 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
OK
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"
}