channelDeactivate Mutation
Deactivate a channel.
Triggers the following webhook events:
- CHANNEL_STATUS_CHANGED (async): A channel was deactivated.
Applied directives
@webhookEventsInfo(asyncEvents: [CHANNEL_STATUS_CHANGED], syncEvents: [])
channelDeactivate(id: ID!): ChannelDeactivate
Returns
Show return type
type ChannelDeactivate {
channel: Channel
channelErrors: [ChannelError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [ChannelError!]!
}Arguments
id
id · ID!
ID of the channel to deactivate.
Schema: Saleor 3.23.43. Download SDL.