Solved

Invalid JSON Syntax for Webhook

  • 13 April 2022
  • 1 reply
  • 250 views

Userlevel 2
Badge +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 }}"
    
    
}

 

 

icon

Best answer by jmacman 13 April 2022, 19:47

View original

1 reply

Userlevel 2
Badge +5

Solved...I needed the commas to separate:

 

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

"order.id": "4728968544497"
}

 

Reply