今すぐ始める
Cloudcart Tools

Cloudcart Create Discount

Aident Loadout を通じて Cloudcart Tools の Cloudcart Create Discount を使用します。実行前に入力、出力、設定、料金、リスクを確認できます。

書き込み Actionリスクレベル 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.

料金と制限

料金
無料 Action
統合支払い
現在未対応

入力

  • codestring
    Optional discount code that customers can use to apply the discount.
  • namestring
    必須
    Name of the discount for identification purposes.
  • activestring
    Discount active status. Use 'yes' to activate or 'no' to keep inactive.
  • targetobject
    必須
    Target configuration specifying what the discount applies to.
  • date_endstring
    End date of the discount in YYYY-MM-DD format. If not provided, discount has no end date.
  • max_usesinteger
    Maximum number of times this discount can be used in total.
  • date_startstring
    必須
    Start date of the discount in YYYY-MM-DD format.
  • order_overinteger
    Minimum order amount required for the discount to apply (in smallest currency unit).
  • type_valueinteger
    必須
    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).
  • discount_typestring
    必須
    Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.

確認できる出力

  • 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

この Action を使用する Skills

関連ユースケース

検証済みの関連ユースケースはまだリンクされていません。

公式ソース

プロバイダーのソース