Update Loyalty Rule Status
Update a loyalty rule status
POST
Update a loyalty rule status
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Body
Body
organizationIdstring<uuid>Unique identifier for the organization
websiteIdstring<uuid>Unique identifier for the website
userIdstring<uuid>Unique identifier for the user, either userId or walletAddress must be provided
walletAddressstringUnique identifier for the wallet address, either userId or walletAddress must be provided
loyaltyRuleIdstring<uuid>requiredUnique identifier for the loyalty rule
progressnumberProgress of the loyalty rule. Clamped to the rule target (100 for percentage rules, the highest reward range end for counter rules).
Required range:
x >= 0incProgressnumberIncrement progress of the loyalty rule. The resulting progress is clamped to the rule target (100 for percentage rules, the highest reward range end for counter rules).
Required range:
x >= 0Response
application/json
200
idstring<uuid>requiredwebsiteIdstring<uuid>requiredorganizationIdstring<uuid>requireduserIdstring<uuid>requiredloyaltyRuleIdstring<uuid>requiredprogressnumberrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>required