Search for Promo Code

Searches for a generated promo codes. This task provides two endpoints for finding a promo code or its data:

  • Identifies promo codes claimed by a customer based on ID.
    The related endpoint can take as a parameter the user ID for a customer making a claim on the SessionM platform; or, it can take an external ID for a customer making a claim via an external system integrated with SessionM.

  • Retrieves data about a promo code, either claimed or unclaimed.
    The related endpoint takes as a parameter a specified promo code.

Once the promo code has been located and returned, it can be subject to whatever action you choose, including its modification or cancellation. This task can also precede any analysis or troubleshooting the developer or administrator has undertaken.

Sequence Diagram

See the overall flow for this task below.

DEVELOPER/ADMIN DEVELOPER/ADMIN CLIENT MIDDLEWARE CLIENT MIDDLEWARE SESSIONM SESSIONM SEARCH FOR PROMO CODE Determine promo code must be located Option 1: Get Promo Codes for Customer Get claimed promo codes based on customer ID Option 2: Get Details for Promo Code Get details for claimed or unclaimed promo code Return promo code details Display promo code details