vendor_order_id field mirrors the order ID you supplied at creation, making it straightforward to match the incoming event to the correct record in your system.
Delivery Direction
This webhook is sent by Wasl to your server — you do not call this endpoint yourself.Payload Fields
string
The unique order number assigned by Wasl for this delivery.
string
Your unique order identifier as provided when the order was created. Use this to correlate the event with your internal records.
string
Your store identifier if you included it in the original order request. Returns
null if no store ID was provided.string
The estimated time of delivery to the customer, expressed as a UTC datetime string.
string
The estimated time the driver will pick up the order from your location, expressed as a UTC datetime string.
string
The confirmed delivery fee for this order, returned as a numeric string (e.g.
"1.25"). Parse to a float or decimal type before storing or displaying.string
The delivery distance in kilometres from pickup to drop-off, returned as a numeric string (e.g.
"13.10"). Parse to a float or decimal type before use.string
A secret token for verifying that the request originated from Wasl. Always validate this before processing the payload. See the Webhooks Overview for details.
Example Payload
Payload
Handling the Event
After validating thewebhook_token, a typical handler will:
- Look up the order in your system using
vendor_order_id. - Store
order_numberfor use in subsequent webhook correlation. - Record
estimated_pickup_atandestimated_delivery_atto display to your customer. - Update the order’s delivery fee and distance with the confirmed values.
- Return HTTP 200 to acknowledge receipt.