Skip to main content

Update Product Document

PATCH 

/api/v2/products/:product/documents/:document

Correct a product document's metadata. Every field is optional and only the fields you send are changed: document_type (spec_sheet, label_version, marketing_asset, other), description (max 2000), issued_at and expires_at (YYYY-MM-DD, expiry on or after issue), issuer and reference (max 255 each).

Required scope: products:write

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

The stored file cannot be changed; upload a new version with supersedes_document_id instead.

Returns 404 when the document is not linked to this product.

Requires permission: products.update. API tokens need the products:write scope.

Request​

Responses​

OK

Response Headers
    Content-Type