How to write a sales page
get_sales_page_guideThe rules and design brief for the HTML sales page that sits above a Swipefast checkout. Call this before writing salesPageHtml or calling set_sales_page, and follow it: it keeps the page on-brand, phone-friendly and from breaking the payment section. Pass product to fill the brief with that checkout's details, and style for a look (modern, classy, jacob, bold, minimal, playful): offer the seller the styles first if they haven't picked one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sales_page_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Optional: the page's look. Each result lists them. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| product | No | Optional: a checkout's id or slug to build the brief from. |