Create

View as Markdown
Creates a retention incentive eligibility rule with their incentive templates.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
namestringRequired
Anything to help identify this rule
livebooleanRequired

Active / inactive state for this rule

min_days_since_last_claimintegerOptional
Minimum number of days since the last retention incentive has been claimed for a given customer
min_subscriber_orders_since_last_claimintegerOptional
Minimum number of orders that had to be placed since the last retention incentive was claimed for a given customer
incentive_templateslist of objectsOptional

Response

200
public_idstring
namestring
merchantstring
livebooleanDefaults to true
min_days_since_last_claimintegerDefaults to 0
min_subscriber_orders_since_last_claimany
incentive_templateslist of objects

Errors

400
Bad Request Error