Skip to main content

Adding Promo Codes

Zuora

Adding Promo Codes

Perform the steps mentioned in this section to add a new promo code.

  1. From the Zephr Home page, navigate to Products > Promo Codes.
  2. Click Add a Promo Code
  3. Enter the following details:
    Field Your Action
    Title Enter a name for the coupon.
    Description (Optional) Enter a description.
    Promo Code Type

    Select the type of promotion code from the following options:

    • Multi-use - Choose this option for a standard code that can be utilized multiple times. When selected, you can specify:
      • Code: Enter the promotional code, such as BlackFriday15.
      • Usage Limit: Set the maximum number of times the promotion code can be redeemed. You can enter a maximum value of 10000 in this field.
         
    • Unique - Opt for this option to assign a unique promotion code to each user. Upon entering the promo code and its prefix, the application will generate random codes for individual users. When selected, you can specify:
      • Code Prefix: Enter the desired prefix for the code. The application will generate unique codes based on this prefix, incorporating numbers, special characters, and alphabets.
      • Number of Unique Codes: Define the maximum number of codes available for user redemption.
    Add Validity Check the box to set the duration within which the code should be redeemed. Select the start and end dates to specify the duration.
    Discount Rules Builder Use the rules builder to determine the rules of how the promotion code will work. You can build rules for each promotion within the rules canvas by connecting decision points and outcomes.
  4. In the Discount Outputs section, click Add a New Discount Output to create a new discount type, amount, and frequency.
  5. Enter the following details:
    Field Your Action
    Title Enter a name for the coupon.
    Description (Optional) Enter a description.
    Discounts Click Add A Discount to configure a fixed discount, percentage discount, or price override for the promotion. You can also set the start and end dates for the promotion.

    Conditions (Optional)

    Specify the products to which the discount should apply and set price and charge filters for the discount code.

    • Products - Specify the products to which the discount should be applied. 
    • Pricing Filter - Choose the price book value from the drop-down list. You can also specify the environment where this filter should apply, such as Live or Staging.
          clipboard_e920e55b03c31a80a97213cec225173ba.png
         The values in the Pricing Attribute Field will be displayed based on the selected payment provider, such as Zuora Billing.
    • Charge Filter - Select the charge attribute value from the drop-down list. You can also configure the environment where this filter should apply, such as Live or Staging.

         
         The values in the Charge Attribute Field will be displayed based on the selected payment provider, such as Zuora Billing.

  6. In the Developer Interface section, click the icon to unlock the developer interface. The following warning message is displayed:
  7. Click Unlock. The Custom Inputs section is displayed.
  8. Click Add Input to include custom input as necessary. Specify the title, key, and type of the custom input. The available input types include String, Number, and Boolean. Subsequently, you can establish rules that contain various branches based on evaluating these input values.

    If you are unfamiliar with the concept of Input in Zephr, see Developer Interface for SDK Features for more information.
  9. Click Save to save the details.
  10. After configuring all the details, click Save Draft to save in draft format. Alternatively, click the upward arrow within the Save Draft button to reveal the Save & Activate option to activate the promo code immediately.