GET
/
api
/
api
/
loyalty
/
rule_chains
curl --request GET \
  --url https://admin.snagsolutions.io/api/api/loyalty/rule_chains \
  --header 'X-API-KEY: <api-key>'
{
  "data": [
    {}
  ],
  "hasNextPage": true
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

organizationId
string
required

Unique identifier for the organization

Example:

"123e4567-e89b-12d3-a456-426614174001"

websiteId
string
required

Unique identifier for the website

Example:

"123e4567-e89b-12d3-a456-426614174002"

limit
number | null
default:10

Number of rule chains to return

Example:

10

startingAfter
string

Starting after the given rule chain ID

Example:

"123e4567-e89b-12d3-a456-426614174002"

Response

200
application/json
200
data
object[]
required
hasNextPage
boolean
required