Skip to content

Commit f4ffa8e

Browse files
committed
Add documentation for supporting Metafields in webhooks
1 parent 5c748ed commit f4ffa8e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
[webhooks]
2-
api_version = "2024-04"
2+
api_version = "2025-04"
33

44
[[webhooks.subscriptions]]
55
topics = [ "app/uninstalled" ]
66
uri = "/webhooks"
77
compliance_topics = [ "customers/data_request", "customers/redact", "shop/redact" ]
8+
9+
[[webhooks.subscriptions]]
10+
topics = [ "products/update" ]
11+
uri = "https://example.org/endpoint"
12+
13+
[[webhooks.subscriptions.metafields]]
14+
namespace = "custom"
15+
key = "ingredients"
16+
17+
[[webhooks.subscriptions.metafields]]
18+
namespace = "$app:product_highlight"
19+
key = "title"

0 commit comments

Comments
 (0)