Create shipment batch
deftship_create_batchCreate a batch of up to 1,000 USPS shipments that share a shipper and service. Validates shipments asynchronously without making payments.
Instructions
Create a shipment batch (beta; own-USPS-account only) with up to 1,000 shipments that share a shipper and service. Items are validated asynchronously; poll deftship_get_batch until status is 'ready', then deftship_ship_batch. Does not spend money yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Service code applied to all shipments (e.g. 'USPS-3'). | |
| shipper_id | Yes | Shipper id to use for the batch. | |
| batch_shipments | Yes | Shipments to include. |