Tool to create a new discount coupon in Quaderno. Use when you need to create either a percentage-based or fixed-amount discount coupon. Either percent_off or amount_off must be provided (but not both). For amount_off coupons, currency is required.
codeRequiredstringUnique coupon code that customers will use at checkout. Must be unique across all coupons.
namestringDisplay name of the coupon shown to customers on invoices. If not provided, the code will be displayed.
currencystringThree-letter ISO currency code (uppercase) for the amount_off discount. Required if amount_off is provided. Must be a supported currency in your payment processors.
redeem_bystringDate after which the coupon cannot be redeemed (format: YYYY-MM-DD). If not set, coupon never expires.
amount_offnumberFixed amount to discount from the subtotal in the currency specified. Required if percent_off is not provided. Must be positive.
percent_offnumberPercentage discount to apply to the subtotal (e.g., 25.5 for 25.5% off). Required if amount_off is not provided. Must be between 0 and 100.
max_redemptionsintegerMaximum number of times this coupon can be redeemed across all customers before it expires. If not set, coupon has unlimited redemptions.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.