Coupon Campaigns
Configure offers, claims or customer reward records.
Before you start
Use the account and workspace that own the records. This page does not include administrator configuration forms.
Open /portal/coupon-campaigns on your application domain, or use the matching item in the application menu.
Steps
Create coupon campaign
- Open /portal/coupon-campaigns on your own application domain.
- Complete these fields in that form: Business, Coupon name, Discount type, Discount value, Coupon code prefix, Usage limit, Terms, Status. Their choices and limits are listed below.
- Select Create coupon campaign. The exact label can change between creating and editing a record.
- If validation fails, correct the named field and submit again. After success, reopen the same record and compare the saved values.
| Field shown in the form | What to enter | Example / note |
|---|---|---|
| Business | Required. Choose Select business. Enter a whole number. | Use the value appropriate to your test account; no preset is supplied. |
| Coupon name | Required. No more than 255 characters. | Test record (use a unique value where required). |
| Discount type | Required. Choose Percentage, Fixed amount, Free item, Custom offer. | Choose a displayed option; the available labels are listed above. |
| Discount value | Required. No more than 80 characters. | Use the value required by the task; no example is assumed. |
| Coupon code prefix | Optional, unless this form asks for it. No more than 24 characters. | Use the value required by the task; no example is assumed. |
| Usage limit | Optional, unless this form asks for it. Enter a whole number. At least 1. No more than 100000. | Use the value required by the task; no example is assumed. |
| Terms | Optional, unless this form asks for it. No more than 1000 characters. | Use the value required by the task; no example is assumed. |
| Status | Required. Choose Active, Draft. | Choose a displayed option; the available labels are listed above. |
Fields shown in the interface
Only fields traced to this role’s handler and its own view are listed. The application can show separate create/edit forms; do not fill every row on one screen.
Form 1 — fields shown in the interface
| Field | What to enter or choose |
|---|---|
| Business | Required. Choose Select business. Enter a whole number. |
| Coupon name | Required. No more than 255 characters. |
| Discount type | Required. Choose Percentage, Fixed amount, Free item, Custom offer. |
| Discount value | Required. No more than 80 characters. |
| Coupon code prefix | Optional, unless this form asks for it. No more than 24 characters. |
| Usage limit | Optional, unless this form asks for it. Enter a whole number. At least 1. No more than 100000. |
| Terms | Optional, unless this form asks for it. No more than 1000 characters. |
| Status | Required. Choose Active, Draft. |
Check the result
After a source-checked procedure, verify the same record in the same workspace. Check saved values, visible state and access with the intended test account. An external payment/message/provider action needs its own result check.
Problems and validation
| Problem | Next step |
|---|---|
| A field rejects the value | Check its named error, the form’s visible choices and the relevant limit. Do not substitute internal numeric codes for the displayed options. |
| The control is missing | Check role, plan, enabled app and current record state. Do not grant administrator access merely to complete a User task. |
| The saved result is unexpected | Reopen the same record and verify its owner/workspace before repeating the action. |
Technical reference
Role-scoped source references
Pinned commit: 5af0236c6d99c50079f5ab8b8fb035506634bd8d
Source-only route information
| Method | Source-default route |
|---|---|
| LIVEWIRE | /portal/coupon-campaigns |
Unmapped fields — not user instructions
These fields belong to this role’s source handler, but their screen labels were not confirmed.
| Source key | Handler |
|---|---|
| expiry_date | modules/AppCouponCampaigns/Livewire/CouponCampaignIndex.php |