Get Loyalty Rule Chains
Retrieve configured loyalty rule chains
GET
Retrieve configured loyalty rule chains
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Query Parameters
organizationIdstring<uuid>required
Unique identifier for the organization
websiteIdstring<uuid>required
Unique identifier for the website
limitnumberdefault: 10
Number of rule chains to return
Required range:
x >= 1, x <= 100Default:
10startingAfterstring<uuid>
Starting after the given rule chain ID
Response
application/json
200
dataarray<object>requireddata.idstringrequiredUnique identifier for the rule chain
data.namestringrequiredName of the rule chain
data.loyaltyRuleIdstringrequiredUnique identifier for the loyalty rule
data.operatorType"AND" | "OR"Type of the operator. AND if all conditions must be met, OR if any condition can be met.
Allowed values:
"AND" | "OR"Default:
"AND"data.loyaltyConditionsarray<object>requiredhasNextPagebooleanrequired