Webhooks object structure and attributes
status_updated
parameter of the webhooks object. The body will mimic the response received from the standard GET https://api.zinc.io/v1/orders/<request_id>
request. A webhook will also be sent if order fails, gets placed, or if tracking gets updated.
Note that the case_updated
webhook is specifically for ZMA order cases.
Attribute | Type | Description |
---|---|---|
request_succeeded | String | The webhook URL to send data to when a request succeeds |
order_placed | String | (deprecated) Synonym for request_succeeded (placing orders call only) |
request_failed | String | The webhook URL to send data to when a request fails |
order_failed | String | (deprecated) Synonym for request_failed (placing orders call only) |
tracking_obtained | String | The webhook URL to send data to when ALL tracking for an order is retrieved (placing orders call only) |
tracking_updated | String | The webhook URL to send data to when ANY tracking for an order is retrieved (placing orders call only) |
status_updated | String | The webhook URL to send data to when the status of a request is updated |
case_updated | String | The webhook URL to send data to when a ZMA case associated with the order receives an update |
request_succeeded
), you should deduplicate in your own application.
/v1/orders/:order_id
API endpoint.