Fetch Coupon List Details
This API retrieves the specifications of a particular coupon list. It includes information such as configurations, statuses, expiry dates, and alert conditions with real-time counts of added and currently available coupons. Using this API, you can easily access and manage critical data about individual coupon lists.
Rate Limit
You can fetch 10000 coupon lists per day.Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.
For more information on authentication and getting your credentials, refer here.
Headers
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
Path Parameters
The unique identifier for the coupon list.
Response
Success Indicates that the request is successful and the coupon list is fetched.
This field consists of the unique name of the coupon list.
This field consists of the label name for the fetched coupon list.
This field consists of the expiry date of the coupon list in yyyy-mm-dd format.
This field shows one of the following statuses of the fetched coupon list:
- ACTIVE
- EXPIRED
- ARCHIVED
This field consists of the total number of coupons in the coupon list.
This field consists of the date and time the coupon list was created.
This field consists of the date and time of the most recent update to the coupon list.
This field consists of the email address of the coupon list subscriber.
This field consists of the alert conditions and their statuses specified while creating the coupon list.
This field consists of the available number of coupons in coupon list.
This field consists of the personalization snippet of the coupon list.
This field consists of the user name who created the fetched coupon list.
This field contains the unique ID corresponding to a successful coupon list fetch request. This ID is also used to update and archive coupon lists.