Skip to main content
Solved

Order place event


Forum|alt.badge.img+1

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?

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

DavidSandel
Partner - Silver
Forum|alt.badge.img+21
  • Partner - Silver
  • 155 replies
  • April 4, 2023

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


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 2 replies
  • April 4, 2023
DavidSandel wrote:

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
Forum|alt.badge.img+21
  • Partner - Silver
  • 155 replies
  • Answer
  • 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