Hi there,
We’re migrating our integration with Klaviyo to v2 and I faced the issue with retrieving such profile properties as first_name, last_name, email when collecting events.
API reference declares optional query param “fields[profile]”: https://developers.klaviyo.com/en/reference/get_events
But when I try to use this param:
I got the error 400 Bad Request:
{
"errors": [
{
"id": "cc99c0e8-a548-43ed-827b-793d82f78aad",
"status": 400,
"code": "invalid",
"title": "Invalid input.",
"detail": "'profile' is not an allowed field family for this resource.",
"source": {
"parameter": "fields"
},
"meta": {}
}
]
}
Please advise how I can retrieve profile properties from /events endpoint? I would like don’t requesting /profiles endpoint for a some reasons.
Thanks in advance!