-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How we able to use sendEvent? #42
Comments
In the list of operations, the operation name is a link to our API-level docs, which give details on how the payload should be structured. In this case, that link is: https://developers.klaviyo.com/en/reference/create_event |
@jon-batscha Thanks. |
are you able to create an event in postman, but not in PHP? (asking to try to narrow down where the problem lies) Also, can you share with me your code where you try to create an event? |
I was able to create a postman, and even user GuzzleHttp from doc's example and it all works fine. |
Same issue here. If i try to create an event with the payload mentioned in the documentation, i get "Invalid input" error message. |
@jack-fdrv I just figured it out..idk why is this so complicated this payload, but i was able to create an event when a new account was created. Take a look at my payload example.
|
PS: I was able to create this event without the |
Considering Klaviyo are pretty much forcing everyone to use this new api, the documentation is awful! |
I am wondering why there is no example how to use this sdk?
What approach should I use to be successful with this sdk?
For example here is my code
to use createEvent i need to first create an object of event via some weird EventCreateQueryV2 but there is no example of data structure... How can i do it?
The text was updated successfully, but these errors were encountered: