Hi,
I'm looking for a way to add my own key:value pairs/object to the Webhook JSON-response.
The default webhook JSON response is:
{"serviceResponse": {
"jobID": 294,
"statusInfo": {
"mode": "sync",
"status": "success"
}
}}
Woud like to add something like:
{"serviceResponse": {
"jobID": 294,
"statusInfo": {
"mode": "sync",
"status": "success"
}
"productData" : {
"productVariant" : "type1" // = $(productVariant)
}
}}
Not sure if it is possible at all. All suggestions are welcome.
Thanks!