Reward created
Topic: v1/customer/rewardCreated
Payload example (Gift Card):
{
"timestamp": "2025-03-19T06:42:40.052Z",
"customer": {
"email": "customer@gmail.com",
"phone": "+1234567890",
"shopifyCustomerId": 5570456591236
},
"reward": {
"type": "GIFT_CARD",
"giftCardId": 527462172548,
"giftCardCode": "ED59 CF47 C4F8 BF66",
"currencyCode": "USD",
"initialValue": 10,
"balance": 10
},
"action": {
"source": "SPENDING_RULE",
"id": "676aa194f593fbe5f87f14ad",
"type": "GIFT_CARD"
},
"activity": {
"id": "67f61bc7f14e2b637bb919a9",
"type": "SPENDS_REDEEM_REWARD"
}
}
In this example, we can see that the reward (Gift Card reward) created for customer.
Documentation table
Properties
timestampstring- Timestamp when the balance update occurred in ISO 8601 format.
customerobject- Customer identifier details.
rewardobject- Amount discount OR Percentage discount OR Product discount OR Shipping discount OR Gift Card reward.
actionobject- Earning rule OR Spending rule
activityobject- Customer activity.
The timestamp remains unchanged when Growave retries to resend it.