Build an order
build_orderBuild the customer's order: one garment, how many of each size in each colour, how the logo is made and where it goes. Checks stock, prices it and gives a link that opens the garment with all of that chosen. The customer adds their logo there, checks it and pays; nothing is ordered until they do.
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": {
"slug": "<slug>",
"lines": "<lines>"
},
"name": "build_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The product's slug, from search_products | |
| lines | Yes | One entry per colour. | |
| method | No | How the logo is applied. Default PRINT. | |
| position | No | Where the logo goes. Default front, the left chest. |