Empezar ahora
Cloudcart Tools

Cloudcart Create Discount

Usa Cloudcart Create Discount con Cloudcart 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

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.

Precios y límites

Precio
Action gratuita
Pago unificado
No compatible actualmente

Entradas

  • codestring
    Optional discount code that customers can use to apply the discount.
  • namestring
    Obligatorio
    Name of the discount for identification purposes.
  • activestring
    Discount active status. Use 'yes' to activate or 'no' to keep inactive.
  • targetobject
    Obligatorio
    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
    Obligatorio
    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
    Obligatorio
    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
    Obligatorio
    Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.

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