Skip to main content

Update Sales Invoice Document Description

PATCH 

/api/sales-invoices/:salesInvoice/documents/:document

Change an attached file's description — the only editable field; upload a new file to replace the file itself. description is required in the body and may be null to clear it (up to 2,000 characters).

Required scope: orders:write

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

Returns 404 when the document is not attached to this invoice.

Requires orders:write and sales_invoices.update.

Request​

Responses​

OK

Response Headers
    Content-Type