List channel integration products
curl --request GET \
--url https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products', 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://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"appIntegrationAccountId": 123,
"channelSku": "<string>",
"channelProductName": "<string>",
"lumSku": "<string>",
"bufferQuantity": 123,
"bufferType": "fixed",
"maxPushQuantity": 123,
"leadTimeDays": 123,
"price": 123,
"gtin": "<string>",
"ignoreStock": true,
"effectiveBufferQuantity": 123,
"effectiveBufferType": "fixed",
"effectiveMaxPushQuantity": 123,
"lastPushedQuantity": 123,
"lastPushedAt": "<string>"
}
],
"links": {},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"per_page": 10,
"to": 10,
"total": 50
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}Channels
List channel integration products
List the channel SKU → Luminous SKU mappings on a sales or end-to-end channel: the read side of
POST /channels/{channelId}/integration-products, using the same field names (the same rows as the
Channel Products export). Results are ordered by id and paginated.
bufferQuantity, bufferType and maxPushQuantity are the row’s own values on this channel and are
null when the row inherits from the product or channel defaults; the effective* fields show the values
actually applied to stock pushes. A row can be posted back to the sync endpoint unchanged without pinning
the inherited values.
Sales and end-to-end channels only — returns 422 against fulfillment channels.
GET
/
channels
/
{channelId}
/
integration-products
List channel integration products
curl --request GET \
--url https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products \
--header 'Authorization: Bearer <token>'import requests
url = "https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products', 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://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{companyName}.api.joinluminous.com/external/api/v1/channels/{channelId}/integration-products")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"appIntegrationAccountId": 123,
"channelSku": "<string>",
"channelProductName": "<string>",
"lumSku": "<string>",
"bufferQuantity": 123,
"bufferType": "fixed",
"maxPushQuantity": 123,
"leadTimeDays": 123,
"price": 123,
"gtin": "<string>",
"ignoreStock": true,
"effectiveBufferQuantity": 123,
"effectiveBufferType": "fixed",
"effectiveMaxPushQuantity": 123,
"lastPushedQuantity": 123,
"lastPushedAt": "<string>"
}
],
"links": {},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 5,
"per_page": 10,
"to": 10,
"total": 50
}
}{
"message": "<string>"
}{
"message": "<string>"
}{
"message": "<string>"
}