FROM CACHE - en_header

Return management just got easier! We’ve launched Customer Self-Serve Returns to all Shopify merchants. Click here to learn more!

Webhooks Issue

OrderCup1
Excursionist
19 0 5

We have an issue where multiple webhooks are executing concurrently and causing some undesirable effects. So can you tell us if

1) it is possible to add delay between two webhooks being triggered on Shopify, e.g. orders/create  and orders/paid webhooks


2) If not, do you have any suggestions for how to prevent the second webhook from processing unless the first has completed, i.e guarantee synchronous execution of multiple webhooks

--Margesh

Replies 3 (3)
Fahd_Ananta
Shopify Partner
6 0 0

Try adding it to a messaging queue: https://www.rabbitmq.com/

OrderCup1
Excursionist
19 0 5

I was looking first to see if there is something that we can do on the Shopify end to address it.

If not then we would have to handle it on our end. We already have a queue, but the queue is serviced by multiple workers and hence the concurrency issue.

Ramesh_Kunhiram
New Member
3 0 0

Margesh:

Any idea how to pass paramters to a webhhok URL using the Shopify Panel. I want to call a thirdparty API and send just the order number as a paramters on order creation event