Skip to main content

order.dropoff_updated

Sent when the partner calls PATCH /orders/{id}/dropoff while the order is still pending or confirmed (before pickup). Lynq mirrors the new dropoff, fee, and distance to courier operations.

When it fires​

  • Dropoff address/coordinates and contact fields were updated on the partner order.
  • delivery_fee_sar and distance_km reflect repricing (single-leg or multi-leg fixed pickup sequence).
  • Any bound quote_id on the order is cleared because the trip changed.

Payload data.object​

Same order snapshot as other order lifecycle webhooks, plus a changes block:

{
"id": "01EVTEXAMPLE0000000000000001",
"object": "event",
"created": 1715000000,
"livemode": false,
"type": "order.dropoff_updated",
"data": {
"object": {
"id": "ORD-P-20260728-210F473C",
"status": "confirmed",
"delivery_fee_sar": 22.0,
"distance_km": 6.5,
"dropoff": { "lat": 24.77, "lng": 46.71, "contact_name": "New Recipient" },
"proof": { "pickup_url": null, "delivery_url": null },
"changes": {
"previous_dropoff": { "lat": 24.768, "lng": 46.709 },
"previous_delivery_fee_sar": 20.0,
"previous_distance_km": 5.0
}
}
}
}

Verify the raw request body with X-Lynq-Signature: t=<unix>,v1=<hex> (HMAC-SHA256 over {t}.{raw_body}). See Webhooks guide and Tools.