Skip to main content
Anchor to EventSubscriptionsSetPayload

EventSubscriptionsSetPayload

payload

Return type for eventSubscriptionsSet mutation.

•[EventSubscription!]

The subscriptions as they were set, in the order of the input. Null when any input was rejected.

Show fields
•[EventSubscriptionsSetUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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?