Actions65
- Order Actions
- Product Actions
- Store Shipping Account Actions
- Delivery Companies API Actions
- Team User Actions
- Store Actions
- State Actions
- Stop Desk Actions
- City Or Municipality Actions
- Store Client Actions
- Store Coupon Actions
- Store Pro Stock Actions
Store Coupon → Create
AI-generatedSummary
Create a new store coupon on the Dukan platform with specified parameters including coupon code, promotion type, discount value, expiration settings, and usage limits.
Inputs
- Force Custom Auth Header — Optionally override the node's default API key with a custom one for authentication.
- Force Custom Base URL — Optionally override the node's default API base URL with a custom one.
- Custom Base URL — Specify a custom base URL for the API if Force Custom Base URL is enabled.
- Custom API Key — Specify a custom API key for authentication if Force Custom Auth Header is enabled.
- Use JSON — Choose whether to define the coupon details as a raw JSON object or via separate fields.
- JSON — Provide the coupon data as a JSON object with fields: couponCode (string, max 8 characters), promoType ('percentage' or 'fixed-price'), value (number), allowExpiration (boolean), couponExipreAt (ISO 8601 date string), allowLimits (boolean), limit (number). Used if Use JSON is true.
- Coupon Code (required) — The code for the discount coupon, max 8 characters. Used if Use JSON is false.
- Promo Type (required) — Type of promotion for the coupon; either 'percentage' or 'fixed-price'. Used if Use JSON is false.
- Value (required) — Discount value, either as a percentage or fixed amount, depending on Promo Type. Used if Use JSON is false.
- Allow Expiration (required) — Flag indicating whether the coupon has an expiration date. Used if Use JSON is false.
- Coupon Expire At (required) — Expiration date/time in ISO 8601 format, required if Allow Expiration is true. Used if Use JSON is false.
- Allow Limits (required) — Flag indicating whether the coupon has a usage limit. Used if Use JSON is false.
- Limit (required) — Maximum number of times the coupon can be used if Allow Limits is true. Used if Use JSON is false.
Output shape
a single record representing the created store coupon with its details as returned by the Dukan API
The output reflects the API's response to the create coupon request. Authentication and base URL can be overridden per request with the relevant parameters. The coupon data can be specified either via individual fields or a JSON payload, controlled by the Use JSON flag.