Set up a checkout (draft)
setup_checkoutCreate a complete checkout in one call: the product, its delivery, the cart copy, an optional order bump, an optional one-click upsell, optional payment plans (weekly or monthly instalments), optional booking (buyers pick a call time), optional questions buyers answer before paying and an optional sales page above the cart. It is always saved as a DRAFT: nobody can buy until the seller previews it and presses Publish in the dashboard. Before calling, make sure you have the name, price, currency, one-time or subscription, and where buyers get it (a https:// link, or manual delivery). Ask the seller for anything missing; never invent a delivery link or a price. Returns the dashboard link to preview and publish.
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": {
"name": "<name>",
"price": "<price>"
},
"name": "setup_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bump | No | Optional order bump: a small add-on ticked in the cart. | |
| name | Yes | Product name buyers see, e.g. "Launch Playbook". | |
| slug | No | Optional short link, e.g. launch-playbook. Omit to derive it from the name. | |
| perks | No | Up to 12 short "what you get" lines shown in the cart. | |
| price | Yes | Price in major units (97 = $97.00). For a subscription, the price per interval. 0 makes a free one-time checkout (a lead magnet): buyers give their name and email, and a paid bump or upsell still charges. | |
| intake | No | Questions buyers answer in the checkout before they pay, like a booking form: up to 5, in order. Use it when the seller wants to know something before a call or a done-for-you job (their website, their goals). Types: short (one line, up to 300 characters), long (a paragraph, up to 2000), url (a web address; "linkedin.com/in/x" is accepted and saved with https://), checkboxes (pick any of the options) and choice (pick one). required: true stops the buyer paying until it's answered. On update_checkout this replaces every question; pass the ids from get_product to keep a question's answers lined up, and null or [] removes them all. It doesn't touch money, so it applies straight away even on a live checkout. Answers show in the seller's dashboard, sale alert and list_orders. | |
| upsell | No | Optional one-click upsell offered after payment. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| booking | No | Sell a call with its time: buyers pick a slot in the checkout and pay for it. One-time prices and payment plans, Stripe or PayPal only (not Lemon Squeezy). A subscription can only sell a coaching package (see package). timezone is required: ask the seller for theirs (an IANA name like Europe/London); their hours are in it. hours maps a weekday (mon to sun) to ranges of ["09:00", "17:00"]; leave a day out for closed. Anything else you leave out gets a default (60-minute calls every 30 minutes, no buffer, 12 hours' notice, 30 days ahead, weekdays 9 to 5). On update_checkout this replaces the rules, and null turns booking off. It doesn't touch money, so it applies straight away even on a live checkout. Only offered to sellers who have calendar booking. | |
| ctaLabel | No | Buy button text. Omit for the default. | |
| currency | No | Three-letter code, e.g. usd, gbp, eur. Default usd. | |
| deliveryUrl | No | https:// link where buyers get the product (course, download, community). | |
| description | No | Sales copy shown beside the cart. Plain text; blank lines make paragraphs and lines starting with "- " make bullets. | |
| pricingType | No | Default onetime. | |
| deliveryNote | No | What buyers are told happens next, e.g. "We'll email you to book within 24h". | |
| paymentPlans | No | Ways to pay in instalments, offered beside paying in full. One-time prices only, and card payments (Stripe) only. The first payment is taken at checkout, the rest every week or every month from that day. Ask the seller for the number of payments, the amount of each and how often; never invent them. On update_checkout this replaces the list, and [] removes every plan. | |
| guaranteeBody | No | One or two sentences explaining the guarantee. | |
| salesPageHtml | No | Optional HTML for a sales page above the cart. Call get_sales_page_guide first and follow it. | |
| guaranteeTitle | No | e.g. "30-day money-back guarantee". | |
| manualDelivery | No | True when the seller delivers it themselves (a call, a service) instead of a link. | |
| billingInterval | No | Subscriptions only. Default month. |