Field | Type | Required | Description | Example |
---|---|---|---|---|
distanceUnit |
DistanceUnitEnum | ✔️ | The measure unit used for length, width and height. | in |
height |
String | ✔️ | 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 |
String | ✔️ | 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 |
String | ✔️ | The name of the User Parcel Template | My Custom Template |
weight |
Optional<String> | ➖ | The weight of the package, in units specified by the weight_unit attribute. | 12 |
weightUnit |
Optional<WeightUnitEnum> | ➖ | The unit used for weight. | lb |
width |
String | ✔️ | 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 |