Receive real-time updates from the Zinc API using webhooks.
webhooks
object in your API request. This object specifies the event types you want to listen for and the URLs to notify.
What you send:webhooks
object in your request, specifying which events you want to receive and where.
What you receive:POST
request to your specified URL(s). The body of the webhook is the same as the standard JSON response for that event (see Webhooks Reference, etc.).
Event | Type | Description |
---|---|---|
request_succeeded | String | Webhook URL for when a request succeeds |
order_placed | String | (deprecated) Synonym for request_succeeded (orders only) |
request_failed | String | Webhook URL for when a request fails |
order_failed | String | (deprecated) Synonym for request_failed (orders only) |
tracking_obtained | String | Webhook URL for when ALL tracking for an order is retrieved (orders only) |
tracking_updated | String | Webhook URL for when ANY tracking for an order is retrieved (orders only) |
status_updated | String | Webhook URL for when the status of a request is updated |
case_updated | String | Webhook URL for when a ZMA case associated with the order receives an update |
https://user:password@example.com/zinc/tracking_obtained
/v1/orders/:order_id
API endpoint.