Skip to main content

Update Stock Take Attachment Description

PATCH 

/api/stock-takes/:stockTake/documents/:document

Updates an attachment's description. The description is the only editable field — the stored file itself is immutable, so upload a new attachment to replace it.

Required scope: inventory:write

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

description is required in the body and may be null to clear it. Maximum 2000 characters.

Returns 404 if the document is not attached to the given stock take.

Authentication: Requires Bearer token.

Requires scope: inventory:write

Requires permission: inventory.count

Request

Responses

OK

Response Headers
    Content-Type