Update an event
PUT/cdp/{connection_id}/event/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Event
Payload
idstring
Unique identifier for this event object
created_atdate
The date that this event object was ingested (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The specific event name (eg. "Product Purchased")
type enum
The unified structural category of the event
occurred_atdate
When the event actually happened (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
profile_idstring
The profile this event is associated with; points to CdpProfile
sourcestring
The source that produced this event
source_idstring
The cdp_source this event originated from; points to CdpSource
Returns
idstring
Unique identifier for this event object
created_atdate
The date that this event object was ingested (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The specific event name (eg. "Product Purchased")
type enum
The unified structural category of the event
occurred_atdate
When the event actually happened (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
profile_idstring
The profile this event is associated with; points to CdpProfile
sourcestring
The source that produced this event
source_idstring
The cdp_source this event originated from; points to CdpSource
const options = {
method: 'PUT',
url: 'https://api.unified.to/cdp/5de520f96e439b002043d8dc/event/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know