Loyverse Tools
Loyverse Create Or Update Discount
通过 Aident Loadout 使用 Loyverse Tools 的 Loyverse Create Or Update Discount。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
Creates a single discount with a FIXED_PERCENT, FIXED_AMOUNT, or VARIABLE type.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- The discount name.namestring必填
- Discount type. FIXED_PERCENT for percentage-based discounts, FIXED_AMOUNT for fixed amount discounts, or VARIABLE for variable discounts.typestring必填
- Array of store IDs where discount is applicable. If not provided, discount applies to all stores.storesarray
- Fixed discount amount (required for FIXED_AMOUNT type). Value should be a positive number.discount_amountnumber
- Discount percentage (required for FIXED_PERCENT type). Value should be between 0 and 100.discount_percentnumber
- Whether discount has restricted access (requires password verification to apply).restricted_accessboolean
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。