Commencer maintenant
Quaderno Tools

Quaderno Create Coupon

Utilisez Quaderno Create Coupon avec Quaderno Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

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.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • codestring
    Obligatoire
    Unique coupon code that customers will use at checkout. Must be unique across all coupons.
  • namestring
    Display name of the coupon shown to customers on invoices. If not provided, the code will be displayed.
  • currencystring
    Three-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_bystring
    Date after which the coupon cannot be redeemed (format: YYYY-MM-DD). If not set, coupon never expires.
  • amount_offnumber
    Fixed amount to discount from the subtotal in the currency specified. Required if percent_off is not provided. Must be positive.
  • percent_offnumber
    Percentage 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_redemptionsinteger
    Maximum number of times this coupon can be redeemed across all customers before it expires. If not set, coupon has unlimited redemptions.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur