datewise/shopify.app.toml
metatroncubeswdev 85ed1a8f0e feat: delivery-label and payment-rules checkout functions with Settings toggles
- delivery-label renames only options matching the chosen method (en/fr dates)
- payment-rules hides COD / pay-in-store for shipped orders
- functions matched by handle (fixes guard lookup matching any 'datewise' title)
- scopes: write_delivery_customizations, write_payment_customizations

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 21:21:55 -04:00

53 lines
1.5 KiB
TOML

# Learn more: https://shopify.dev/docs/apps/tools/cli/configuration
# Run `shopify app config link` to fill client_id and URLs from your Partner app.
client_id = "REPLACE_WITH_CLIENT_ID"
name = "Datewise: Delivery & Pickup"
handle = "datewise"
application_url = "https://example.com"
embedded = true
[build]
automatically_update_urls_on_dev = true
include_config_on_deploy = true
[access_scopes]
# Each scope is used by a shipped feature — see README "Permissions".
scopes = "read_products,write_products,write_publications,read_orders,write_orders,read_customers,read_locations,read_inventory,write_validations,write_delivery_customizations,write_payment_customizations"
[auth]
redirect_urls = ["https://example.com/auth/callback"]
[webhooks]
api_version = "2026-01"
[[webhooks.subscriptions]]
topics = ["app/uninstalled", "app/scopes_update"]
uri = "/webhooks/app"
[[webhooks.subscriptions]]
topics = ["orders/create"]
uri = "/webhooks/orders/create"
[[webhooks.subscriptions]]
topics = ["orders/cancelled"]
uri = "/webhooks/orders/cancelled"
[[webhooks.subscriptions]]
topics = ["orders/fulfilled"]
uri = "/webhooks/orders/fulfilled"
[[webhooks.subscriptions]]
compliance_topics = ["customers/data_request", "customers/redact", "shop/redact"]
uri = "/webhooks/compliance"
# Storefront widget talks to the app through the shop's own domain:
# https://{shop}/apps/datewise/availability → {application_url}/proxy/availability
[app_proxy]
url = "https://example.com/proxy"
subpath = "datewise"
prefix = "apps"
[pos]
embedded = false