Skip to main content

Cancel a return (CancelReturn)

POST 

/return-authorizations/:authorizationId/cancellations

The shopper's cancellation, allowed while AUTHORIZED (before anything is in transit); publishes ReturnCancelled with reason SHOPPER_REQUESTED and answers 200 with the CANCELLED authorization. An authorization whose expiresAt passed untouched is cancelled by this very call with reason EXPIRED and also answers 200 (the lazy expiry IS the cancellation; this route never answers authorization-expired). Cancelling again, or after RECEIVED/CLOSED_KEEP, is 409 illegal-transition.

Request​

Responses​

The cancelled authorization.

Response Headers
    Idempotency-Replayed

    Set to the literal true when this response was replayed from the idempotency store; absent otherwise.