Typescript (SDK)
Products
Create product
Creates a new product
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
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 created
Available options:
draft, active, archived ID by default, full object when expanded

