Request body schema for POST /events
.
Name | Type | Description |
---|---|---|
event | String | Event name. This is the same name that you used to define a custom event in the Dashboard > Project Settings > Event Schema. |
customer | Customer | |
referral | ClientEventsCreateRequestBodyReferral | |
loyalty | ClientEventsCreateRequestBodyLoyalty | |
metadata | Object | The metadata object stores all custom attributes assigned to the event. A set of key/value pairs that you can attach to an event object. It can be useful for storing additional information about the event in a structured format. Event metadata schema is defined in the Dashboard > Project Settings > Event Schema > Edit particular event > Metadata property definition. |