Skip to main content

Cancel RMA

POST 

/api/rmas/:rma/cancel

Cancel an RMA and keep it on record (the RMA is not deleted). Only RMAs in a cancellable status (draft, approved, in_transit) with zero return receipts can be canceled — can_be_canceled on the resource reflects this.

Required scope: returns:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token. Requires permission: returns.cancel.

Status transition: draft / approved / in_transit → canceled

Request body (optional):

  • cancellation_reason (string, nullable, max 500) — audit note recorded alongside canceled_at and canceled_by_user_id.

The response resource exposes the cancellation audit fields (canceled_at, canceled_by_user_id, canceled_by, cancellation_reason) and the capability flags (can_be_canceled, can_be_deleted).

Request

Responses

OK

Response Headers
    Content-Type