User Parcel Templates
Retrieves a user parcel template
Changed onReturns the parcel template information for a specific user parcel template, identified by the object ID.
get/user-parcel-templates/{UserParcelTemplateObjectId}
Request
- Base URLhttps://api.goshippo.com
- URLhttps://api.goshippo.com/user-parcel-templates/{UserParcelTemplateObjectId}
- AuthAPI key in header Authorization
Path parameters
UserParcelTemplateObjectIdstring required
Object ID of the user 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.
SHIPPO-ACCOUNT-IDstring
Optional. The object ID of a Managed Shippo Account. Platform accounts set this to make the request on behalf of one of their managed accounts. See the Platform accounts guide.
Response
User parcel template
Example response
{
"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"
}
}Changes
- info
added the new optional
headerrequest parameterSHIPPO-ACCOUNT-ID
- info
- breaking
for the
headerrequest parameterSHIPPO-API-VERSION, default value2018-02-08was added
- breaking