create_checkout_order
Create a real custom apparel order from an approved draft_id (with optional printed gift card & referral attribution) and return a LIVE Stripe Checkout payment link for the user to click and pay. IMPORTANT: Only call this AFTER the user has seen mockup_url/studio_url, confirmed sizes/colors/address, AND confirmed they accept the custom-printed made-to-order policy (non-returnable for change of mind; 2h free edit; 30-day free reprint for defects; 50% off one-time size reprint). Orders >100 pcs must email support@kithtees.com.
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": {
"draft_id": "<draft_id>",
"shipping_address": "<shipping_address>",
"policy_accepted": "<policy_accepted>"
},
"name": "create_checkout_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Customer receipt & tracking email | ||
| channel | No | STD | |
| country | No | US | |
| draft_id | Yes | Approved draft_id from render_mockup | |
| gift_note | No | Optional inline printed gift card (+$2.90, FREE on orders $79+) if you did not call create_gift_note separately. | |
| gift_note_id | No | Optional gift_note_id returned by create_gift_note | |
| save_address | No | ||
| referral_code | No | Optional creator/developer affiliate code (?ref=CODE) | |
| policy_accepted | Yes | Must be true after explicit user confirmation of custom-order policy. | |
| shipping_address | Yes |