Skip to main content

Delete Sales Credit Document

DELETE 

/api/sales-credits/:salesCredit/attachments/:attachment

Permanently deletes a document from the sales credit, removing both the record and the stored file.

Required scope: orders:write

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

Authentication: Requires Bearer token.

Returns 404 if the document does not belong to the given credit, and 422 if the credit is archived.

Request

Responses

OK

Response Headers
    Content-Type