Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 20 KB

File metadata and controls

22 lines (19 loc) · 20 KB

Parcel

Fields

Field Type Required Description Example
mass_unit components.WeightUnitEnum ✔️ 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
distance_unit components.DistanceUnitEnum ✔️ The measure unit used for length, width and height. in
height str ✔️ Height of the parcel. Up to six digits in front and four digits after the decimal separator are accepted. 1
length str ✔️ Length of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted. 1
width str ✔️ Width of the Parcel. Up to six digits in front and four digits after the decimal separator are accepted. 1
extra Optional[components.ParcelExtra] An object holding optional extra services to be requested for each parcel in a multi-piece shipment.
See the Parcel Extra table below for all available services.
metadata Optional[str] N/A Customer ID 123456
object_created date Date and time of Parcel creation. 2014-07-09T02:19:13.174Z
object_id Optional[str] Unique identifier of the given Parcel object. This ID is required to create a Shipment object. adcfdddf8ec64b84ad22772bce3ea37a
object_owner Optional[str] Username of the user who created the Parcel object. [email protected]
object_state Optional[components.ObjectState] A Parcel will only be valid when all required values have been sent and validated successfully. VALID
object_updated date Date and time of last Parcel update. Since you cannot update Parcels after they were created, this time stamp reflects the time when the Parcel was changed by Shippo's systems for the last time, e.g., during sorting the dimensions given. 2014-07-09T02:19:13.174Z
template Optional[components.ParcelTemplateEnumSet] If template is passed, length, width, height, and distance_unit are not required
test Optional[bool] Indicates whether the object has been created in test mode.