Request body schema for POST v1/events
.
Name | Type | Description | Notes |
---|---|---|---|
event | str | Event name. This is the same name that you used to define a custom event in the Dashboard > Project Settings > Event Schema. | [optional] |
customer | Customer | ||
referral | EventsCreateRequestBodyReferral | [optional] | |
loyalty | EventsCreateRequestBodyLoyalty | [optional] | |
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. | [optional] |