Files
speakeasy-playground/docs/models/components/parcelcreaterequest.md
Mike Lueders 14c449163c generate sdk
2024-03-01 12:52:50 -06:00

16 KiB
Raw Blame History

ParcelCreateRequest

Fields

Field Type Required Description Example
distance_unit components.DistanceUnitTemplate ✔️ The measure unit used for length, width and height. Required if template is not specified. in
height str ✔️ Required if template is not specified

Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted.
1
length str ✔️ Required if template is not specified

Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.
1
mass_unit components.WeightUnit ✔️ The unit used for weight. lb
weight str ✔️ Weight of the parcel. Up to six digits in front and four digits after the decimal separator are accepted. 1
width str ✔️ Required if template is not specified

Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted.
1
template Optional[Union[components.ParcelTemplateFedEx, components.ParcelTemplateUPS, components.ParcelTemplateUSPS, components.ParcelTemplateDHLeCommerce, components.ParcelTemplateDPDUK, components.ParcelTemplateCouriersPlease, components.ParcelTemplateAramexAustralia]] If template is passed, length, width, height, and distance_unit are not required
metadata Optional[str] N/A Customer ID 123456