Loyverse Tools
Loyverse Create Or Update Variant
通过 Aident Loadout 使用 Loyverse Tools 的 Loyverse Create Or Update Variant。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 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…
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- Stock Keeping Unit identifier for the variant. Used for inventory tracking.skustring
- Cost price of the variant for profit margin calculations.costnumber
- Array of store-specific settings including pricing, availability, and stock levels for each store where this variant is sold.storesarray
- Barcode for the variant, used for scanning at point of sale.barcodestring
- 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.item_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.variant_idstring
- Default selling price for the variant. Used unless overridden by store-specific pricing.default_pricenumber
- Value for the first option (e.g., 'Small', 'Medium', 'Large'). Required if the parent item has option1_name defined.option1_valuestring
- Value for the second option (e.g., 'Red', 'Blue'). Required if the parent item has option2_name defined.option2_valuestring
- Value for the third option. Required if the parent item has option3_name defined.option3_valuestring
- Purchase cost of the variant from suppliers.purchase_costnumber
- Pricing type for a variant.default_pricing_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必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。