Order details (with identifier)
curl --request GET \
--url https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Merchant-Id: <api-key>'import requests
url = "https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}"
headers = {
"X-Api-Key": "<api-key>",
"X-Merchant-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Api-Key': '<api-key>', 'X-Merchant-Id': '<api-key>'}
};
fetch('https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}', 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/admin/v1/orders/identifier/{identifier}",
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-Api-Key: <api-key>",
"X-Merchant-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/admin/v1/orders/identifier/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Merchant-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/admin/v1/orders/identifier/{identifier}")
.header("X-Api-Key", "<api-key>")
.header("X-Merchant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
request["X-Merchant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 123,
"identifier": "<string>",
"user_id": 123,
"channel_id": 123,
"outlet_id": 123,
"brand_id": 123,
"fulfilment_type": "<string>",
"state": "<string>",
"call_number": 123,
"notes": "<string>",
"source_label": "<string>",
"serving_date": "2023-12-25",
"timeslot_start": 123,
"timeslot_end": 123,
"timeslot_range": "<string>",
"contact_name": "<string>",
"contact_email": "<string>",
"contact_number": "<string>",
"external_order_id": "<string>",
"external_order_short_code": "<string>",
"is_gift": true,
"is_paid": true,
"promo_code": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"address_latitude": 123,
"address_longitude": 123,
"postal_code": "<string>",
"is_cutlery_required": true,
"is_contactless": true,
"is_asap": true,
"recipient_name": "<string>",
"recipient_contact_number": "<string>",
"recipient_organisation_name": "<string>",
"gift_message": "<string>",
"confirmation_custom_message": "<string>",
"current_trip": {},
"payment_breakdown": {},
"created_at": 123,
"updated_at": 123,
"cancelled_at": 123,
"completed_at": 123,
"order_items": [
{
"id": 123,
"item_id": 123,
"name": "<string>",
"quantity": 123,
"currency": "<string>",
"price_cents": 123,
"discount": 123,
"calculated_subtotal": 123,
"notes": "<string>",
"report_category": "<string>",
"product_tags": [
"<string>"
],
"kitchen_tags": [
"<string>"
],
"sub_items": "<array>"
}
],
"order_payments": [
{
"id": 123,
"capture_id": "<string>",
"is_captured": true,
"capture_type": "<string>",
"payment_method_id": 123,
"amount": 123
}
]
}{
"type": "<string>",
"message": "<string>",
"error_hash": {}
}GET
/
orders
/
identifier
/
{identifier}
Order details (with identifier)
curl --request GET \
--url https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier} \
--header 'X-Api-Key: <api-key>' \
--header 'X-Merchant-Id: <api-key>'import requests
url = "https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}"
headers = {
"X-Api-Key": "<api-key>",
"X-Merchant-Id": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {'X-Api-Key': '<api-key>', 'X-Merchant-Id': '<api-key>'}
};
fetch('https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}', 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/admin/v1/orders/identifier/{identifier}",
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-Api-Key: <api-key>",
"X-Merchant-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/admin/v1/orders/identifier/{identifier}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
req.Header.Add("X-Merchant-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/admin/v1/orders/identifier/{identifier}")
.header("X-Api-Key", "<api-key>")
.header("X-Merchant-Id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.atlas.kitchen/admin/v1/orders/identifier/{identifier}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
request["X-Merchant-Id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": 123,
"identifier": "<string>",
"user_id": 123,
"channel_id": 123,
"outlet_id": 123,
"brand_id": 123,
"fulfilment_type": "<string>",
"state": "<string>",
"call_number": 123,
"notes": "<string>",
"source_label": "<string>",
"serving_date": "2023-12-25",
"timeslot_start": 123,
"timeslot_end": 123,
"timeslot_range": "<string>",
"contact_name": "<string>",
"contact_email": "<string>",
"contact_number": "<string>",
"external_order_id": "<string>",
"external_order_short_code": "<string>",
"is_gift": true,
"is_paid": true,
"promo_code": "<string>",
"address_line1": "<string>",
"address_line2": "<string>",
"address_latitude": 123,
"address_longitude": 123,
"postal_code": "<string>",
"is_cutlery_required": true,
"is_contactless": true,
"is_asap": true,
"recipient_name": "<string>",
"recipient_contact_number": "<string>",
"recipient_organisation_name": "<string>",
"gift_message": "<string>",
"confirmation_custom_message": "<string>",
"current_trip": {},
"payment_breakdown": {},
"created_at": 123,
"updated_at": 123,
"cancelled_at": 123,
"completed_at": 123,
"order_items": [
{
"id": 123,
"item_id": 123,
"name": "<string>",
"quantity": 123,
"currency": "<string>",
"price_cents": 123,
"discount": 123,
"calculated_subtotal": 123,
"notes": "<string>",
"report_category": "<string>",
"product_tags": [
"<string>"
],
"kitchen_tags": [
"<string>"
],
"sub_items": "<array>"
}
],
"order_payments": [
{
"id": 123,
"capture_id": "<string>",
"is_captured": true,
"capture_type": "<string>",
"payment_method_id": 123,
"amount": 123
}
]
}{
"type": "<string>",
"message": "<string>",
"error_hash": {}
}Authorizations
Your API key provided during onboarding. Example c2fb5ae6ea99c37d...
Your numeric merchant ID. Example 1
Path Parameters
Response
Full order
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?
⌘I