Create a sales channel
ecommerce_createASalesChannelV1Create a sales channel for your store, choosing a headless custom channel syncing via Ecommerce API or a hosted quick-link one-page store.
Instructions
Create a sales channel for a store. A "custom" channel is headless: build your own frontend and keep your catalog, orders, shipping and payments in sync through the Ecommerce API. A "quick-link" channel is a hosted one-page store whose handle is auto-generated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional public url for the channel. Custom channels only; not supported for quick-link. | |
| name | No | Merchant-facing custom name. Required for custom channels; not supported for quick-link. | |
| type | Yes | Sales channel type. "custom" is a headless channel: it requires a name and takes an optional public url. "quick-link" is a one-page store whose handle is auto-generated; it supports neither name nor url. | |
| store_id | Yes | The ID of the store to create the sales channel for. |