App reviews, troubleshooting, and recommendations
Hi Guys,
In Shopify node template, i am getting Webhook processed, returned status code 200
whenever webhooks are executed.
My question is from where it's coming and how can i modify it ?
I want to modify app uninstall & shop redact so that i can delete data and return 200.
Any help would be really appreciated 🙂
Thanks.
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
Hi,
The status code 200 you mentioned indicates a successful response to the webhook request. In Shopify, webhooks are triggered events that send data from your store to a specified endpoint (URL) when certain events occur, such as app uninstall or shop redact.
To modify the behavior of the app uninstall and shop redact webhooks, you'll need to handle these events in your server-side code that receives the webhook requests. Depending on the programming language and framework you're using, the implementation may vary. However, the general steps are as follows:
By customizing the webhook handling code, you can perform actions specific to your application, such as deleting data or performing additional operations. Make sure to consult Shopify's documentation for the specific webhook events you're interested in and their payload structure.
If you provide more details about your specific programming language and framework, I can provide a more specific example or guide you further.
Hey @Aliza915
thanks for reply. i am using node.JS and i am stuck on where to execute code and return response.
1. There is already app uninstalled hook defined and returning response in shopify node template but not able to find where it is.
2. in GDPR.js if i am defining app uninstalled hook , then it is giving me multiple webhook error but in GDPR how can i verify HMAC & return response ? there is no req, res object
3. currently
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
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024