Create a product
swell_create_productMUTATES LIVE STORE DATA. Create a new product in the store. Provide the common fields directly (name is required); anything else goes in fields, which is merged into the request body. Swell backend REST API: POST /products.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Stock-keeping unit. | |
| name | Yes | Product name (required). | |
| type | No | Product type, e.g. "standard", "subscription", "digital". | |
| price | No | Product price. | |
| active | No | Whether the product is active/visible. | |
| fields | No | Any additional product fields, merged into the request body (e.g. attributes, options, images). | |
| description | No | Product description. | |
| stock_level | No | Available stock quantity. |