checkouts_templates_save
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Save the selected current Checkout draft as a reusable variant template through the editor service. Returns its real template ID. Distinct from content_templates Checkout appearance; does not publish or create a payment.
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": {
"siteId": "<siteId>",
"checkoutId": "<checkoutId>",
"variantId": "<variantId>",
"name": "<name>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "checkouts_templates_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| variantId | Yes | Use a variant ID returned by this exact checkoutId. A copied Checkout has different variant IDs from its source; read its current variants instead of reusing an ID. | |
| checkoutId | Yes | ||
| idempotencyKey | Yes | Required unique request key for safe retries, for example client-action-2026-07-20-001. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |