-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathshopify.app.toml
More file actions
68 lines (52 loc) · 1.7 KB
/
shopify.app.toml
File metadata and controls
68 lines (52 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Learn more about configuring your app at https://shopify.dev/docs/apps/tools/cli/configuration
client_id = "<YOUR_CLIENT_ID>"
name = "<YOUR_APP_NAME>"
application_url = "<YOUR_APP_URL>"
embedded = true
[build]
automatically_update_urls_on_dev = true
include_config_on_deploy = true
[webhooks]
api_version = "2026-04"
[[webhooks.subscriptions]]
topics = [ "app/uninstalled" ]
uri = "/webhooks/app/uninstalled"
[[webhooks.subscriptions]]
topics = [ "app/scopes_update" ]
uri = "/webhooks/app/scopes_update"
# [START access-scopes]
[access_scopes]
# Learn more at https://shopify.dev/docs/apps/tools/cli/configuration#access_scopes
scopes = "write_metaobject_definitions,write_metaobjects,write_products"
# [END access-scopes]
[auth]
redirect_urls = [ "https://example.com/api/auth" ]
[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"
# [START metaobject-definition]
[metaobjects.app.qrcode]
name = "QR Code"
description = "QR codes that link to products"
[metaobjects.app.qrcode.access]
admin = "merchant_read_write"
[metaobjects.app.qrcode.fields.title]
name = "Title"
type = "single_line_text_field"
required = true
[metaobjects.app.qrcode.fields.product]
name = "Product"
type = "product_reference"
[metaobjects.app.qrcode.fields.product_variant]
name = "Product Variant"
type = "variant_reference"
[metaobjects.app.qrcode.fields.destination]
name = "Destination"
type = "single_line_text_field"
[metaobjects.app.qrcode.fields.scans]
name = "Scans"
type = "number_integer"
# [END metaobject-definition]