curl --location --request POST '//projects//sources/0/track?apiKey' \
--header 'Content-Type: application/json' \
--data-raw '{
"track": [
{
"name": "Purchase",
"payload": [
{
"eventId": "generated-event-id",
"profileId": "generated-profile-id",
"userId": "custom@intempt.com",
"timestamp": 1714631904000,
"accountId": "Intempt",
"sessionId": "generated-session-id",
"pageId": "generated-page-id",
"anotherUserId": "+111111111",
"anotherAccountId": "no-reply@intempt.com",
"data": {
"amount": 150,
"productName": "Wine",
"quantity": 4,
"locationLatitude": 51.509865
},
"userAttributes": {
"location": "USA"
},
"accountAttributes": {
"founded": 2000
}
}
]
}
]
}'