Get channel
curl --request GET \
--url https://api.atlas.kitchen/storefronts/v1/channel \
--header 'X-Channel-Id: <api-key>'import requests
url = "https://api.atlas.kitchen/storefronts/v1/channel"
headers = {"X-Channel-Id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Channel-Id': '<api-key>'}};
fetch('https://api.atlas.kitchen/storefronts/v1/channel', 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.atlas.kitchen/storefronts/v1/channel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Channel-Id: <api-key>"
],
]);
$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://api.atlas.kitchen/storefronts/v1/channel"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Channel-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.atlas.kitchen/storefronts/v1/channel")
.header("X-Channel-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlas.kitchen/storefronts/v1/channel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Channel-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"config": {
"country": "SG",
"tax_rates": {
"default": 0
},
"currency": "SGD",
"features": {
"use_dish_notes_on_item": false,
"hide_cutlery_required": false,
"show_language_selector": false,
"push_disabled_sections_to_bottom": false
},
"tax_inclusive_prices": false,
"time_zone": "Asia/Singapore",
"ui_definitions": []
},
"outlets": [
{
"id": 1,
"name": "Aviato Burger - McNair",
"description": "Aviato Burger at 51 McNair Road",
"uen": "T09LL0001B",
"address": "51 McNair Rd, Singapore",
"postal_code": "328539",
"contact_number": "+6598871122",
"coordinates": {
"longitude": 103.858,
"latitude": 1.32
},
"general_service_hours": {
"delivery": [
{
"day_of_week": 0,
"closed": false,
"service_hours": [
{
"name": "Lunch Service",
"service_start": 32400,
"service_end": 50400,
"lead_time": 3600,
"service_range": "9:00AM–2:00PM"
},
{
"name": "Dinner Service",
"service_start": 57600,
"service_end": 79200,
"lead_time": 3600,
"service_range": "4:00PM–10:00PM"
}
]
}
],
"pickup": [
{
"day_of_week": 0,
"closed": false,
"service_hours": [
{
"name": "Lunch Service",
"service_start": 32400,
"service_end": 50400,
"lead_time": 3600,
"service_range": "9:00AM–2:00PM"
}
]
}
]
},
"special_hours": [],
"delivery_fee_config": null
}
],
"referral": null,
"point_program": null
}{
"type": "Invalid Parameter",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
]
}Get channel
Returns merchant config, outlets with service hours, referral program, and point program. Creates a new session if X-Session-Id is not provided.
GET
/
channel
Get channel
curl --request GET \
--url https://api.atlas.kitchen/storefronts/v1/channel \
--header 'X-Channel-Id: <api-key>'import requests
url = "https://api.atlas.kitchen/storefronts/v1/channel"
headers = {"X-Channel-Id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Channel-Id': '<api-key>'}};
fetch('https://api.atlas.kitchen/storefronts/v1/channel', 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.atlas.kitchen/storefronts/v1/channel",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Channel-Id: <api-key>"
],
]);
$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://api.atlas.kitchen/storefronts/v1/channel"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Channel-Id", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.atlas.kitchen/storefronts/v1/channel")
.header("X-Channel-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlas.kitchen/storefronts/v1/channel")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Channel-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"config": {
"country": "SG",
"tax_rates": {
"default": 0
},
"currency": "SGD",
"features": {
"use_dish_notes_on_item": false,
"hide_cutlery_required": false,
"show_language_selector": false,
"push_disabled_sections_to_bottom": false
},
"tax_inclusive_prices": false,
"time_zone": "Asia/Singapore",
"ui_definitions": []
},
"outlets": [
{
"id": 1,
"name": "Aviato Burger - McNair",
"description": "Aviato Burger at 51 McNair Road",
"uen": "T09LL0001B",
"address": "51 McNair Rd, Singapore",
"postal_code": "328539",
"contact_number": "+6598871122",
"coordinates": {
"longitude": 103.858,
"latitude": 1.32
},
"general_service_hours": {
"delivery": [
{
"day_of_week": 0,
"closed": false,
"service_hours": [
{
"name": "Lunch Service",
"service_start": 32400,
"service_end": 50400,
"lead_time": 3600,
"service_range": "9:00AM–2:00PM"
},
{
"name": "Dinner Service",
"service_start": 57600,
"service_end": 79200,
"lead_time": 3600,
"service_range": "4:00PM–10:00PM"
}
]
}
],
"pickup": [
{
"day_of_week": 0,
"closed": false,
"service_hours": [
{
"name": "Lunch Service",
"service_start": 32400,
"service_end": 50400,
"lead_time": 3600,
"service_range": "9:00AM–2:00PM"
}
]
}
]
},
"special_hours": [],
"delivery_fee_config": null
}
],
"referral": null,
"point_program": null
}{
"type": "Invalid Parameter",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
]
}Was this page helpful?
⌘I