For the complete documentation index, see llms.txt. This page is also available as Markdown.

Discount Coupon

The Discount Coupon is designed to facilitate the creation and management of two primary types of coupon templates: Static and Dynamic.

Coupon Templates Overview:

  • Single Code Use: Static coupons are characterized by a single, unchanging coupon code for every customer.

Types:

  1. AUTO_ACCEPT: Allows clients to generate coupons based on a list of codes they provide.

  2. AUTO_ALLOCATE: Enables the automatic generation of coupons, with quantities specified by the client.

  3. CSV Upload: This enables the client to upload a CSV file containing coupon codes for storing in the database. The CSV file must have a header named 'codes' for effective coupon code creation and storage in the database.

Pre-Generation: Dynamic coupons can also be pre-generated (by prefix, suffix, and count parameters) and stored for future use. Each coupon generated will be 12 characters long.

Coupon Creation Process:

  • Single Coupon Code: Clients define a unique coupon code, adhering to character limits and no-space rules.

  • Usage Limits: Setting a limit on how many times the static coupon can be redeemed.

  • Pre-Generation: Dynamic coupons can also be pre-generated (by prefix, suffix, and count parameters) and stored for future use. Each coupon generated will be 12 characters long.

  • AUTO_ACCEPT Customization:

Client-Provided Codes: Clients upload a list of unique coupon codes, which the API uses to generate coupons.

Coupon Characteristics: Setting rules such as discount type, duration, and applicable subscriptions.

  • AUTO_ALLOCATE Customization:

On-the-Fly Generation: Allows clients to specify the number of coupons to be generated automatically by the API.

Customization Options: Setting prefixes, suffixes, and the number of random digits in the coupon codes.

  • Pre-Generation and Storage: Ability to pre-generate and store Dynamic coupons in the database

Enhanced Management Features:

  1. Coupon Listing: Displaying coupons in a card format with comprehensive statistics.

  2. Data Filtering: Options to filter by coupon type, redemption rate, and date ranges.

  3. Coupon Actions: Facilities to edit, delete, and toggle the active status of coupons.

  4. API Ingestion and New Coupon Creation: Initiating new coupon creation.

Note: Both Static and Dynamic coupons can be applied on the Subscription Landing Page (SLP) and Subscription Review Page (SRP), with features like auto-apply and removal options

Last updated