Loyverse Tools
Loyverse Create Or Update Variant
Utilisez Loyverse Create Or Update Variant avec Loyverse Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.
Action d'écritureNiveau de risque 2 sur 5Connexion par clé API
Description du fournisseur
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…
Tarifs et limites
- Tarif
- Action gratuite
- Paiement unifié
- Non pris en charge actuellement
Entrées
- 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_idstringObligatoire
- 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
Sortie observable
- Data from the action executiondataObligatoire
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatoire
Skills qui utilisent cette Action
Cas d’usage associés
Aucun cas d’usage associé et vérifié pour le moment.