今すぐ始める
Loyverse Tools

Loyverse Create Or Update Discount

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

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

プロバイダーの説明

Creates a single discount with a FIXED_PERCENT, FIXED_AMOUNT, or VARIABLE type.

料金と制限

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

入力

  • namestring
    必須
    The discount name.
  • typestring
    必須
    Discount type. FIXED_PERCENT for percentage-based discounts, FIXED_AMOUNT for fixed amount discounts, or VARIABLE for variable discounts.
  • storesarray
    Array of store IDs where discount is applicable. If not provided, discount applies to all stores.
  • discount_amountnumber
    Fixed discount amount (required for FIXED_AMOUNT type). Value should be a positive number.
  • discount_percentnumber
    Discount percentage (required for FIXED_PERCENT type). Value should be between 0 and 100.
  • restricted_accessboolean
    Whether discount has restricted access (requires password verification to apply).

確認できる出力

  • 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

関連ユースケース

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

公式ソース

プロバイダーのソース