firestarter_update_voucher
Pause, resume, or update an existing voucher's expiry and usage limits while preserving its history. Adjust caps without changing the code or discount value.
Instructions
Pause, resume, extend, or adjust the limits on an existing voucher. Pausing (active=false) stops it being redeemed without deleting it, so its history is kept. The code and the discount VALUE cannot be changed — buyers may already hold the code, and repricing an offer someone was given is a different voucher, so pause this one and create another instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | false pauses it, true resumes it. | |
| max_uses | No | New total redemption cap. | |
| expires_at | No | New expiry. Natural language ('next Friday') or ISO. | |
| voucher_id | Yes | The voucher id (promo_...) from firestarter_vouchers. | |
| discoverable | No | Whether buyer agents may surface and auto-apply it. | |
| min_order_cents | No | New minimum order subtotal in cents. | |
| per_buyer_limit | No | New per-buyer cap. |