Webhooks receiving several times

My webhook response for “Order Canceled” is:

HTTP/1.1 200 OK
Date: Tue, 10 Mar 2020 15:39:56 GMT
Server: Apache/2.4.18 (Ubuntu)
Cache-Control: no-cache, private
X-Robots-Tag: noindex, nofollow, noarchive, nosnippet
Transfer-Encoding: chunked
Content-Type: application/json

{"code":"200","Message":"Success"}

but why I have 7 webhook requests from 54.158.254.66 with 200 response in my access_log?

Can anybody help with a correct webhook response format?

Hi @Maks!
I apologize for the delay in my response here.
So you are receiving 7 times the same notification(webhook), right?
Something like:

{
    "order_number": "TAGSTESTING1",
    "partner_order_id": "TAGSTESTING1",
    "fulfillment-status": "canceled",
    "order_id": 119113069,
    "shop_name": "API",
    "shop_order_number": "TAGSTESTING1"
}

I’ve already submitted a request for this to be fixed by the engineering team, but please let me know if I got this wrong.
Thanks for the patience on this!
Tom

Yes 7 times same data:

Request header x-newrelic-transaction - is different, x-newrelic-id is the same = UgMHV1dUGwcCV1dUDgQOVA==

{“order_number”: “xxx-5e68e113b5323”, “partner_order_id”: “xxx-5e68e113b5323”, “fulfillment-status”: “canceled”, “order_id”: 119009491, “shop_name”: “ABC TEAM \u00a9 Store”, “shop_order_number”: “zzz-5e68e113b5322”}

Thanks for confirming that @Maks!
I will provide an update as soon as possible

1 Like

Hi @Maks
I wanted to provide an update about this.
I was told by our engineering team that we will be working soon on our webhooks, and this will get fixed as part of that. The ETA for this is 4-6 weeks.
I will let you know as soon as I have another update about it.
I appreciate your patience in this.
Thanks!,
Tom