ecommerce_createASalesChannelV1
Create a custom or quick-link sales channel for a store. Use custom for headless frontends with your own URL, or quick-link for a hosted one-page store. Set the store ID, select a type, and configure channel details.
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. |