mirror of
https://github.com/LukeHagar/speakeasy-playground.git
synced 2025-12-08 04:21:27 +00:00
14 lines
7.2 KiB
Markdown
14 lines
7.2 KiB
Markdown
# UserParcelTemplateUpdateRequest
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `distance_unit` | [components.DistanceUnitUserTemplate](../../models/components/distanceunitusertemplate.md) | :heavy_check_mark: | 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* | :heavy_check_mark: | 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* | :heavy_check_mark: | 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* | :heavy_check_mark: | The name of the User Parcel Template | My Custom Template |
|
|
| `width` | *str* | :heavy_check_mark: | 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]* | :heavy_minus_sign: | The weight of the package, in units specified by the weight_unit attribute. | 12 |
|
|
| `weight_unit` | [Optional[components.WeightUnit]](../../models/components/weightunit.md) | :heavy_minus_sign: | The unit used for weight. | lb | |