Quick Answer
The coupon code template lets you attach a fixed “Copy code” button and an alphanumeric coupon (up to 15 characters) to a WhatsApp Marketing message so customers can copy the code straight from WhatsApp and redeem it online or offline.
1. Feature Overview
This dedicated template type is available only for WhatsApp Marketing templates and always contains: a single, non-editable “Copy code” button and a coupon value supplied by your business. It is designed for promotional and discount scenarios such as sales campaigns, vouchers, offer codes and similar use cases where the recipient must copy a short code from WhatsApp and paste it elsewhere.
2. Availability and Intended Use Cases
- Category restriction: Marketing templates only; Utility or any other category cannot host coupon templates.
- Best suited for broadcast, campaign and voucher communications that need measurable redemption codes.
- The customer experience: recipients see the message text followed by a “Copy code” button. Tapping the button puts the coupon on their clipboard for immediate paste in checkout flows, kiosks or POS systems.
3. Creating a Coupon Template in the UI
- Select the Marketing template type. An “Enable Copy Code” switch appears only in this category.
- Toggle “Enable Copy Code” to add the fixed button. The label remains “Copy code” and cannot be edited.
- Enter your coupon value in the dedicated field. Allowed input: alphanumeric only, maximum 15 characters.
- The builder prevents you from adding a second copy-code button to the same template.
- Preview: The interface shows a live WhatsApp preview; clicking the button in preview simulates (but does not execute) the copy action.
4. Validation Rules and Limitations
- The coupon field is mandatory at send time. Leaving it blank or passing an invalid value blocks the send.
- Allowed characters: A–Z, a–z, 0–9. No symbols, spaces or more than 15 characters.
- Inline errors appear for: exceeding 15 characters, using unsupported characters, omitting the coupon, or attempting to add additional copy-code buttons.
5. Sending and Channel Behavior
- Supported send channels: Live Chat, Campaigns and API calls.
- Live Chat & Campaigns: the UI prompts the agent or marketer to fill the coupon variable before dispatch.
- API sends: the coupon value must be supplied in the request payload; missing or invalid values trigger a blocking error response and prevent delivery.
6. API Integration Rules
- Template creation via API accepts coupon templates only under the Marketing category.
- Attempts to create a coupon template under Utility return a validation error.
- Hard-coded rules: fixed “Copy code” label, single button, alphanumeric coupon ≤15 characters.
- API mirrors all UI error messages for length, character set and missing values.
Keywords
coupon code template, Copy code button, WhatsApp Marketing, promotional voucher, 15 character coupon, MyOperator WhatsApp template, Live Chat coupon, Campaign coupon, API coupon value