Troubleshoot Promo Code Issues
Troubleshoots promo code issues and irregularities. This task provides three endpoints for analyzing data related to promo code as part of troubleshooting activity:
-
Retrieve all promo codes for a promo code list. The related endpoint takes parameters that can be used to limit the number of codes returned by specifying an ID for either a code generation request or a message ID.
-
Retrieve the status associated with a specific promo code generation request.
-
Retrieve invalid promo codes claimed by a customer. Two of the related endpoint parameters can be the user ID for a customer on the SessionM platform; or, it can be an external ID for a customer on an external system integrated with SessionM.
After having retrieved the promo codes or any related data, administrators or developers may see discrepancies in their loyalty program. The data acquired using these endpoints can aid a troubleshooting process may resolve a variety of issues. For example, it might be important to learn which customer attempted to redeem an invalid promo code.
Sequence Diagram
See the overall flow for this task below.