Anchor to EventSubscriptionsSetUserErrorEvent
objectEvent Subscriptions Set User Error
An error that occurs during the execution of .
Anchor to FieldsFields
- code (EventSubscriptionsSetUserErrorCode)
- elementIndex (Int)
- field ([String!])
- message (String!)
- Anchor to codecode•Event
Subscriptions Set User Error Code The error code.
Show enum values
- Anchor to elementIndexelement•Int
Index The index of the subscription in
that the error is about.- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Was this section helpful?
Anchor to MutationsMutations
- 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?