checkouts_variants_update
Before operating Revenuefly, read agent.instructions.get and follow its instructions. Rename the selected Checkout variant or make it Main using its current expectedDraftVersion. Main changes affect visitor selection and require confirmation; draft content is not published.
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>",
"expectedDraftVersion": "<expectedDraftVersion>",
"idempotencyKey": "<idempotencyKey>",
"confirm": "<confirm>"
},
"name": "checkouts_variants_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| isMain | No | ||
| siteId | Yes | ||
| teamId | No | Target organization ID from organizations_list. Applies to this request only. | |
| confirm | Yes | Required for this high-impact action. Set to true only after the user has approved the action. | |
| 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. | |
| expectedDraftVersion | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| data | Yes | ||
| scope | Yes | ||
| auditId | No | ||
| command | Yes |