Skip to main content

Get Loyalty Advices

GET 

/client/users/:correlation_id/advices/loyalty

Returns loyalty advices for the current session's account, currently only supports redemption lock. Use this to check whether the member is currently locked from redeeming points.

Request

Query Parameters (optional)

KeyTypeDescriptionAllowed Values
entitystringThe scope of the lock. Currently only account-level locks are supported.ACCOUNT
contextstringThe type of action being restricted. Currently only redemption locks are supported.REDEMPTION

Response

Returns an array of active lock objects. If no active locks exist, returns an empty array.

AttributeTypeDescription
accountIdstringThe unique identifier of the member account.
entitystringThe scope of the lock (e.g. ACCOUNT — the lock applies to the entire account).
contextstringThe action being restricted (e.g. REDEMPTION — the member cannot redeem points).
posturestringThe enforcement action in effect (e.g. BLOCK — the action is fully prevented).
startTimestampstringWhen the lock was applied, in ISO 8601 format.
endTimestampstringWhen the lock is scheduled to expire, in ISO 8601 format. May be empty if the lock is indefinite.
labelstringA human-readable description of the lock.
channelstringThe channel through which the lock was created (e.g. CUX, CONSOLE).
sourcestringThe system that owns this lock record. LOYALTY indicates it was created through the loyalty platform.

Request

Responses

200 - Active Redemption Lock