Skip to main content

channelUpdate

Updates an existing channel with new configuration data, including its markets and its default market.

Errors: CHANNEL_UPDATE_ERROR, CHANNEL_NOT_FOUND_ERROR if channel doesn't exist, CHANNEL_INVALID_MARKETS_ERROR when marketIds and defaultMarketId don't fit together, MARKET_NOT_FOUND_ERROR for an unknown market.

AUTH: Role=[configuration.OWNER,configuration.EDITOR]

channelUpdate(
id: Int!
input: ChannelUpdateInput!
): Channel!

Arguments​

channelUpdate.id ● Int! non-null scalar​

Unique identifier of the channel to update. Must be a valid channel ID that exists in the system.

channelUpdate.input ● ChannelUpdateInput! non-null input​

Updated channel configuration data. Only provided fields will be updated, others remain unchanged.

Type​

Channel object​

Represents a sales or distribution channel within a tenant. Channels define distinct pathways for product sales and customer interaction.