立即开始
Luma

Create Coupon

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

写入操作风险等级 3/5OAuth 连接

服务提供商说明

Create a coupon code that guests enter when registering. Pass `event_id` for one event, or `calendar_id` for a code that works on every event on the calendar; an event's own coupon with the same code takes priority. The discount is a percent, or a fixed amount in the currency's…

价格与限制

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

输入

  • codestring
    必填
    This is the code that the user will enter on the event page. It is not case sensitive. Maximum 20 characters.
  • discount
    必填
  • event_idstring
    The event the coupon belongs to. Pass this or `calendar_id`.
  • calendar_idstring
    The calendar the coupon belongs to. Its coupons work on every event on the calendar. Pass this or `event_id`.
  • valid_end_at
  • ticket_type_idstring
    Limit the coupon to one ticket type on the event. Only with `event_id`.
  • valid_start_at
  • remaining_countinteger
    Number of times the coupon can be used. Set to 1000000 for unlimited uses.

可观察输出

暂无经过审核的结构化输出摘要。

使用此操作的技能

相关使用场景

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

官方来源

服务提供商来源