Skip to main content

channelDelete Mutation

Delete a channel. Orders associated with the deleted channel will be moved to the target channel. Checkouts, product availability, and pricing will be removed.

Requires MANAGE_CHANNELSpermission.

Triggers the following webhook events:

  • CHANNEL_DELETED (async): A channel was deleted.
channelDelete(
id: ID!
input: ChannelDeleteInput
): ChannelDelete

Arguments

channelDelete.id ● ID! non-null scalar miscellaneous

ID of a channel to delete.

channelDelete.input ● ChannelDeleteInput input channels

Fields required to delete a channel.

Type

ChannelDelete object channels

Delete a channel. Orders associated with the deleted channel will be moved to the target channel. Checkouts, product availability, and pricing will be removed.

Requires MANAGE_CHANNELSpermission.

Triggers the following webhook events:

  • CHANNEL_DELETED (async): A channel was deleted.