univoozAPI
Webhooks

Events

The ten event types, and where they come from.

EventUnivooz sends it when
order.createdSomebody creates an order
order.assignedThe fleet selects a courier
order.acceptedThe courier accepts
order.arrived_for_pickupThe courier is at the collection point
order.picked_upThe courier has the goods
order.arrived_for_deliveryThe courier is at the delivery point
order.deliveredThe delivery is complete
order.cancelledYou or the fleet cancels
order.updatedYou change an order. One event for each change.
webhook.testYou push Send test in the dashboard. It has no order.

Events come from all sources

Each event above occurs for all sources: this API, the dashboard, and the courier's application.

An operator who types an order into the dashboard sends you the same order.created event as POST /v1/orders. If you compare with your own database, expect orders that you did not create.

Select the events you want

An endpoint can name the events it wants. Univooz does not send the others.

A new endpoint names none, and this means all of them.

webhook.test always arrives. You cannot remove it, because it is the answer to a button.

Ignore an event type that you do not know. Univooz adds new types without notice, and a new type is not a breaking change. A receiver that fails on an unknown type will stop on a day when you installed nothing.

What is not an event

A failed attempt by a courier is not an event. The status does not change, the courier tries again, and the result is order.delivered or order.cancelled.

On this page