Introduction
This documentation aims to provide all the information you need to work with our API.
Base URL
https://restronik.dev
Authenticating requests
This API is authenticated by sending an Authorization header with the value "Bearer {YOUR_API_KEY}".
Application
GET Menu Items
Response
Response Fields
id integer
translations.{lang}.name string
translations.{lang}.short_description string
translations.{lang}.long_description string
unit_type string
responses: "piece", "mass"
unit_quantity number
category object
Check "Menu Item Category > Show"
plu string
barcode_number string
order integer
is_open_priced boolean
price.{service_type} string
responses: "NUMBER", "service disabled", "open priced"
tax_rate string
has_not_allergen boolean
allergens.id integer
allergens.translations.{lang}.name string
allergens.translations.{lang}.description string
stock_status boolean
is_hidden boolean
If TRUE then only waiters should see this data and customers shouldn't.
sales_status.{service_type} string
responses: "BOOL", "service disabled"
calorie integer
preparation_time integer
recipe string
recipe_items.id integer
recipe_items.is_removable boolean
recipe_items.translations.{lang}.name string
stations.{service_type}.id integer
stations.{service_type}.name string
stations.{service_type}.printer.id integer
stations.{service_type}.printer.name string
stations.{service_type}.printer.ip_address string
stations.{service_type}.printer.port string
stations.{service_type}.printer.mac_address string
stations.{service_type}.printer.serial_number string
stations.{service_type}.printer.registration_number string
modifiers.id integer
modifiers.type string
responses: "single", "multiple"
modifiers.is_hidden boolean
If TRUE then only waiters should see this data and customers shouldn't.
modifiers.is_required boolean
modifiers.min integer
modifiers.max integer
modifiers.translations.{lang}.title string
modifiers.modifier_items.id integer
modifiers.modifier_items.type string
responses: "text", "product"
modifiers.modifier_items.price string
modifiers.modifier_items.order integer
modifiers.modifier_items.status boolean
modifiers.modifier_items.defaul boolean
modifiers.modifier_items.translations.{lang}.name string
media.image.image_url string
Max resolution: 1024 x 1024 px
media.image.thumb_url string
Max resolution: 300 x 300 px
media.image.original_url string
media.image.original_size integer
GET Menu Item Categories
Response
Response Fields
id integer
is_active boolean
is_hidden boolean
If TRUE then only waiters should see this data and customers shouldn't.
translations.{lang}.name string
translations.{lang}.description string
media.image.image_url string
Max resolution: 1024 x 1024 px
media.image.thumb_url string
Max resolution: 300 x 300 px
media.image.original_url string
media.image.original_size integer
Flutter Restaurant
GET About
Restroid hakkında
Example request:
curl --request GET \
--get "https://restronik.dev/api/v1/flutter-restaurant/Abouts" \
--header "Content-Type: application/json" \
--header "Accept: application/json"Example response (200):
[
{
"about_id": "abt1",
"about_title": "Restroid® Co.",
"about_description": "Restaurant Management System",
"about_email": "info@restroid.com",
"about_phone": "+90 (850) 885 54 91",
"about_website": "http://www.restroid.com",
"ads_on": "0",
"ads_client": "",
"ads_slot": "",
"analyt_on": "0",
"analyt_track_id": "",
"facebook": "",
"google_plus": "",
"instagram": "",
"youtube": "",
"pinterest": "",
"twitter": "",
"privacypolicy": "This Privacy Policy explains how your personal information is collected, used, and disclosed by #WEBSITE_NAME#.",
"default_photo": {
"img_id": "",
"img_parent_id": "abt1",
"img_type": "",
"img_path": "https://restronik.com/assets/images/flutter-restaurant/about-1000x1000.jpg",
"Img_width": "1000",
"img_height": "1000",
"img_desc": "",
"added_date": "2022-03-19 03:00:00",
"added_user_id": "",
"updated_date": "2022-03-19 03:00:00",
"updated_user_id": "",
"is_default": "0"
}
}
]
Received response:
Request failed with error:
GET Categories
Example request:
curl --request GET \
--get "https://restronik.dev/api/v1/flutter-restaurant/Categories?lang=architecto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"Example response (200):
[
{
"about_id": "abt1",
"about_title": "Restroid® Co.",
"about_description": "Restaurant Management System",
"about_email": "info@restroid.com",
"about_phone": "+90 (850) 885 54 91",
"about_website": "http://www.restroid.com",
"ads_on": "0",
"ads_client": "",
"ads_slot": "",
"analyt_on": "0",
"analyt_track_id": "",
"facebook": "",
"google_plus": "",
"instagram": "",
"youtube": "",
"pinterest": "",
"twitter": "",
"privacypolicy": "This Privacy Policy explains how your personal information is collected, used, and disclosed by #WEBSITE_NAME#.",
"default_photo": {
"img_id": "randomId",
"img_parent_id": "abt1",
"img_type": "about",
"img_path": "fmk",
"Img_width": "1000",
"img_height": "1000",
"img_desc": "",
"added_date": "2022-03-19 03:00:00",
"added_user_id": "",
"updated_date": "2022-03-19 03:00:00",
"updated_user_id": "",
"is_default": "0"
}
}
]
Received response:
Request failed with error:
GET Cod Types
Example request:
curl --request GET \
--get "https://restronik.dev/api/v1/flutter-restaurant/Cod_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"Example response (200):
[
{
"about_id": "abt1",
"about_title": "Restroid® Co.",
"about_description": "Restaurant Management System",
"about_email": "info@restroid.com",
"about_phone": "+90 (850) 885 54 91",
"about_website": "http://www.restroid.com",
"ads_on": "0",
"ads_client": "",
"ads_slot": "",
"analyt_on": "0",
"analyt_track_id": "",
"facebook": "",
"google_plus": "",
"instagram": "",
"youtube": "",
"pinterest": "",
"twitter": "",
"privacypolicy": "This Privacy Policy explains how your personal information is collected, used, and disclosed by #WEBSITE_NAME#.",
"default_photo": {
"img_id": "randomId",
"img_parent_id": "abt1",
"img_type": "about",
"img_path": "fmk",
"Img_width": "1000",
"img_height": "1000",
"img_desc": "",
"added_date": "2022-03-19 03:00:00",
"added_user_id": "",
"updated_date": "2022-03-19 03:00:00",
"updated_user_id": "",
"is_default": "0"
}
}
]
Received response:
Request failed with error:
Portal
GET Allergen Lists
Example request:
curl --request GET \
--get "https://restronik.dev/api/v1/portal/allergens" \
--header "Content-Type: application/json" \
--header "Accept: application/json"Example response (200):
{
"data": [
{
"id": 1,
"translations": {
"tr": {
"name": "Gluten içeren tahıllar",
"description": "Gluten içeren tahıllar: buğday (ör. kılçıksız buğday ve kamut), çavdar, arpa, yulaf veya bunların hibrit türleri ve bunların ürünleri"
},
"en": {
"name": "Cereals containing gluten",
"description": "namely: wheat (such as spelt and khorasan wheat), rye, barley, oats or their hybridised strains, and products thereof, except: (a) wheat based glucose syrups including dextrose (b) wheat based maltodextrins (c) glucose syrups based on barley (d) cereals used for making alcoholic distillates including ethyl alcohol of agricultural origin"
},
"de-AT": {
"name": "Glutenhaltiges Getreide und daraus gewonnene Erzeugnisse",
"description": "z.B. Brot und Gebäck, Kuchen, Teigwaren, Suppen, Soßen, Paniermehl, Semmelbrösel, Wurstwaren, Backerbsen, Frischkornbreie, Desserts, Schokolade"
}
}
},
{
"id": 2,
"translations": {
"tr": {
"name": "Kabuklular (Crustacea) ve bunların ürünleri",
"description": null
},
"en": {
"name": "Crustaceans and products thereof",
"description": null
},
"de-AT": {
"name": "Krebstiere und daraus gewonnene Erzeugnisse",
"description": "z.B. Feinkostsalate, Suppen, Soßen, Paella, Bouillabaisse, Sashimi, Surimi"
}
}
}
]
}
Received response:
Request failed with error:
Response
Response Fields
id integer
translations.{lang}.name string
translations.{lang}.description string