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).
products:writeGrant 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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.