orders_create
Create an order. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
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": {
"customer": "<customer>",
"lines": "<lines>"
},
"name": "orders_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| lines | Yes | ||
| customer | Yes | Found by email; created when the shop has nobody by that address. | |
| discount | No | ||
| shipping | No | ||
| shippingAddress | No | Where it goes, and the place its tax is worked out for. Left out, the shop's own country. |