Guest webhook events now include a membership_code field in the data object, allowing webhook subscribers to identify loyalty programme members in real time without making additional API calls.
The field returns the membership programme code, or an empty string if not set on the guest or not configured for the property.
Affected events: create_guest, edit_guest
Example payload:
{
"id": 4445110,
"object": "event",
"event": "create_guest",
"created_at": "2024-02-19T13:18:40Z",
"data": {
"id": 1220110,
"object": "guest",
"last_name": "Smith-Cameron",
"first_name": "Nora",
"email": "guest@example.com",
"is_vip": false,
"opted_promotional_emails": true,
"chain_id": 123,
"membership_code": "BELLE"
}
}




