Carrier Parcel Templates

Retrieve a carrier parcel templates

Changed on

Fetches the parcel template information for a specific carrier parcel template, identified by the token.

get/parcel-templates/{CarrierParcelTemplateToken}

Request

  • Base URL
    https://api.goshippo.com
  • URL
    https://api.goshippo.com/parcel-templates/{CarrierParcelTemplateToken}
  • Auth
    API key in header Authorization

Path parameters

CarrierParcelTemplateTokenstring required

The unique string representation of the carrier 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

Carrier parcel template

carrierstring

The name of the carrier that provides this parcel template

distance_unit'cm' | 'in' | 'ft' | 'm' | 'mm' | 'yd'

The measure unit used for length, width and height.

heightstring

The height of the package, in units specified by the distance_unit attribute

is_variable_dimensionsboolean

True if the carrier parcel template allows custom dimensions, such as USPS Softpack.

lengthstring

The length of the package, in units specified by the distance_unit attribute

namestring

The name of the carrier parcel template

tokenstring

The unique string representation of the carrier parcel template

widthstring

The width of the package, in units specified by the distance_unit attribute

Example response

{
  "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