Shops > Sales Channels > salesChannelsModify
Commerce APIShopsSales ChannelssalesChannelsModify
salesChannelsModify
POST:sales_channels.json

Description

Modify one or multiple sales channels.

Permission bit: "sales_channels.modify"

Topic: Sales Channels

Arguments

data: [SalesChannelModify!]!

Main argument for mutations.


ids: [String!]!

List of sales channel ids. See also: Unique Identifiers

Example: ["sc_EQzGqWoY"]


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Data Argument Fields

enabled: Boolean

Whether this sales channel is enabled or not


name: String

The name of the sales channel

Example: "Amazon Integration"

Valid when: name is not empty

Valid when: name's length doesn't exceed 250 characters


storefront: Boolean

Whether this sales channel can be used via storefront API or not


Result

[SalesChannel!]

Preview (typescript)

Loading module