Skip to main content

ChannelDeactivate

Deactivate a channel.

Requires MANAGE_CHANNELSpermission.

Triggers the following webhook events:

  • CHANNEL_STATUS_CHANGED (async): A channel was deactivated.
type ChannelDeactivate {
channel: Channel
channelErrors: [ChannelError!]! @deprecated
errors: [ChannelError!]!
}

Fields

ChannelDeactivate.channel ● Channel object channels

Deactivated channel.

ChannelDeactivate.channelErrors ● [ChannelError!]! deprecated non-null object channels

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

ChannelDeactivate.errors ● [ChannelError!]! non-null object channels

Returned By

channelDeactivate mutation