create_product
Mutation/readOnly:false, script-tier/no-model-token action. Add a product to the storefront. It appears in the Products section of the storefront once products are on (update_product_settings productsOn). Prices are in cents (2500 = $25.00, the minimum for a fixed price). Options and variants are optional; each variant combines one value from each option group. Media must be uploaded first and passed as urls. Storefront Pro. Call list_products first to see existing products and categories.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fields": "<fields>",
"proAccessToken": "<proAccessToken>"
},
"name": "create_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | The product: name, summary, description, price, media and shipping details. | |
| variants | No | Each option combination that can be bought, up to 200. Requires optionGroups. | |
| optionGroups | No | Options such as size or color, up to 3. Omit for a product without options. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |