mirror of
https://github.com/LukeHagar/speakeasy-playground.git
synced 2025-12-07 12:47:46 +00:00
7.2 KiB
7.2 KiB
UserParcelTemplateUpdateRequest
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
distance_unit |
components.DistanceUnitUserTemplate | ✔️ | The measure unit used for length, width and height. Required, but if using a preset carrier template then this field must be empty. | in |
height |
str | ✔️ | 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 |
length |
str | ✔️ | 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 |
name |
str | ✔️ | The name of the User Parcel Template | My Custom Template |
width |
str | ✔️ | 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 |
weight |
Optional[str] | ➖ | The weight of the package, in units specified by the weight_unit attribute. | 12 |
weight_unit |
Optional[components.WeightUnit] | ➖ | The unit used for weight. | lb |