Cancel a vendor return
Authorization: requires returns:write API-key scope AND the per-user
returns.process permission (SoD parity sweep 2026-05-16). System-actor calls denied.
Cancels a vendor return in status: pending or status: shipped_to_vendor, transitioning
it to status: cancelled. If the return was already shipped to the vendor, a GL reversal
is posted (DR Inventory FG / CR Vendor Returns Receivable) to restore the books. Vendor
returns in received_by_vendor, credit_issued, replacement_received, or closed
status cannot be cancelled through this endpoint (returns 422).
Requires returns:write scope.
Authorizations
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Headers
Client-generated unique key for idempotent POST/PATCH/DELETE operations. Alias for the Idempotency parameter. Max 255 chars. On retry with the same key, the original response is returned without re-executing the operation. Keys expire after 24 hours.
255Path Parameters
Body
Response
Vendor return cancelled

