How to send 200 response in webhook callback handler

How to send 200 response in webhook callback handler

Girish_Rajwani
Shopify Partner
87 3 8

Hi Team,

 

I created order create webhook and used callback handler (the one given Shopify node js scaffold) and i am getting JSON data but how to send 200 response? as there is no request & reponse object in callback handler.

 

Moreover, there is app uninstall webhook in scaffold but i can't find that code, as i am created again but it is giving error duplicated handler error ? how can i modify app uninstall handler code ? 

 

please correct me if i am wrong.

 

any help would be really appreciated.

 

Thanks in advance 🙂  

Girish | Shopify Expert  
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - My Shopify Apps: App Store | Looking for a solution to a problem in your store? Send me an email

Replies 0 (0)