Domain
Supported actions: create, delete
Subscribe to events for the Domain GraphQL Admin API object.
The Domain topic has no field-level triggers because it doesn't support the update action.
A query for a deleted domain returns null.
shopify.app.toml
[events]
api_version = "unstable"
[[events.subscription]]
handle = "my_domain_event"
topic = "Domain"
actions = ["create", "delete"]
uri = "https://your-app.com/events"
query = """
query domain_details($domainId: ID!) {
domain(id: $domainId) {
id
}
}
"""
Was this page helpful?