Size and Weight
The Basics
Weight
Weight inside of a shipment's packages
object is required.
Property | Description |
---|---|
unit | enumerated string, required ounce , pound , gram , kilogram |
value | decimal, required Weight in the unit specified. |
Dimensions
Optionally, you can specify the dimensions of each package in the shipment.
Property | Description |
---|---|
unit | enumerated string, required inch , centimeter |
length | decimal, required Length in the unit specified. |
width | decimal, required Width in the unit specified. |
height | decimal, required Height in the unit specified. |
Add the objects directly into the shipment
object. Use this same format to get shipping rates as well.
Example
POST /v1/labels/
This example shows how to ship a package with a shipping weight of 9.6 ounces, and box dimensions of 12.0 x 7.1 x 6.0 inches.
Example Request
Example Response
Step 2: Ship It!
You can now print your label and ship! Find your label by going to label_download.href
.