Update loyalty card
update_loyalty_cardSet up or change the business's loyalty stamp card: how many stamps earn the reward, the reward text, whether the card is live, and its look. Only provided fields change; the first call must include stamps_required and reward_text. Requires the Pro plan (402 plan_required otherwise — offer create_checkout_link).
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": {
"business_id": "<business_id>"
},
"name": "update_loyalty_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_active | No | Whether diners can join and collect stamps | |
| business_id | Yes | ||
| card_config | No | The card's look — colors{cardBg,cardFg,stampFilled,stampEmpty}, stampIcon, headline, subline. Replaces the whole style; null resets it to match the site theme. | |
| reward_text | No | What the guest gets, e.g. "A free coffee" | |
| stamps_required | No | Stamps needed for one reward (2-30) |