Managing Application notifications
You can create notifications to be informed about the following events occurring within the Applications of your choice. Depending on the notification type, you can create one or more notifications of each type.
Notification type | Event that triggers a notification |
---|---|
Campaign-related changes |
|
Strikethrough pricing updates |
|
Coupon-related changes |
|
- After a qualifying event occurs, a notification can take up to 5 minutes to be sent.
- To learn about the loyalty-specific notification types, see Managing loyalty notifications.
- Campaign-related changes:
- Two requests are sent for the same notification: One for campaign evaluation tree changes, which occur at the Application level, and another for all other campaign-related events.
- You cannot select which notifications to receive. Notifications are sent for all events and for all campaigns within an Application.
Creating campaign notifications
Create campaign notifications to receive notifications about campaign-related changes.
To create a campaign notification:
- Select the Application where you want to set up campaign notifications.
- On the left-side menu, click Settings > Campaign Notifications.
- Click Set Up Notification if you have not created any yet.note
If there are one or more notifications in the selected Application, click Add a new URL to create more. It allows you to be notified through different routes at the same time.
- In the New notification pop-up, in URL, type the URL where you want to receive notifications.
- In Header-Name, type an HTTP header.
- (Optional) Click Add header for each additional header value required by the receiving party, and enter the corresponding headers.
- Click Save.
- Review the schemas of the notifications you will receive and parse them as required.
Creating strikethrough pricing notifications
Create strikethrough pricing notifications to receive updates about strikethrough pricing.
To create a strikethrough notification:
- Select the Application for which you want to set up strikethrough pricing notifications.
- On the left-side menu, click Notifications.
- Click Create Notification > Strikethrough pricing updates.
- In Notification name, type a name for the notification.
- In URL, type the destination URL.
- In Header, type a full HTTP header. For example:
Content-Type: application/json
. - (Optional) Click Add header for each additional header value required by the destination URL, and enter the corresponding headers.
- Click Create Notification.
- Review the schemas of the notifications you will receive and parse them as required.
Creating coupon notifications
Create coupon notifications to receive notifications about coupon-related changes.
You can create only one notification of this type.
To create a coupon notification:
- Select the Application where you want to set up a coupon notification.
- On the left-side menu, click Notifications.
- Click Create Notification > Coupon-related changes.
- In Notification name, type a name for the notification.
- 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
- 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.
- In Header, type a custom header that describes the request.
- (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:
- Review the schemas of the notifications you will receive.
- Click Create Notification.
Editing notifications
You can edit the details of a notification at any time.
To edit a notification:
- Select the Application where you want to edit the notification.
- On the left-side menu, click Notifications.note
To edit a campaign notification, on the left-side menu, click Settings > Campaign Notifications.
- Click the edit symbol for the notification.
- Edit the required details, and click Save.
Deleting notifications
You can delete a notification to stop being notified about updates through a given route.
To delete a notification:
- Select the Application where you want to delete a notification.
- On the left-side menu, click Notifications.note
To delete a campaign notification, on the left-side menu, click Settings > Campaign Notifications.
- Click next to the notification.
- In the confirmation pop-up that appears, click Delete Notification.note
To delete a campaign notification, in the confirmation pop-up that appears, click Delete.