When a shipment status changes (e.g. it is shipped or out for delivery), notify Onward of that event.
Your identifier for the Shipment Event. Must be unique within its Shipment and stable over time — Onward uses it to look up and de-duplicate events within a shipment, so the same value must always refer to the same event.
Carrier's estimated delivery date/time. Must be a valid ISO 8601 / RFC 3339 timestamp. Send it in UTC with a trailing Z (as in the example); timezone offsets such as -08:00 are also accepted.
- https://app.useonward.com/api/v1https://app.useonward.com/api/v1/shipments/{shopShipmentId}/events
curl -i -X POST \
'https://app.useonward.com/api/v1/shipments/{shopShipmentId}/events' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"shop_shipment_event_id": "817391",
"status": "in_transit",
"message": "string",
"estimated_delivery_at": "2024-11-26T17:32:28Z",
"created_at": "2024-11-26T17:32:28Z"
}'Shipment event created successfully
Your identifier for the Shipment Event. Must be unique within its Shipment and stable over time — Onward uses it to look up and de-duplicate events within a shipment, so the same value must always refer to the same event.
Carrier's estimated delivery date/time. Must be a valid ISO 8601 / RFC 3339 timestamp. Send it in UTC with a trailing Z (as in the example); timezone offsets such as -08:00 are also accepted.
{ "shop_shipment_event_id": "817391", "status": "in_transit", "message": "string", "estimated_delivery_at": "2024-11-26T17:32:28Z", "created_at": "2024-11-26T17:32:28Z" }