You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The request body for unlocking a reward for a customer profile, optionally using the balance of one of the customer's loyalty cards.
Properties
Name
Type
Description
Notes
integrationId
String
The integration ID to assign to the created customer reward unlock.
profileIntegrationId
String
The integration ID of the customer profile unlocking the reward.
loyaltyCardId
String
The identifier of the loyalty card, which must match the regular expression `^[A-Za-z0-9._%+@-]+$`.
[optional]
loyaltyProgramId
Long
The ID of the loyalty program from which points will be deducted. Required when the reward has `pointsRequired` configured.
[optional]
subledgerId
String
The ID of the subledger from which points will be deducted. Required when the reward has `pointsRequired` configured. To specify the main ledger, provide an empty string ("").
Determines which data is included in the response. Add any of the following optional values to the array to get that data in the response: `customerProfile`, `ruleFailureReasons`, `loyalty`. `effects` is always returned regardless of whether it is included here.