Skip to main content

Authorize Vendor Credit

POST 

/api/vendor-credits/:vendor_credit/authorize

Authorize a draft vendor credit, transitioning it to open. Authorization posts the credit's accounting transaction, records the FIFO cost layers consumed by the credited quantities, and creates planned inventory allocations for lines marked for restock.

Required scope: accounting:write

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

Returns 422 when the credit is not in a state that can be authorized.

Request

Responses

OK

Response Headers
    Content-Type