Commerce Product Create
commerce_product_createCreate a new commerce product in Drupal with required ID, title, store ID, and price; add optional SKU, status, and variations.
Instructions
Create a new commerce product.
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": {
"id": "<id>",
"title": "<title>",
"store_id": "<store_id>",
"price": "<price>"
},
"name": "commerce_product_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| sku | No | ||
| price | Yes | ||
| title | Yes | ||
| status | No | ||
| store_id | Yes | ||
| variations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||