Skip to main content

Create Loyalty Advice

POST 

/client/users/:correlation_id/advices/loyalty

Creates a Loyalty Advice for the current session's account.

Request

Body

FieldTypeRequiredDescriptionAllowed Values
entitystringYesThe scope of the lock to apply. Currently only account-level locks are supported.ACCOUNT
contextstringYesThe type of action to restrict. Currently only redemption locks are supported.REDEMPTION
reasonstringNoA free-text explanation of why the lock is being applied (e.g. for audit purposes).any string

Response

Returns the created lock object.

AttributeTypeDescription
accountIdstringThe unique identifier of the member account.
entitystringThe scope of the lock that was applied.
contextstringThe action that is now restricted.
posturestringThe enforcement action in effect.
startTimestampstringWhen the lock was applied, in ISO 8601 format.
endTimestampstringWhen the lock is scheduled to expire, in ISO 8601 format.
labelstringA human-readable description of the lock.
channelstringThe channel that created the lock.
sourcestringThe system that owns this lock record.

Request

Responses

200 - Redemption Lock Applied