Dont forget to respond with a 200 success code to acknowledge receipt!
Once your webhook is registered, all you need to do is handle incoming HTTP POST requests.
Parameter | Type | Description |
---|---|---|
id | String | The delivery's unique ID (that is returned once you place a delivery on the API). |
state | String | The new state of the delivery. |
confirmation_image_url (only for deliveries that have state set to "DELIVERED") | String | The URL at which the photographic proof of delivery can be found. |
Our system will keep trying to deliver the update to you until you have acknowledged receipt by responding with a "200 success" HTTP code.