Actions109
- Account Actions
- Appointment Actions
- Automation Actions
- Broadcast Actions
- Channel Actions
- Class Participant Actions
- Class Session Actions
- Contact Actions
- Conversation Actions
- Coupon Actions
- Invoice Actions
- Media Actions
- Message Actions
- Order Actions
- Payment Actions
- Plan Actions
- Product Actions
- Segment Actions
- Service Actions
- Service Category Actions
- Staff Actions
- Subscription Actions
- Tag Actions
- Time Off Actions
Coupon → Create
AI-generatedSummary
Create a DMLY coupon with a code, discount type, and value, optionally setting its status, currency, validity dates, minimum subtotal, and usage limits.
Inputs
- Code (required) — Coupon code, up to 60 characters; uppercased and must be unique within the workspace.
- Type (required) — Discount type: percent or fixed.
- Value (required) — Discount amount; minimum 0, capped at 100 for percent discounts and 100,000,000 for fixed discounts.
- Additional Fields — Optional settings: Active (defaults to true), Currency, Expires At, Min Subtotal, Per Contact Limit, Starts At, and Usage Limit. Currency is an ISO code of up to 3 characters and is uppercased server-side. Limits and validity constraints are indicated in the field descriptions.
Output shape
A single coupon record returned by DMLY.
The provided source pack shows only function signatures for the coupon handler, so response details and how optional fields are mapped cannot be confirmed from the source.