Skip to main content

Unallocate (Delete Allocation)

DELETE 

/api/vendor-credits/:vendor_credit/allocations/:vendor_credit_allocation

Remove an allocation from a vendor credit. Returns 404-style error if the allocation does not belong to the specified vendor credit. Restores the vendor credit's remaining balance and the purchase invoice's outstanding amount.

Required scope: accounting:write

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

Request

Responses

Successful response