Quote an order
quote_orderPrice a prospective order: validates products, variants and personalization, applies the automatic multi-buy offer or a coupon, and returns shipping options and the total before sales tax (tax is calculated at checkout). Read-only: it doesn't create an order, reserve stock or charge anything.
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": {
"items": "<items>"
},
"name": "quote_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| coupon_code | No | ||
| shipping_option | No | Shipping option id or name; defaults to the cheapest. | |
| shipping_address | No |