Prepare order request
request_orderPrepare an order request for the designed garment with sizes and quantities. designs lists every print on the garment (1–8), one {artwork_id, version} per print, all on the same product and colour; the same artwork_id cannot appear twice (use copy_artwork). Every garment in the order gets all the prints. Contact and delivery details are optional: pass what you know, and the user fills in or corrects the rest on the confirm_url page before sending. No payment; Tryckfritt confirms price and delivery by email afterwards.
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": {
"workspace": "<workspace>",
"designs": "<designs>",
"sizes": "<sizes>"
},
"name": "request_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| sizes | Yes | e.g. {"M": 2, "L": 1} | |
| contact | No | Optional, every field optional. The user completes it on the confirm page. | |
| designs | Yes | ||
| workspace | Yes | Workspace id (ws_…) returned by upload_artwork or create_upload_link. |