Create Sales Channel
curl --request POST \
--url https://api.launchmystore.io/api/v1/sales_channels.json \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"platform": "<string>",
"config": {},
"sync_settings": {}
}
'import requests
url = "https://api.launchmystore.io/api/v1/sales_channels.json"
payload = {
"name": "<string>",
"platform": "<string>",
"config": {},
"sync_settings": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', platform: '<string>', config: {}, sync_settings: {}})
};
fetch('https://api.launchmystore.io/api/v1/sales_channels.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/sales_channels.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'platform' => '<string>',
'config' => [
],
'sync_settings' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/sales_channels.json"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.launchmystore.io/api/v1/sales_channels.json")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/sales_channels.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}"
response = http.request(request)
puts response.read_bodySales Channels
Create Sales Channel
Register a sales channel for your app so it can publish product listings
POST
/
api
/
v1
/
sales_channels.json
Create Sales Channel
curl --request POST \
--url https://api.launchmystore.io/api/v1/sales_channels.json \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"platform": "<string>",
"config": {},
"sync_settings": {}
}
'import requests
url = "https://api.launchmystore.io/api/v1/sales_channels.json"
payload = {
"name": "<string>",
"platform": "<string>",
"config": {},
"sync_settings": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', platform: '<string>', config: {}, sync_settings: {}})
};
fetch('https://api.launchmystore.io/api/v1/sales_channels.json', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.launchmystore.io/api/v1/sales_channels.json",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'platform' => '<string>',
'config' => [
],
'sync_settings' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.launchmystore.io/api/v1/sales_channels.json"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.launchmystore.io/api/v1/sales_channels.json")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.launchmystore.io/api/v1/sales_channels.json")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"platform\": \"<string>\",\n \"config\": {},\n \"sync_settings\": {}\n}"
response = http.request(request)
puts response.read_bodyRegisters the sales channel owned by your app. A sales channel is the
container your app publishes product listings
into — create one before listing products.
The call is idempotent per app: an app has one channel per store, and
re-posting returns it (
200) instead of creating a duplicate. A channel the
merchant disconnected is reactivated with the name, platform and settings you
send.
Auth: OAuth access token with the write_products scope.
Body Parameters
The body can be flat or wrapped in{ "sales_channel": { ... } }.
Request
{
"sales_channel": {
"name": "Facebook Shop",
"platform": "facebook",
"config": { "catalog_id": "1234567890" }
}
}
Response
A baresales_channel object — 201 when created, 200 when your app
already had one.
{
"sales_channel": {
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"name": "Facebook Shop",
"platform": "facebook",
"status": "active",
"config": { "catalog_id": "1234567890" },
"sync_settings": {},
"last_sync_at": null,
"created_at": "2026-09-27T10:00:00.000Z",
"updated_at": "2026-09-27T10:00:00.000Z"
}
}
Errors
Errors are a standard{ "errors": { "base": [...] } } body.
| Status | Cause |
|---|---|
422 | name or platform missing |
401 | Invalid or missing access token |
403 | Token lacks the write_products scope |