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. Acknowledge with POST /v1/delivery/{deliveryReferenceId}/update — include updated cost or currency when applicable; send the original event’s X-Event-Id.
  4. Continue normal status updates with PUT /v1/delivery/{deliveryReferenceId}/status until a terminal state.

Verify

In staging, trigger an update request; your callback returns 204 and the delivery continues to completion or cancel.

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