Balance updated
Topic: v1/customer/balanceUpdated
Payload example:
{
"timestamp": "2024-05-27T06:34:39.662Z",
"customer": {
"email": "customer@gmail.com",
"phone": null,
"shopifyCustomerId": 5784483037269
},
"currentBalance": 2000.5,
"balanceDelta": -121.5
}
In this example, we can see that the customer's balance was 2122 before the update.
Documentation table
Properties
timestampstring- Timestamp when the balance update occurred in ISO 8601 format.
customerobject- Customer identifier details.
currentBalancenumber- Current balance of the customer after update.
balanceDeltanumber- Amount of change in the balance (positive or negative).
The timestamp remains unchanged when Growave retries to resend it.