...
Code Block | ||
---|---|---|
| ||
{
"couponId": "0526d543-3871-4e9c-bec5-327ebcd3f1db",
"tokenId": "tester",
"email": "{{${email_address}}}",
"expiresOn": "2020-08-11T08:59:59.000Z"
} |
...
Note |
---|
Note that in the past we relied on |
expiresOn
-> this field determines when the offer assignment will expire, so i.e. the end of the offer life
...
Code Block | ||
---|---|---|
| ||
{
"email": "{{${email_address}}}",
"templateId": "31860003-2e04-4b2e-9008-a6aa33f69da9",
"source": "braze-test",
"rank": 123456, (optional)
"configId": "Loyalty engine id of config offer",
"ruleParams": {
"startDate": "yyyy-mm-dd",
"endDate": "yyyy-mm-dd"
}
} |
...
Note |
---|
Note that in the past we relied on |
startDate
andendDate
-> required fields; theendDate
must be set after thestartDate
- this represents the duration of time the offer assignment will be available forrank
field (optional) determines the sequence priority of the assigned personalized offer. The lower the number, the higher the priority (i.e. 1 would rank at the top)
...
Code Block | ||
---|---|---|
| ||
{
"pointsEarned": 500,
"source": "braze",
"email": "{{${email_address}}}"
} |
Replace
pointsEarned
with the amount of points you would like users that receive this Braze web hook to receivesource
should bebraze
in Production;braze-test
in lower environments (Dev, Staging)email
-> leave as is
Note |
---|
Note that in the past we relied on |
Request headers
Webhook URL
...