Common Use Cases:
Sync Customer Points and VIP Tier: Keep your CRM system up-to-date with the latest customer points and VIP tier information.
Track Profile Changes: Automatically update other systems or services when customer profile details change.
This webhook ensures that your systems reflect the most accurate and up-to-date customer information.
Customer Profile Webhook POST Data
{
"event" : "customer.profile.updated" ,
"client_id" : "2155" ,
"customer_id" : "webhook-test" ,
"gb_customer_id" : 1234 ,
"created_at" : "2024-11-19T17:34:42.297Z" ,
"data" : {
"email" : "customer@example.com" ,
"mobile_number" : "+XX-XXXX-XXXX" ,
"tier_name" : "basic" ,
"tier_order" : 1 ,
"referral_code" : "referral_123" ,
"referral_link" : "www.example.com" ,
"activated_points" : 90 ,
"pending_points" : 10 ,
"total_points" : 100
}
}
Webhook Fields
This indicates that the event triggering the webhook is related to a customer profile update
The unique identifier for the client (your app) that’s receiving the webhook.
Unique identifier for the customer that you can reference across the customer’s whole lifetime. Could be a database ID, random string, email, or anything that uniquely identifies the customer.
The Gameball internal identifier for the customer.
The timestamp when the webhook event was created, formatted in ISO 8601.
This contains the updated customer profile data. Show Customer Profile Object
The customer’s email address.
The customer’s mobile number.
The customer’s current loyalty tier name.
The order/level of the customer’s current loyalty tier.
A referral code associated with the customer.
A referral link for the customer.
The points the customer has currently activated and can use.
Points that are pending and will be activated later.
The customer’s total accumulated points, including both activated and pending points.