Skip to main content
Contributor I
April 4, 2023
Solved

Order place event

  • April 4, 2023
  • 3 replies
  • 3031 views

I’m trying to send an “Order Placed” event to the API, and I would like to send each line item with various relevant properties for each line (ID, SKU, price, quantity etc). I can’t find any documentation for how to pass this information with the event. The examples I’ve found are only for the “Viewed Product” event, which passes a single product ID. However should I pass multiple product IDs and their corresponding data for an Order Placed event?

    This topic has been closed for replies.
    Best answer by DavidSandel

    Yes, that is correct. Here’s the complete guide for making a custom e-commerce integration:

    Make sure you have the latest version of the API selected at the top of the page: 2022-02-22

    3 replies

    DavidSandel
    Partner - Silver
    Partner - Silver
    April 4, 2023

    You’ll want to use ‘product purchased’ along side ‘order placed’. 

    Klaviyo Silver Master --> LowGravitySolutions.com
    markrossAuthor
    Contributor I
    April 4, 2023

    You’ll want to use ‘product purchased’ along side ‘order placed’. 

    Thanks for the reply. So I need to send multiple events - one “Order Placed” event (without any product details), and then one “Product Purchased” event for each line item purchased?

    DavidSandel
    Partner - Silver
    Partner - Silver
    April 4, 2023

    Yes, that is correct. Here’s the complete guide for making a custom e-commerce integration:

    Make sure you have the latest version of the API selected at the top of the page: 2022-02-22

    Klaviyo Silver Master --> LowGravitySolutions.com