Commerce Order Create
commerce_order_createCreate a new Drupal commerce order by specifying a store ID and order ID, with optional items, billing profile, and order type.
Instructions
Create a new commerce order.
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>",
"store_id": "<store_id>"
},
"name": "commerce_order_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | No | ||
| store_id | Yes | ||
| order_type | No | default | |
| billing_profile | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||