Givebutter Tools
Givebutter Create Discount Code
Usa Givebutter Create Discount Code con Givebutter 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
Tool to create a discount code for a campaign. Use when you need to provide promotional pricing or discounts for campaign items.
Precios y límites
- Precio
- Action gratuita
- Pago unificado
- No compatible actualmente
Entradas
- The discount code string that users will enter. Must be unique within the campaign and no more than 255 characters.codestringObligatorio
- Type of discount: 'percentage' for a percentage-based discount (e.g., 10% off), or 'fixed' for a fixed amount discount (e.g., $10 off).typestringObligatorio
- Maximum number of times the discount code can be used. If not provided, there is no usage limit.usesinteger
- List of item IDs that the discount code applies to. If not provided, the code applies to all items in the campaign.itemsarray
- Whether the discount code is active and can be used immediately.activebooleanObligatorio
- Discount amount. For 'percentage' type, this is the percentage (e.g., 10 for 10% off). For 'fixed' type, this is the amount in cents (e.g., 1000 for $10.00 off).amountnumberObligatorio
- The campaign ID to create the discount code for.campaignintegerObligatorio
- UTC datetime string when the discount code becomes active (ISO-8601 format). If not provided, the code is active immediately.starts_atstring
- UTC datetime string when the discount code expires (ISO-8601 format). If not provided, the code will not expire.expires_atstring
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.