今すぐ始める
Loyverse Tools

Loyverse Create Or Update Variant

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

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

プロバイダーの説明

Tool to create or update a single item variant in Loyverse. Use when you need to add product variations (like size, color) or modify existing variant details. If variant_id is provided, it updates the existing variant; otherwise, it creates a new one. Note: The parent item must…

料金と制限

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

入力

  • skustring
    Stock Keeping Unit identifier for the variant. Used for inventory tracking.
  • costnumber
    Cost price of the variant for profit margin calculations.
  • storesarray
    Array of store-specific settings including pricing, availability, and stock levels for each store where this variant is sold.
  • barcodestring
    Barcode for the variant, used for scanning at point of sale.
  • item_idstring
    必須
    The ID of the item this variant belongs to. The item must have option names defined (option1_name, option2_name, or option3_name) before variants can be created.
  • variant_idstring
    The ID of the variant to update. If provided, updates existing variant instead of creating new one. Also referred to as 'id' in some API responses.
  • default_pricenumber
    Default selling price for the variant. Used unless overridden by store-specific pricing.
  • option1_valuestring
    Value for the first option (e.g., 'Small', 'Medium', 'Large'). Required if the parent item has option1_name defined.
  • option2_valuestring
    Value for the second option (e.g., 'Red', 'Blue'). Required if the parent item has option2_name defined.
  • option3_valuestring
    Value for the third option. Required if the parent item has option3_name defined.
  • purchase_costnumber
    Purchase cost of the variant from suppliers.
  • default_pricing_typestring
    Pricing type for a variant.

確認できる出力

  • 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

関連ユースケース

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

公式ソース

プロバイダーのソース