Create shipment
create_shipmentUnpaid draft label for one package with every rate; buy it with buy_label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| width_in | No | ||
| height_in | No | ||
| length_in | No | ||
| packaging | No | Parcel | |
| signature | No | none | |
| weight_oz | No | Weight in ounces. | |
| ship_from_id | No | Ship-from address id; default: the account's default. | |
| rubber_stamp_1 | No | Extra text printed on the label. | |
| rubber_stamp_2 | No | ||
| insured_value_usd | No | ||
| package_preset_id | No | A saved package: its type, size and weight replace the fields above. | |
| address_correction | No | When Pirate Ship suggests a corrected address: ask returns the suggestion without a draft, accept ships to the suggestion, skip keeps the address as given. | ask |