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
- The discount name.namestringObligatorio
- Discount type. FIXED_PERCENT for percentage-based discounts, FIXED_AMOUNT for fixed amount discounts, or VARIABLE for variable discounts.typestringObligatorio
- Array of store IDs where discount is applicable. If not provided, discount applies to all stores.storesarray
- Fixed discount amount (required for FIXED_AMOUNT type). Value should be a positive number.discount_amountnumber
- Discount percentage (required for FIXED_PERCENT type). Value should be between 0 and 100.discount_percentnumber
- Whether discount has restricted access (requires password verification to apply).restricted_accessboolean
Salida observable
- Data from the action executiondataObligatorio
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatorio
Skills que usan esta Action
Casos de uso relacionados
Aún no hay casos de uso relacionados verificados.