Field | Type | Description |
---|---|---|
externalUserId | string | A unique identifier for the customer triggering the reward. |
environment | enum | The environment to trigger rewards for: test or production . This is the recommended way to trigger rewards. |
rewardFor | array of string | Specifies who should receive the reward. Possible values: self , referral_partner , or both. |
environment
or campaignId
, but not both.
200 OK
response with the reward details: