Update

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

Authentication

x-api-keystring
API Key authentication via header

Path parameters

public_idstringRequired

Request

This endpoint expects an object.
namestringOptional
Anything to help identify this rule
livebooleanOptional

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_claimintegerDefaults to 0
incentive_templateslist of objects

Errors

400
Bad Request Error