Skip to main content

Handle delivery update requests

Respond when Otter asks you to revise an in-flight delivery (cost, pickup, payments, or tip).

Before you begin​

Steps​

  1. Receive the Update delivery request (delivery.update_request) webhook (payload includes deliveryReferenceId and the revised fields Otter is requesting).
  2. Apply the change on your courier / logistics side.
  3. The callback is optional for completion of Otter's update-request operation. If you send it, call POST /v1/delivery/{deliveryReferenceId}/update, include updated cost or currency when applicable, and send the original event's X-Event-Id.
  4. Continue normal status updates with PUT /v1/delivery/{deliveryReferenceId}/status until a terminal state.

Verify​

Trigger an update request and confirm the delivery continues to completion or cancel. If you send the optional callback, confirm it returns 204.

Common failures​

SymptomLikely causeFix
404 on callbackWrong deliveryReferenceId or storeUse ids from the webhook and X-Store-Id for the linked store
422Body missing required update fieldsMatch the callback schema in the API reference

Next​