Commencer maintenant
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

  • codestring
    Optional discount code that customers can use to apply the discount.
  • namestring
    Obligatoire
    Name of the discount for identification purposes.
  • activestring
    Discount active status. Use 'yes' to activate or 'no' to keep inactive.
  • targetobject
    Obligatoire
    Target configuration specifying what the discount applies to.
  • date_endstring
    End date of the discount in YYYY-MM-DD format. If not provided, discount has no end date.
  • max_usesinteger
    Maximum number of times this discount can be used in total.
  • date_startstring
    Obligatoire
    Start date of the discount in YYYY-MM-DD format.
  • order_overinteger
    Minimum order amount required for the discount to apply (in smallest currency unit).
  • type_valueinteger
    Obligatoire
    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).
  • discount_typestring
    Obligatoire
    Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.

Sortie observable

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

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur