Typescript (SDK)
Products
Update product
Updates an existing product
PATCH
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource prefix ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Available options:
draft, active, archived MediaLibrary file ids (e.g. file_abc123) to set as the product gallery; the first is the cover. Replaces the existing gallery — an empty array clears it. Create files via POST /v1/files or POST /v1/images/generate.
Example:
["file_abc123"]Response
Product updated
Available options:
draft, active, archived ID by default, full object when expanded

