Send Events
Changed onSend events to capture customer actions, enabling targeted rewards and engagement.
post/api/v4.0/integrations/events
Request
- Base URLhttps://api.gameball.co
- AuthAPI key in header apikey
Request body
Event Request required
customerId, string required
Unique identifier for the customer
events, object required
One entry per event. The key is the event name (for example, write_review). In the playground, edit the fields under an event or add another event with Add new property.
Example request
{
"customerId": "1848877205",
"events": {
"write_review": {
"product_id": "1653503260",
"review": "5 Stars Product"
}
}
}Response
Events accepted
Success required
success, boolean
message, string
Changes
- info
added the new optional request property
events/write_review
- info
- info
removed the non-success response with the status
- info
removed the non-success response with the status
1 more change in this revision
- info