Anchor to EventSubscriptionsSetPayloadEvent
payloadEvent Subscriptions Set Payload
Return type for mutation.
Anchor to FieldsFields
- 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?
Anchor to Mutations with this payloadMutations with this payload
- eventSubscriptionsSet (EventSubscriptionsSetPayload)
- •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
- Anchor to eventSubscriptionsevent•[Event
Subscriptions Subscription Input!]! required The complete configuration of each subscription. Maximum of 25.
Show input fields
Arguments
Was this section helpful?