Race-Nation-Shopify-Frontend/shopify.app.toml
MOHAN b84e21b4f2 feat(app): add read_locations to access scopes
Required to auto-fetch primary store location during OAuth so inventory
can be assigned correctly during product imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-22 00:46:37 +05:30

52 lines
1.4 KiB
TOML

# Learn more about configuring your app at https://shopify.dev/docs/apps/tools/cli/configuration
client_id = "4601ec30c0ded33750016848efad52fc"
name = "Race-Nation-Import"
application_url = "https://racenation.thedomainnest.com"
embedded = true
[build]
automatically_update_urls_on_dev = true
[webhooks]
api_version = "2026-07"
[[webhooks.subscriptions]]
topics = [ "app/uninstalled" ]
uri = "/webhooks/app/uninstalled"
[[webhooks.subscriptions]]
topics = [ "app/scopes_update" ]
uri = "/webhooks/app/scopes_update"
[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "write_products,write_files,write_inventory,write_publications,read_locations"
[auth]
redirect_urls = [ "https://racenationapi.thedomainnest.com/auth/callback" ]
[product.metafields.app.demo_info]
type = "single_line_text_field"
name = "Demo Source Info"
description = "Tracks products created by the Shopify app template for development"
[product.metafields.app.demo_info.access]
admin = "merchant_read_write"
[metaobjects.app.example]
name = "Example"
description = "An example metaobject definition created by this template"
[metaobjects.app.example.access]
admin = "merchant_read_write"
[metaobjects.app.example.fields.title]
name = "Title"
type = "single_line_text_field"
required = true
[metaobjects.app.example.fields.description]
name = "Description"
type = "multi_line_text_field"