Admin API / Types

CreateParcelTemplateInput

Input

The parcel template to create.

input CreateParcelTemplateInput

Input fields

FieldTypeDescription
containsHazmatBoolean!True when the parcel holds hazardous material. Defaults to false. Default: false.
idempotencyKeyString!A client-generated key, 1 to 200 characters after trim. A repeat with the same key and input within 24 hours in the same marketplace returns the first result. The same key with another input returns IdempotencyConflictError.
nameString!A name for the template, 1 to 100 characters after trim.
parcelParcelInput!The outer dimensions and weight. Each number is at least 0.001 and at most 1,000,000, and keeps 6 significant digits.