Create a channel
Creates a new channel on the current store. code is normalized to a
URL-safe slug (Point of Sale → point-of-sale); when omitted it’s
derived from name.
Required scope: write_settings (for API-key authentication).
Authorizations
Secret API key for admin access
JWT token for admin user authentication
Body
"Point of Sale"
URL-safe slug, derived from name when blank (Point of Sale becomes point-of-sale).
"pos"
Order routing strategy shorthand (built-in: rules). Null inherits the store setting.
What anonymous visitors can see. Null inherits the store setting.
public, prices_hidden, login_required Whether guests can check out without an account. Null inherits the store setting.
Catalog (cat_...) shown to shoppers no company or customer group catalog covers. Null means every product published on the channel.
Stock locations (sloc_...) that fulfill this channel. Replaces the whole set; an empty list means every location of the store.
Response
channel created

