Process labels in bulk and receive a large number of labels and customs forms in bulk responses. Batching is ideal for workflows that need to process hundreds or thousands of labels quickly.
Filter by ship-to country code (2-letter ISO country code)
Filter by ship date start (inclusive)
Filter by ship date end (inclusive)
Filter by creation date start (inclusive)
Filter by creation date end (inclusive)
curl -i -X GET \
'https://docs.shipstation.com/_mock/openapi/v2/fulfillments?batch_id=string&create_date_end=2019-08-24T14%3A15%3A22Z&create_date_start=2019-08-24T14%3A15%3A22Z&fulfillment_id=string&fulfillment_provider_code=string&order_source_id=string&page=1&page_size=25&ship_date_end=2019-08-24T14%3A15%3A22Z&ship_date_start=2019-08-24T14%3A15%3A22Z&ship_to_country_code=string&ship_to_name=string&shipment_id=string&shipment_number=string&sort_by=created_at&sort_dir=asc&tracking_number=string' \
-H 'api-key: YOUR_API_KEY_HERE'
{ "fulfillments": [ { … } ], "page": 0, "pages": 0, "total": 0, "links": { "first": { … }, "last": { … }, "prev": { … }, "next": { … } } }
Tracking number for the shipment
Carrier code (e.g., "ups", "fedex", "usps")
Ship date (defaults to current date if not provided)
curl -i -X POST \
https://docs.shipstation.com/_mock/openapi/v2/fulfillments \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"fulfillments": [
{
"shipment_id": "se-12345678",
"tracking_number": "1Z12345E1234567890",
"carrier_code": "ups",
"ship_date": "2024-01-15T10:00:00Z",
"notify_customer": true,
"notify_order_source": true
}
]
}'
{ "has_errors": false, "fulfillments": [ { … } ] }
Webhooks are a powerful feature that can save you from sending repeated polling requests to check on the state of something. With webhooks, ShipStation will automatically contact your servers when the stage changes. This can include parcel tracking events, notification when a batch operation completes, and more.