Skip to main content
object

An event subscription that the app set on the shop.

•[EventSubscriptionAction!]!
non-null

The actions on the topic's resource that deliver an event.

Show enum values
•String!
non-null

The API version of the event payloads: the version of the request that last set the subscription.

•String!
non-null

The handle that identifies the subscription within the app.

•String

The GraphQL query that builds the event payload.

•String

The filter in Shopify API search syntax that an event must match to be delivered.

•String!
non-null

The event topic the subscription is on.

•[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.


Was this section helpful?

•query

Returns the event subscription that the authenticated app set on the shop with eventSubscriptionsSet, 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.

Show fields

Arguments

•String!
required

The handle of the subscription.



Was this section helpful?

•mutation

Creates or replaces event subscriptions of the authenticated app on the shop, matched by handle.

Each input is a subscription's complete configuration. When no subscription has the handle, one is created. When one does, its whole configuration is replaced: a field left out of the input is removed from the subscription. Event payloads use the API version of the request.

The subscriptions are set together: when any of them is invalid, none is set. Takes up to 25 subscriptions in one call.

Show payload

Arguments

•[EventSubscriptionInput!]!
required

The complete configuration of each subscription. Maximum of 25.

Show input fields


Was this section helpful?