Event Subscription Input
The input fields for the complete configuration of an event subscription.
Anchor to FieldsFields
- actions ([EventSubscriptionAction!]!)
- handle (String!)
- query (String)
- queryFilter (String)
- topic (String!)
- triggers ([String!])
- uri (String!)
- Anchor to actionsactions•[Event
Subscription Action!]! non-null The actions on the topic's resource that deliver an event.
Show enum values
- Anchor to handlehandle•String!non-null
The handle that identifies the subscription within the app. Alphanumeric characters, hyphens and underscores, 1 to 50 characters.
- Anchor to queryquery•String
The GraphQL query that builds the event payload.
- Anchor to queryFilterquery•String
Filter A filter in Shopify API search syntax that an event must match to be delivered.
- Anchor to topictopic•String!non-null
The event topic to subscribe to, for example
Product.- Anchor to triggerstriggers•[String!]
The fields of the topic's resource whose changes deliver an event. Required when
actionsincludesUPDATE. Topics with a dynamic root trigger, such asMetaobject, take triggers for every action.- •String!non-null
The URI where events are delivered. Supports an HTTPS URL, a Google Pub/Sub URI (
pubsub://{project-id}:{topic-id}) or an Amazon EventBridge event source ARN.