> ## Documentation Index
> Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Sales Channel

> Register a sales channel for your app so it can publish product listings

Registers a sales channel owned by your app. A sales channel is the container
your app publishes [product listings](/api-reference/product-listings/list)
into — create one before listing products. The call is idempotent per app:
re-posting returns your app's existing channel rather than creating a
duplicate.

**Auth:** OAuth access token with the `write_products` scope.

## Body Parameters

<ParamField body="name" type="string" required>
  Display name of the sales channel (e.g. `Facebook Shop`).
</ParamField>

<ParamField body="platform" type="string" required>
  Platform identifier for the channel (e.g. `facebook`, `amazon`, `custom`).
</ParamField>

<ParamField body="config" type="object">
  Channel-specific configuration. Opaque to the platform — stored and returned
  as-is.
</ParamField>

<ParamField body="sync_settings" type="object">
  Sync preferences for the channel. Stored and returned as-is.
</ParamField>

## Request

```json theme={null}
{
  "name": "Facebook Shop",
  "platform": "facebook",
  "config": { "catalog_id": "1234567890" }
}
```

## Response

```json theme={null}
{
  "sales_channel": {
    "id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "name": "Facebook Shop",
    "platform": "facebook"
  }
}
```

## Errors

| Status | Body                                            | Cause                                   |
| ------ | ----------------------------------------------- | --------------------------------------- |
| `400`  | `{ message: "name and platform are required" }` | `name` or `platform` missing.           |
| `403`  | `{ errors: { base: [...] } }`                   | Token lacks the `write_products` scope. |
