Anchor to eventSubscriptionsSetevent
mutationevent Subscriptions Set
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.
Anchor to Arguments
Arguments
- eventSubscriptions ([EventSubscriptionInput!]!)
- Anchor to eventSubscriptionsevent•[Event
Subscriptions Subscription Input!]! required The complete configuration of each subscription. Maximum of 25.
Show input fields
Was this section helpful?
- eventSubscriptions ([EventSubscription!])
- userErrors ([EventSubscriptionsSetUserError!]!)
- Anchor to eventSubscriptionsevent•[Event
Subscriptions Subscription!] The subscriptions as they were set, in the order of the input. Null when any input was rejected.
Show fields
- Anchor to userErrorsuser•[Event
Errors Subscriptions Set User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields
Was this section helpful?