QR code for a checkout
checkout_qr_codeA QR code for one checkout's buyer link, for a flyer, a slide or a table at an event. Pass a tag (e.g. qr, event, workshop) to add ?ref= to the link, so sales from the code show that tag in the seller's Sales and Reports. Returns the link and the code as an SVG file's text, with a quiet zone so it scans. A PNG is one click away on the checkout's page in Swipefast (editUrl). Pro only: on Starter it returns an upgrade message.
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": {
"product": "<product>"
},
"name": "checkout_qr_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Optional link tag: lower case letters, numbers and dashes, e.g. qr or event. Omit for the plain link. | |
| account | No | Only to work in a client's account: its id from list_accounts. Leave it out for your own account. | |
| product | Yes | The checkout's id or slug. |