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
- Optional discount code that customers can use to apply the discount.codestring
- Name of the discount for identification purposes.namestringObligatorio
- Discount active status. Use 'yes' to activate or 'no' to keep inactive.activestring
- Target configuration specifying what the discount applies to.targetobjectObligatorio
- 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_startstringObligatorio
- 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_valueintegerObligatorio
- Type of discount to apply. 'fixed' for fixed amount, 'percent' for percentage, 'flat' for flat discount, 'shipping' for shipping discount.discount_typestringObligatorio
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.