Empezar ahora
Loyverse Tools

Loyverse Create Or Update Discount

Usa Loyverse Create Or Update Discount 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

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

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • namestring
    Obligatorio
    The discount name.
  • typestring
    Obligatorio
    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).

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