A webhook can be subscribed to via the Topic and SubTopic. The SubTopic is optional. To receive an event for every message sent on a specific topic, leave the SubTopic empty. But to filter what messages are received in a particular topic, set the SubTopic based on the required filter.
Example
To receive a webhook event when a customer's rank is updated, set the Topic to "ValueUpdated" and the SubTopic to "Rank"
Topic | SubTopic |
---|---|
Customer | Created |
Customer | Updated |
Customer | Deleted |
ValueUpdated | {Value Id} |
BonusEarned | {Bonus Title} |
Order | Updated |
Order | Created |
OrderStatusUpdated | {Order Status} |
Autoship | Created |
Autoship | Updated |
Autoship | Deleted |
AutoshipStatusUpdated | {Autoship Status} |
Autoships | Processed |
Autoships | Retry |