Cloudcart Tools
Cloudcart Create Discount
Utilisez Cloudcart Create Discount avec Cloudcart 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
Create a new CloudCart discount for promotions, sales, or special offers. Supports fixed, percent, flat, and shipping discount types, with targeting options including all products, specific products, categories, and vendors.
Tarifs et limites
- Tarif
- Action gratuite
- Paiement unifié
- Non pris en charge actuellement
Entrées
- Optional discount code that customers can use to apply the discount.codestring
- Name of the discount for identification purposes.namestringObligatoire
- Discount active status. Use 'yes' to activate or 'no' to keep inactive.activestring
- Target configuration specifying what the discount applies to.targetobjectObligatoire
- End date of the discount in YYYY-MM-DD format. If not provided, discount has no end date.date_endstring
- Maximum number of times this discount can be used in total.max_usesinteger
- Start date of the discount in YYYY-MM-DD format.date_startstringObligatoire
- Minimum order amount required for the discount to apply (in smallest currency unit).order_overinteger
- Value of the discount. For 'percent' type, use basis points (e.g., 1000 = 10%). For 'fixed' type, use the amount in smallest currency unit (e.g., cents).type_valueintegerObligatoire
- Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.discount_typestringObligatoire
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.