Skip to main content
Contributor I
July 30, 2021
Solved

Custom eCom: API problems

  • July 30, 2021
  • 2 replies
  • 189 views

Hi,

we are implemented an API for our custom ecommerce CMS. We started with the “Place Order” event, but are having some problems. The data goes through to Klaviyo, but comparing to Woocommerce integration, the structure and data display is pretty weird.

See my examples here. Anyone knows whats the problem?
 


 

    This topic has been closed for replies.
    Best answer by David To

    Hello @tomazs,

    Thanks for sharing your question with the Klaviyo Community and providing those screenshots!

    Taking a look at them they do appear to be displaying accurately for a custom Placed Order event. Since your event is custom, depending on your payload structure and the properties and values you are passing over, it may either include more or less data than what any of the default ecommerce placed order events are passing over. For example, it doesn’t appear like you are passing an ItemNames property, which most ecommerce integration does. 

    I would also suggest taking a look at both the Guide to Integrating a Standard Ecommerce Platform and Custom Integration FAQ Help Center articles which does provide an example payload of the Placed Order event. 

    I hope this helps!

    David

    2 replies

    David To
    Klaviyo Employee
    David ToAnswer
    Klaviyo Employee
    July 30, 2021

    Hello @tomazs,

    Thanks for sharing your question with the Klaviyo Community and providing those screenshots!

    Taking a look at them they do appear to be displaying accurately for a custom Placed Order event. Since your event is custom, depending on your payload structure and the properties and values you are passing over, it may either include more or less data than what any of the default ecommerce placed order events are passing over. For example, it doesn’t appear like you are passing an ItemNames property, which most ecommerce integration does. 

    I would also suggest taking a look at both the Guide to Integrating a Standard Ecommerce Platform and Custom Integration FAQ Help Center articles which does provide an example payload of the Placed Order event. 

    I hope this helps!

    David

    tomazsAuthor
    Contributor I
    August 26, 2021

    Thanks David!