Re: Product update webhook gets deleted automatically after few days

Product update webhook gets deleted automatically after few days

Shopify Partner
3 0 1

We have created a product webhook in one of our shopify stores and in our backend we are sending back 200 OK response as soon as the webhook hits our API endpoint. 
The issue is even if it works but for some strange reason Shopify is deleting our webhook from the stores after couple of days automatically. It is causing issue and inconvenience as we have to check it manually and also have to create the webhook when it gets deleted. 

Any help will be highly appreciated. Thanks in advance.

 * POST Product update
 * @Anonymous {Request} req
 * @Anonymous {Response} res
 */'/update', async (req: Request, res: Response) => {

  res.status(200).send('Received Product Update Data');

  try {


Replies 2 (2)

Shopify Staff (Retired)
70 15 27

Hello @khaledhasan,

Sending back a 200 OK is the right thing for your app to be doing when it receives webhooks. However, I'm wondering if there might be issues at the network-level trying to connect to your application in the first place (such as a timeout?)... Could you help me by telling me some more information such as the error(s) you are seeing (if any), your store id, and the details of the subscription you've created?

To learn more visit the Shopify Help Center or the Community Blog.

2 0 0

We are facing the same issue is there any solution?