Fetch All Coupon Lists
This API fetches all created coupon lists in a specific workspace. By default, this API returns the coupon lists marked with an ACTIVE status. In return, it offers detailed specifications of the active coupon lists, respective configurations, statuses, expiry dates, and alert conditions, including on-time data on the total coupons added and those that are currently available.
Rate Limit
You can fetch 10,000 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).
Query Parameters
This field contains an array of all the coupons with their respective attributes based on the following statuses you provide in the request parameter:
- ACTIVE - to view only active coupon lists
- ARCHIVED - to view only archived coupon lists
- EXPIRED - to view only expired coupon lists
Note: Not specifying any status will display all the existing coupon lists together.
ACTIVE, ARCHIVED, EXPIRED Response
Success Indicates that the request is successful and all the active and/or archived coupon lists are fetched.