Skip to main content
Solved

Invalid JSON Syntax for Webhook

  • April 13, 2022
  • 1 reply
  • 300 views

Forum|alt.badge.img+5

Please excuse my ignorance as I am not a programmer, but I’m trying to add the Order ID to the PayLoad of the Webhook. I was able to see what the property was inside of Klaviyo, but it is saying that my Syntax is incorrect.

Can anyone help me please!

 

{
    "email": "{{ person.email }}"
    
    "order.id": "{{ event.id.extra }}"
    
    
}

 

 

Best answer by jmacman

Solved...I needed the commas to separate:

 

{
    "email": "ct1178@hotmail.com",

    "order.id": "4728968544497"
}

 

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

1 reply

Forum|alt.badge.img+5
  • Author
  • Problem Solver II
  • 25 replies
  • Answer
  • April 13, 2022

Solved...I needed the commas to separate:

 

{
    "email": "ct1178@hotmail.com",

    "order.id": "4728968544497"
}