Shipment Actions
Creating a Shipment
From an Order
In the portal, navigate to an order and click Create Shipment:
- Select a carrier account
- Choose a service level
- Enter package details (weight, dimensions)
- Review rates and select one
- Click Create Label
Via API
POST /api/shipments
Content-Type: application/json
{
"orderId": "uuid-of-order",
"carrierAccountId": "uuid-of-carrier-account",
"service": "fedex_ground",
"shipTo": {
"name": "John Doe",
"address1": "123 Main St",
"city": "New York",
"state": "NY",
"zip": "10001",
"country": "US"
},
"weight": { "value": 2.5, "unit": "lb" },
"dimensions": { "length": 12, "width": 8, "height": 6, "unit": "in" }
}Voiding a Label
If a label was created in error, void it before the carrier picks up:
DELETE /api/shipments/:id/labelThis cancels the label with the carrier and updates the shipment status to cancelled.
Re-syncing Tracking
Force a tracking update:
POST /api/shipments/:id/sync-trackingBulk Shipment Actions
Use operations to act on multiple shipments:
- Sync All — Re-fetch tracking for all in-transit shipments
- Export — Export shipment data to CSV
- Update Status — Manually update status for selected shipments