Cloudcart Tools
Cloudcart Create Discount
通过 Aident Loadout 使用 Cloudcart Tools 的 Cloudcart Create Discount。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5API 密钥连接
服务提供商说明
Create a new CloudCart discount for promotions, sales, or special offers. Supports fixed, percent, flat, and shipping discount types, with targeting options including all products, specific products, categories, and vendors.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Optional discount code that customers can use to apply the discount.codestring
- Name of the discount for identification purposes.namestring必填
- Discount active status. Use 'yes' to activate or 'no' to keep inactive.activestring
- Target configuration specifying what the discount applies to.targetobject必填
- End date of the discount in YYYY-MM-DD format. If not provided, discount has no end date.date_endstring
- Maximum number of times this discount can be used in total.max_usesinteger
- Start date of the discount in YYYY-MM-DD format.date_startstring必填
- Minimum order amount required for the discount to apply (in smallest currency unit).order_overinteger
- Value of the discount. For 'percent' type, use basis points (e.g., 1000 = 10%). For 'fixed' type, use the amount in smallest currency unit (e.g., cents).type_valueinteger必填
- Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.discount_typestring必填
可观察输出
- 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必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。