Update the progress made by a loyalty program member towards attaining a Cumulative type promotion. The action creates a Loyalty Program Member Promotion record if the promotion isn’t associated with the member.
This action is available in API version 53.0 and later for users in orgs where either B2C - Loyalty, B2C - Loyalty Plus, Loyalty Management - Growth, or Loyalty Management - Advanced license is enabled.
Required. ID of the loyalty program member who progress towards attaining a cumulative promotion must be updated.
promotionId
ID
Required. ID of the Cumulative type promotion for which member’s progress must be updated.
usageIncrementForCumulativePromotion
integer
Required. The value or quantity that must be added to member’s usage towards attaining the promotion.For example, if the target of a promotion is 10 units and the member has previously purchased 1 unit. Now the member has purchased 4 units. In this scenario, the input must be 4 and not 5 (1+4).
Outputs
Output
Type
Description
cumulativeUsageTarget
integer
The target value or quantity which members must achieve to attain the promotion.
updatedCumulativeUsageCompleted
integer
The updated value or quantity by which the member has progressed towards attaining the promotion.For example, if the target of a promotion is 10 units and the member has previously purchased 1 unit. Now the member has purchased 4 units. In this scenario, the output is 5.