Skip to content

Commit

Permalink
Test no webhooks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cdarne committed Oct 18, 2024
1 parent 0b1d432 commit 49ac661
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions shopify.app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@

scopes = "write_products"

[webhooks]
api_version = "2024-07"

# Mandatory compliance topics for public apps
# Delete only if the app is not public
# See: https://shopify.dev/docs/apps/build/privacy-law-compliance
[[webhooks.subscriptions]]
uri = "/webhooks/customers/data_request"
compliance_topics = [ "customers/data_request"]

[[webhooks.subscriptions]]
uri = "/webhooks/customers/redact"
compliance_topics = [ "customers/redact" ]

[[webhooks.subscriptions]]
uri = "/webhooks/shop/redact"
compliance_topics = [ "shop/redact" ]

# When a shop uninstalls the app, delete the session for that shop
[[webhooks.subscriptions]]
uri = "/webhooks/app/uninstalled"
topics = [ "app/uninstalled" ]

# # For reference
# # Only receive webhooks for products with a price >= 10.00
# # See: https://shopify.dev/docs/apps/build/webhooks/customize/filters
# [[webhooks.subscriptions]]
# topics = ["products/update"]
# uri = "https://example.com/webhooks"
# filter = "variants.price:>=10.00"
# [webhooks]
# api_version = "2024-07"
#
# Mandatory compliance topics for public apps
# Delete only if the app is not public
# See: https://shopify.dev/docs/apps/build/privacy-law-compliance
# [[webhooks.subscriptions]]
# uri = "/webhooks/customers/data_request"
# compliance_topics = [ "customers/data_request"]
#
# [[webhooks.subscriptions]]
# uri = "/webhooks/customers/redact"
# compliance_topics = [ "customers/redact" ]
#
# [[webhooks.subscriptions]]
# uri = "/webhooks/shop/redact"
# compliance_topics = [ "shop/redact" ]
#
# When a shop uninstalls the app, delete the session for that shop
# [[webhooks.subscriptions]]
# uri = "/webhooks/app/uninstalled"
# topics = [ "app/uninstalled" ]
#
# # For reference
# # Only receive webhooks for products with a price >= 10.00
# # See: https://shopify.dev/docs/apps/build/webhooks/customize/filters
# [[webhooks.subscriptions]]
# topics = ["products/update"]
# uri = "https://example.com/webhooks"
# filter = "variants.price:>=10.00"

0 comments on commit 49ac661

Please sign in to comment.