Shops > Sales Channels > salesChannelsCreate
POST:sales_channels.json
Description
Create one or multiple sales channels.
Permission bit: "sales_channels.create"
Topic: Sales Channels
Arguments
data: [SalesChannelCreate!]!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
Whether this sales channel is enabled or not
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
Whether this sales channel can be used via storefront API or not
Result
[SalesChannel!]
Preview (typescript)
Loading module