Create Multiple Analytics Events
POST {{baseURL}}api/v1/analytics/events?serviceId=string
Description
To create or publish multiple analytics events.
Request
Headers
- tenantId:
string - userId:
string - countryCode:
string
Param
- serviceId:
string
Sample Request Body
[
{
"properties": {
"sku": 100,
"productname": "Milk",
"cost": "2000",
"category": "Beverage"
},
"ip": "105.119.1.200",
"event": "create product"
},
{
"properties": {
"sku": 200,
"productname": "Body lotion",
"cost": "3000",
"category": "Cosmetics"
},
"ip": "105.119.3.100",
"event": "search item"
}
]
LANGUAGE
CURL REQUEST
curl --request POST \
--url {{baseURL}}api/v1/analytics/events?serviceId=string \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!