Skip to main content

Delete Vendor Credit Attachment

DELETE 

/api/vendor-credits/:vendorCredit/attachments/:attachment

Delete an attachment (removes the stored file and the record). Returns 404 if the attachment does not belong to the vendor credit, and 422 if the vendor credit is archived.

Required scope: accounting:write

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

Returns 422 if the credit is archived/voided or the attachment's OCR scan is in progress.

Request

Responses

OK

Response Headers
    Content-Type