Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.68 KB

IntegrationUnlockRewardRequest.md

File metadata and controls

29 lines (18 loc) · 1.68 KB

IntegrationUnlockRewardRequest

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 (""). [optional]
responseContent List<ResponseContentEnum> 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. [optional]

Enum: List<ResponseContentEnum>

Name Value
CUSTOMERPROFILE "customerProfile"
EFFECTS "effects"
RULEFAILUREREASONS "ruleFailureReasons"
LOYALTY "loyalty"