v1
latestOpenAPI 3.1.02026-07-2277219695.0 KBRates at Checkout
Update default parcel template
Update the currently configured default parcel template for live rates. The object_id in the request payload should identify the user parcel template to be the new default.
put/live-rates/settings/parcel-template
Headers
SHIPPO-API-VERSIONstring
Example:2018-02-08
Optional string used to pick a non-default API version to use. See our API version guide.
Request body
Example request
{
"object_id": "b958d3690bb04bb8b2986724872750f5"
}Response
Default parcel template
Example response
{
"result": {
"distance_unit": "in",
"height": "6",
"length": "10",
"name": "My Custom Template",
"weight": "12",
"weight_unit": "lb",
"width": "8",
"object_created": "2013-12-11T19:38:09.729Z",
"object_id": "b958d3690bb04bb8b2986724872750f5",
"object_owner": "shippotle@shippo.com",
"object_updated": "2013-12-12T19:38:09.729Z",
"template": {
"carrier": "FedEx",
"distance_unit": "in",
"height": "1.5",
"length": "12.375",
"name": "FedEx® Small Box (S1)",
"token": "FedEx_Box_Small_1",
"width": "10.875"
}
}
}