Skip to content

Commit

Permalink
Merge branch 'main' into emphasize-app-specific-webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
byrichardpowell authored Sep 12, 2024
2 parents 3f180ee + 557b787 commit 6615c58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/shopify_app/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
You can specify app-specific webhooks to subscribe to in the `shopify.app.toml` file. These subscriptions are easier to manage because they are kept up to date by Shopify. In many cases they will be sufficient. Please read [app-specific vs shop-specific subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe#app-specific-vs-shop-specific-subscriptions) to understand when you might need shop-specific webhooks.

### Consuming app-specific webhooks events
To consume app-specific webhooks events from the `shopify.app.toml` file you can scaffold the necessary files by running the following generator.
To consume app-specific webhooks events from the `shopify.app.toml` file, you can scaffold the necessary files by running the following generator.

```bash
rails g shopify_app:add_declarative_webhook --topic carts/update --path webhooks/carts_update
Expand Down

0 comments on commit 6615c58

Please sign in to comment.