Skip to main content
Version: 3.x

channelUpdate

Update a channel.

Requires MANAGE_CHANNELSpermission.
Requires one of the following permissions when updating only `orderSettings` field: `MANAGE_CHANNELS``MANAGE_ORDERS`
Requires one of the following permissions when updating only `checkoutSettings` field: `MANAGE_CHANNELS``MANAGE_CHECKOUTS`
Requires one of the following permissions when updating only `paymentSettings` field: `MANAGE_CHANNELS``HANDLE_PAYMENTS`

Triggers the following webhook events:

  • CHANNEL_UPDATED (async): A channel was updated.
  • CHANNEL_METADATA_UPDATED (async): Optionally triggered when public or private metadata is updated.
channelUpdate(
id: ID!
input: ChannelUpdateInput!
): ChannelUpdate

Arguments

channelUpdate.id ● ID! non-null scalar

ID of a channel to update.

channelUpdate.input ● ChannelUpdateInput! non-null input

Fields required to update a channel.

Type

ChannelUpdate object

Update a channel.

Requires MANAGE_CHANNELSpermission.
Requires one of the following permissions when updating only `orderSettings` field: `MANAGE_CHANNELS``MANAGE_ORDERS`
Requires one of the following permissions when updating only `checkoutSettings` field: `MANAGE_CHANNELS``MANAGE_CHECKOUTS`
Requires one of the following permissions when updating only `paymentSettings` field: `MANAGE_CHANNELS``HANDLE_PAYMENTS`

Triggers the following webhook events:

  • CHANNEL_UPDATED (async): A channel was updated.
  • CHANNEL_METADATA_UPDATED (async): Optionally triggered when public or private metadata is updated.

Was this page helpful?