Automation Campaigns API#
This API enables pre-purchase querying of number of points to be awarded for a given product. This is useful for incentivizing purchases on the product pages so customers are constantly notified about receiving points for purchases. This feature can also be used in cart pages to calculate the point value of a whole cart.
The endpoint requires a dry API call representing a purchase, using the same format that purchases are sent to the Events API.
Unlike the call made to the Events API, the customer will not receive points. The response will be an array of automation campaigns bonuses and point values that those campaigns add to the point values of the items.
The OpenApi yaml file used to generate this documentation can be downloaded