CustomerRewardCreateInput
input
The input fields for creating and issuing a customer reward.
Fields
A list of IDs of customers to whom the reward applies.
Maximum size: 100
Maximum size: 100
The unique identifier for the reward issuance.
Maximum length: 64
Maximum length: 64
The discount type of the reward.
The discount value of the reward.
Example: Setting
Example: Setting
rewardType to PERCENTAGE_DISCOUNT and benefitsDetails to 50 indicates a 50% discount.The type of the reward usage threshold.
The value of the reward usage threshold.
Example: Setting
Example: Setting
rewardType to PERCENTAGE_DISCOUNT, rewardUsageInstructionType to MIN_ITEM_QUANTITY, and rewardUsageInstructionValue to 2 indicates that a customer needs to purchase at least 2 items to use this reward.The reward usage limit. Pass
null or omit if there is no reward usage limit.Whether the reward can be used with automatic discounts.
true: The reward can be used with automatic discounts.false: The reward cannot be used with automatic discounts.
Whether the reward can be used with discount codes.
true: The reward can be used with discount codes.false: The reward cannot be used with discount codes.
Map
Argument from
CustomerRewardCreateInput
Was this article helpful to you?