Snag Docs logo

Get Loyalty Rule Statuses

Retrieve loyalty rule statuses

GEThttps://admin.snagsolutions.io/api/loyalty/rule_statuses

Retrieve loyalty rule statuses

Loading code example
Loading code example

Authorizations

apiKeyAuthstringheaderrequired

API key passed in the header.

Query Parameters

organizationIdstring<uuid>

Unique identifier for the organization

websiteIdstring<uuid>

Unique identifier for the website

walletAddressany

Wallet address(es) to filter accounts by

userIdany

User ID(s) to filter accounts by

userGroupIdstring<uuid>
userGroupExternalIdentifierstring
loyaltyRuleIdany

Unique identifier(s) for the loyalty rule(s). Accepts a single ID or an array (up to 100); for larger sets, batch requests to avoid URL length limits.

limitnumberdefault: 10

Number of items to return

Required range: x <= 100
Default: 10
startingAfterstring

Starting after item

Response

application/json

200

dataarray<object>required
data.idstring<uuid>required
data.websiteIdstring<uuid>required
data.organizationIdstring<uuid>required
data.userIdstring<uuid>required
data.loyaltyRuleIdstring<uuid>required
data.progressnumberrequired
data.createdAtstring<date-time>required
data.updatedAtstring<date-time>required
hasNextPagebooleanrequired