How to send 200 response in webhook callback handler

Girish_Rajwani
Shopify Partner
79 2 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 Rajwani - Shopify Expert
*Was this helpful? Click Like to let us know!
*Was your question answered? Mark it as an Accepted Solution.
*My Shopify Apps: https://apps.shopify.com/partners/girish-rajwani
Replies 0 (0)