Loyverse Tools
Loyverse Create Or Update Discount
Utilisez Loyverse Create Or Update Discount 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
Creates a single discount with a FIXED_PERCENT, FIXED_AMOUNT, or VARIABLE type.
Tarifs et limites
- Tarif
- Action gratuite
- Paiement unifié
- Non pris en charge actuellement
Entrées
- The discount name.namestringObligatoire
- Discount type. FIXED_PERCENT for percentage-based discounts, FIXED_AMOUNT for fixed amount discounts, or VARIABLE for variable discounts.typestringObligatoire
- 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
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.