Create Batch of Single Use Promo Codes

Promo codes are often sent to customers as a way of enticing them to participate in a loyalty program. Via email or distributed as a coupon, they provide an excellent first step for a client reaching out to their customers. When customers redeem their promo code, the primary outcome they receive is either an offer or a quantity of points. Note that these outcomes can trigger other outcomes such as events and tags.

Single-use promo codes are unique codes, generated in batch, that can be claimed only once. Since they are tracked, they are an ideal way of ensuring that they cannot be used by other customers after they have been claimed by the code's intended recipient.

This API focuses on how to generate a batch of single-use promo codes for a promo code list configured as the single-use type. One of the primary decisions to make is determining how many promo codes you need in the batch. For help on this, contact your SessionM team. Once the codes are generated and activated from a pending state, they can be exported for whatever loyalty program initiative you have designed.

Sequence Diagram

See the overall flow for this task below.

DEVELOPER/ADMIN DEVELOPER/ADMIN CLIENT MIDDLEWARE CLIENT MIDDLEWARE SESSIONM SESSIONM CREATE BATCH OF PROMO CODES Access platform development environment Create batch of promo codes Return success message along with generation request ID Display success message and request ID