Skip to main content

Unauthorize Vendor Credit

POST 

/api/vendor-credits/:vendor_credit/unauthorize

Revert an open vendor credit back to draft. This reverses everything authorization created: planned inventory allocations, write-off inventory movements, FIFO layer usages, and the accounting transaction.

Required scope: accounting:write

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

Returns 422 when the credit cannot be reverted (e.g. it already has applied allocations, refund payments, or return shipments).

Request

Responses

OK

Response Headers
    Content-Type