今すぐ始める
Givebutter Tools

Givebutter Create Discount Code

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

書き込み Actionリスクレベル 2/5API キー接続

プロバイダーの説明

Tool to create a discount code for a campaign. Use when you need to provide promotional pricing or discounts for campaign items.

料金と制限

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

入力

  • codestring
    必須
    The discount code string that users will enter. Must be unique within the campaign and no more than 255 characters.
  • typestring
    必須
    Type of discount: 'percentage' for a percentage-based discount (e.g., 10% off), or 'fixed' for a fixed amount discount (e.g., $10 off).
  • usesinteger
    Maximum number of times the discount code can be used. If not provided, there is no usage limit.
  • itemsarray
    List of item IDs that the discount code applies to. If not provided, the code applies to all items in the campaign.
  • activeboolean
    必須
    Whether the discount code is active and can be used immediately.
  • amountnumber
    必須
    Discount amount. For 'percentage' type, this is the percentage (e.g., 10 for 10% off). For 'fixed' type, this is the amount in cents (e.g., 1000 for $10.00 off).
  • campaigninteger
    必須
    The campaign ID to create the discount code for.
  • starts_atstring
    UTC datetime string when the discount code becomes active (ISO-8601 format). If not provided, the code is active immediately.
  • expires_atstring
    UTC datetime string when the discount code expires (ISO-8601 format). If not provided, the code will not expire.

確認できる出力

  • 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

関連ユースケース

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

公式ソース

プロバイダーのソース