O endpoint de grupo de eventos permite que o RD Station receba mais de um evento ao mesmo tempo. Isso permite que eventos de pedido fechado e os itens que foram inclusos no pedido sejam enviados por meio de apenas uma chamada para a API.
Request body parameters
Field | Type | Required | Description |
---|---|---|---|
event_type | String | true | The event type as defined by one of the events above. |
event_family | String | true | The family of the event for processing purposes. It currently accepts only "CDP" as valid option. |
payload | Object | true | Payload object containing the attributes of the related event_type as defined above. |
Request body example
[
{
"event_type" : "#type",
"event_family" : "CDP",
"payload": {
/* ... */
}
},
{
"event_type" : "#type",
"event_family" : "CDP",
"payload": {
/* ... */
}
},
{
"event_type" : "#type",
"event_family" : "CDP",
"payload":
{
/* ... */
}
},
/* ... */
]
Request response example
Success | Code: 200
{
"event_batch_uuid": "UUID of the batch",
"events":[
{ "event_uuid":"Event UUID" },
{ "event_uuid":"Event UUID" },
{ "event_uuid":"Event UUID" },
/* ... */
]
}