event Subscription
Returns the event subscription that the authenticated app set on the shop with ,
matched by handle, or null when the app set none with that handle. A subscription the app's
configuration declares is not set on the shop and isn't returned here.
Arguments
- handle (String!)
- Anchor to handlehandle•String!required
The handle of the subscription.
Anchor to Possible returnsPossible returns
- EventSubscription (EventSubscription)
- Anchor to EventSubscriptionEvent•Event
Subscription Subscription An event subscription that the app set on the shop.
Show fields
- Anchor to actionsactions•[Event
Subscription Action!]! non-null The actions on the topic's resource that deliver an event.
Show enum values
- Anchor to apiVersionapi•String!
Version non-null The API version of the event payloads: the version of the request that last set the subscription.
- Anchor to handlehandle•String!non-null
The handle that identifies the subscription within the app.
- Anchor to queryquery•String
The GraphQL query that builds the event payload.
- Anchor to queryFilterquery•String
Filter The filter in Shopify API search syntax that an event must match to be delivered.
- Anchor to topictopic•String!non-null
The event topic the subscription is on.
- Anchor to triggerstriggers•[String!]!non-null
The fields of the topic's resource whose changes deliver an event.
- •String!non-null
The URI where events are delivered: an HTTPS URL, a Google Pub/Sub URI or an Amazon EventBridge event source ARN.