Create a new user parcel template
Creates a new user parcel template.
You can choose to create a parcel template using a preset carrier template as a starting point, or you can create an entirely custom one. To use a preset carrier template, pass in a unique template token from this list plus the weight fields (weight and weight_unit). Otherwise, omit the template field and pass the other fields, for the weight, length, height, and depth, as well as their units.”
Authorizations
API key authentication using the ShippoToken scheme. Format: Authorization: ShippoToken <API_TOKEN> Example: Authorization: ShippoToken shippo_live_abc123
Headers
Optional string used to pick a non-default API version to use. See our API version guide.
"2018-02-08"
Body
- A request to create or update a new parcel template.
- A request to create or update a new parcel template.
Response
User parcel template
The measure unit used for length, width and height. Required, but if using a preset carrier template then this field must be empty.
cm, in, ft, m, mm, yd "in"
The height of the package, in units specified by the distance_unit attribute. Required, but if using a preset carrier template then this field must be empty.
"6"
The length of the package, in units specified by the distance_unit attribute. Required, but if using a preset carrier template then this field must be empty.
"10"
The name of the User Parcel Template
"My Custom Template"
The weight of the package, in units specified by the weight_unit attribute.
"12"
The unit used for weight.
g, kg, lb, oz "lb"
The width of the package, in units specified by the distance_unit attribute. Required, but if using a preset carrier template then this field must be empty.
"8"
Date and time of User Parcel Template creation
"2013-12-11T19:38:09.729Z"
Unique identifier of the given User Parcel Template object
"b958d3690bb04bb8b2986724872750f5"
Username of the user who created the User Parcel Template object
"shippotle@shippo.com"
Date and time of last update on User Parcel Template
"2013-12-12T19:38:09.729Z"
Related topics
Retrieves a user parcel templateDelete a user parcel templateList all user parcel templates