update - Sales Channel Module Reference
This documentation provides a reference to the update
method. This belongs to the Sales Channel Module.
update(channelId, data, sharedContext?): Promise<SalesChannelDTO>
This method updates an existing sales channel.
Example
Parameters
channelId
stringRequiredThe sales channel's ID.
The attributes to update in the sales channel.
Returns
The updated sales channel.
update(selector, data, sharedContext?): Promise<SalesChannelDTO[]>
This method updates existing sales channels matching the specified filters
Example
Parameters
The filters specifying which sales channels to update.
The attributes to update in the sales channel.
Returns
The updated sales channels.
Was this section helpful?