Empezar ahora
Loyverse Tools

Loyverse Create Or Update Variant

Usa Loyverse Create Or Update Variant con Loyverse Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.

Action de escrituraNivel de riesgo 2 de 5Conexión con clave de API

Descripción del proveedor

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…

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • 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
    Obligatorio
    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.

Salida observable

  • data
    Obligatorio
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatorio
    Whether or not the action execution was successful or not

Skills que usan esta Action

Casos de uso relacionados

Aún no hay casos de uso relacionados verificados.

Fuente oficial

Fuente del proveedor