I am attempting to set up Webhooks in a shopify app generated by the shopify-app-template-php. There is no clear documentation I can find about how to do this.
However, the template has already done a lot of this for us.
How am I supposed to register a Webhook for example orders/create without overriding the boilerplate that Shopify has provided in this template?
What is the correct way to process them after this? Where is the /api/webhooks endpoint that the boilerplate code sets being used? I can't find it in the template.
This is extremely unclear what the pattern should be for using Webhooks with this template without overriding the boilerplate code, and there are no docs I can find specifically to guide me.
Can anyone please help point me to the correct docs for how to set up and use Webhooks within this template?
Note:
I am developing a custom app that requires me to perform a certain task on when an event occurs in the store.
Issue summary
I am attempting to set up Webhooks in a shopify app generated by the shopify-app-template-php. There is no clear documentation I can find about how to do this.
However, the template has already done a lot of this for us. How am I supposed to register a Webhook for example orders/create without overriding the boilerplate that Shopify has provided in this template?
What is the correct way to process them after this? Where is the /api/webhooks endpoint that the boilerplate code sets being used? I can't find it in the template.
This is extremely unclear what the pattern should be for using Webhooks with this template without overriding the boilerplate code, and there are no docs I can find specifically to guide me.
Can anyone please help point me to the correct docs for how to set up and use Webhooks within this template?
Note: I am developing a custom app that requires me to perform a certain task on when an event occurs in the store.