立即开始
Quaderno Tools

Quaderno Create Coupon

通过 Aident Loadout 使用 Quaderno Tools 的 Quaderno Create Coupon。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

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.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • codestring
    必填
    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.

可观察输出

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

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源