Place the order (customer pays online)
place_orderCreates an unpaid order for the given tyres and options and returns a Mollie checkoutUrl where the customer pays. Requires the customer's acceptance of the Terms (https://www.airbandenservice.com/nl/algemene-voorwaarden) and the total from get_quote; a different current total is refused. Nothing is ordered until the customer pays; an unpaid order expires after about 15 minutes. An identical repeat returns the same 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": {
"items": "<items>",
"delivery": "<delivery>",
"customer": "<customer>",
"expectedTotalCents": "<expectedTotalCents>",
"acceptedTerms": "<acceptedTerms>"
},
"name": "place_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tpms | No | With fitting only: the car has tyre pressure sensors (TPMS). Adds the sensor surcharge. | |
| items | Yes | Tyres to order: the slug from search_tyres and how many. At most 4 products and 8 tyres per order. | |
| locale | No | Language of the payment page, the order page and the emails. Default nl. | |
| fitting | No | Optional: fitting and balancing at the workshop (pickup only), on a day from list_fitting_days. | |
| customer | Yes | The customer's own details, as they gave them. | |
| delivery | Yes | pickup = collect at the workshop in Haarlem (free); delivery = shipped to an address in the Netherlands (fee from get_shop_info). | |
| acceptedTerms | Yes | Whether the customer accepted the Terms. The order is refused without it. | |
| expectedTotalCents | Yes | totalCents from get_quote. A different current total is refused, so the customer never pays more than the quoted amount. |