Hi everyone,
im trying to follow this guide: https://developers.klaviyo.com/en/docs/guide_to_integrating_a_platform_without_a_pre_built_klaviyo_integration#key-integration-components
uploading Events via Api.
It suggests to sent an Ordered Product Event for every Item a Placed Order Events has.
For Orders with multiple Items the Api call returns a 202 but the second Ordered Product event will not be saved. The guide says to use the OrderID as the unique Id for all the related Events.
I can see that Klaviyo is identifying events with the same unique id as duplicates so i tried sending the events without an unique id but with the same order id as a property but its still the same.
I tried sending the events in bulk, tried sending them all seperate but nothing changed.
The only way i could get both Ordered Product Events sent was by giving them different unique ids. But then i dont understand how Klaviyo is knowing if the event is related to the Placed Order Event or not.
When looking at the Activity Details for events the first Ordered Product Event that gets saved has the same Unique Id the Placed Order Event has but then the second does not.
Its pretty frustrating and im sure im doing something wrong here.
Having a custom Integration is the only way for us to use Klaviyo so i have to get this working somehow.
I hope someone can help me with this.