立即开始
Etermin Tools

Etermin Create Voucher

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

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

服务提供商说明

Creates a new discount voucher in eTermin. Use this to set up promotional codes that customers can apply during booking. Supports both percentage and fixed amount discounts.

价格与限制

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

输入

  • codestring
    必填
    Unique voucher code that customers will use. Must be unique within your eTermin account.
  • typestring
    必填
    Discount type: 'percent' applies a percentage discount, 'absolute' applies a fixed currency amount discount.
  • discountnumber
    必填
    Discount value. For 'percent' type, this is a percentage (e.g., 20 means 20% off). For 'absolute' type, this is a fixed amount in your currency (e.g., 50 means 50 currency units off).
  • valid_tostring
    必填
    End date until which the voucher is valid. Format: YYYY-MM-DD. Must be on or after valid_from.
  • valid_fromstring
    必填
    Start date from which the voucher becomes valid. Format: YYYY-MM-DD.

可观察输出

  • 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

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源