Skip to main content
Problem Solver II
April 13, 2022
Solved

Invalid JSON Syntax for Webhook

  • April 13, 2022
  • 1 reply
  • 374 views

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 }}"
    
    
}

 

 

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

Solved...I needed the commas to separate:

 

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

"order.id": "4728968544497"
}

 

1 reply

jmacmanAuthorAnswer
Problem Solver II
April 13, 2022

Solved...I needed the commas to separate:

 

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

"order.id": "4728968544497"
}