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 🙂
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.
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
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023