Creating Application notifications
You can create notifications for each of your Applications. When you create a notification, it is automatically activated.
For Strikethrough pricing updates only: Ensure you have created a strikethrough rule in the Application.
To create an Application notification:
-
In Apps, select the Application for which you want to create a notification.
-
On the left-side menu of the Application, click Notifications.
-
Click Create Notification.
-
In the Create Notification drawer, select the type of notification to create.
-
In Notification name, type a name for the notification.
-
For Coupon-related changes only:
In the Notification sources section, specify which sources should trigger a notification:
- Campaign Manager: Notify only when coupons are created, updated, or deleted through the Campaign Manager.
- Management API: Notify only when one of the following endpoints is called:
- Rule Engine: Notify only when coupon changes occur
as the result of one of the following coupon-related API effects:
- couponCreated effect
- updateAttribute effect
-
For Expiring coupons only:
In the Schedule section, specify how long before coupon expiration you want to trigger alerts:
- Amount: Number of days or weeks.
- Period: Days or weeks.
note- On the scheduled trigger day, requests are sent at 00:00 hours UTC.
- To include coupons that expire in the following 24 hours,
schedule a trigger for
0
day(s) before expiration.
-
In the Request section, specify the details of the webhook request:
- Verb indicates the HTTP request method:
POST
. - In URL, type the URL where you want to receive the notification.
- (Optional) In Header, type a custom header that describes the request.
For example:
Content-Type: application/json
.- (Optional) Click Add header for each additional header value required by the receiving party, and enter the corresponding headers.
- Verb indicates the HTTP request method:
-
In the Payload preview section: If the Batching option is available, choose whether you want to leave it enabled or disable it.
- Review the request payload. See the notification schemas.
-
(Optional) To validate the URL and headers you entered by sending a test request, click Test Notification.
-
Click Create Notification.
The notification is created, and it is activated by default.