The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish’s ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app).
The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.
The amount of time, in minutes, it takes to prepate the dish. Used by the expeditor and staff to prioritize dish preparation at the various stations.
Example:
45
price
number<float>
required
The price used by the client app to calculate order cost.
Example:
999
station
enum<string>
required
The prep station responsible for preparing the dish. This value is used by the expeditor to prioritize and triage order preparation for the KDS stations.
Available options:
cold,
hot,
beverages
Example:
"hot"
Response
Dish successfully created
id
string
read-only
A unique alpha-numeric string generated by the system when creating a resource (e.g., dishes, ingredients, etc). Ids are required for retrieving the properties of a specific resource.
Example:
"674d0bf5c28b69001f8e03a1"
created_at
string<date-time>
read-only
The date and time the resource was created. Timestamp uses ISO 8601 format, Ex: 2025-04-05T14:55:03.824Z
Example:
"2024-04-22T10:00:00Z"
name
string
The name of the dish that appears in the client app and for the KDS.
Example:
"Risotto alla Milanese"
description
string
Example:
"A description of the resource."
category
enum<string>
Used to indicate where in the client app the dish should appear for ordering and used by the expediter to prioritize dishes for preparation.
Available options:
Appetizer,
Main Course,
Dessert,
Drinks
Example:
"Main Course"
image_name
string
The name of the image file related to a specific dish. When present, the image for the dish will appear in the client app with the other dish details.
Example:
"burger"
ingredients
object[]
The list of ingredients related to a specific dish.
The price used by the client app to calculate order cost.
Example:
999
price
number<float>
The price used by the client app to calculate order cost.
Example:
999
station
enum<string>
The prep station responsible for preparing the dish. This value is used by the expeditor to prioritize and triage order preparation for the KDS stations.
Available options:
cold,
hot,
beverages
Example:
"hot"
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Mint Starter Kit","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/higginsgraferinc/Q__UltiOfOuhbedx/logo/light.svg?fit=max\u0026auto=format\u0026n=Q__UltiOfOuhbedx\u0026q=85\u0026s=37effcf923c1bbef28bd0ba368b4a5b8","dark":"https://mintcdn.com/higginsgraferinc/Q__UltiOfOuhbedx/logo/dark.svg?fit=max\u0026auto=format\u0026n=Q__UltiOfOuhbedx\u0026q=85\u0026s=24f756a5cf1eabce52cb4a290f2eabd2"},"favicon":"/favicon.svg","navbar":{"links":[{"label":"Support","href":"mailto:hi@mintlify.com"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"navigation":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://mintlify.com/docs"},{"anchor":"Community","icon":"slack","href":"https://mintlify.com/community"},{"anchor":"Blog","icon":"newspaper","href":"https://mintlify.com/blog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"higginsgraferinc","hasAudioNarration":false,"actualSubdomain":"higginsgraferinc","customDomains":[],"gitSource":{"type":"github","owner":"sholdgrafer","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae929bd19af62f928a9be1f:success","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"Point of Service API Reference","count":25},{"language":"default","tag":"Endpoints","count":24},{"language":"default","tag":"Mintlify User Guides","count":9},{"language":"default","tag":"Essentials","count":6},{"language":"default","tag":"Dishes","count":6},{"language":"default","tag":"Orders","count":6},{"language":"default","tag":"Point of Service API Guides","count":5},{"language":"default","tag":"Sample API Reference","count":5},{"language":"default","tag":"Ingredients","count":5},{"language":"default","tag":"Users","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/dishes/create-a-dish","slug":"/api-reference/dishes/create-a-dish","pageMetadata":{"title":"Create a dish","description":"Create a dish and define the dish's details. \n\nThe client app will display the `name`, `description`, and `price` and will use the `category` to determine where to display the dish in the menu. The server will check the dish's `ingredient_id` to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). \n\nThe KDS will use the `station`, `preparation_time`, and `ingredients` array when prioritizing and prepping the dish.\n","deprecated":null,"version":null,"openapi":"openapi.yaml post /dishes","href":"/api-reference/dishes/create-a-dish","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Create a dish and define the dish’s details.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The client app will display the \", _jsx(_components.code, {\n children: \"name\"\n }), \", \", _jsx(_components.code, {\n children: \"description\"\n }), \", and \", _jsx(_components.code, {\n children: \"price\"\n }), \" and will use the \", _jsx(_components.code, {\n children: \"category\"\n }), \" to determine where to display the dish in the menu. The server will check the dish’s \", _jsx(_components.code, {\n children: \"ingredient_id\"\n }), \" to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app).\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The KDS will use the \", _jsx(_components.code, {\n children: \"station\"\n }), \", \", _jsx(_components.code, {\n children: \"preparation_time\"\n }), \", and \", _jsx(_components.code, {\n children: \"ingredients\"\n }), \" array when prioritizing and prepping the dish.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a dish","description":"Create a dish and define the dish's details. \n\nThe client app will display the `name`, `description`, and `price` and will use the `category` to determine where to display the dish in the menu. The server will check the dish's `ingredient_id` to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). \n\nThe KDS will use the `station`, `preparation_time`, and `ingredients` array when prioritizing and prepping the dish.\n","deprecated":null,"version":null,"openapi":"openapi.yaml post /dishes","href":"/api-reference/dishes/create-a-dish","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Create a dish","tags":["Dishes"],"operationId":"postDishes","security":["798b69d5-9221-46e2-a037-35aa7b085143"],"description":"Create a dish and define the dish's details. \n\nThe client app will display the `name`, `description`, and `price` and will use the `category` to determine where to display the dish in the menu. The server will check the dish's `ingredient_id` to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). \n\nThe KDS will use the `station`, `preparation_time`, and `ingredients` array when prioritizing and prepping the dish.\n","requestBody":"dd9646c3-ccb7-44ca-9845-efa75d5f9fc0","responses":{"201":"30b6e1ce-e2f1-4fea-838c-ba57eeec11f7","400":"7d6193e3-2bd4-492f-b1b4-4687fc259733","401":"e78961fe-4f20-404c-86a4-9dac808f81a7","403":"ec8fcaee-e72a-405a-b926-4f056969a2fe","404":"10650577-f36c-4b0b-9f19-ba22b94e45c2","409":"7e835812-b5e5-4b38-89c5-f1d987476317","500":"98be6ccf-5997-4459-97d0-5affd04427a0"},"method":"post","type":"path","servers":["627842b8-9bf2-4945-b9ef-8965b5dcf70a","d03bc7ef-7d79-4436-aaac-c998f5bac0d8"],"path":"/dishes","baseUrlOptions":["https://reimagined-journey-g45xxv4v6gwhvrrr-80.app.github.dev","http://localhost:80/"],"title":"Create a dish","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"description":"The request body to create a new dish in the client app requires the following properties: \n- `category`\n- `description`\n- `image_name`\n- `ingredients`\n - `ingredients.ingredient_id`\n - `ingredients.is_essential`\n- `preparation_time`\n- `name`\n- `price`\n- `station`\n","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Risotto alla Milanese","description":"The name of the dish to display in the client app.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","example":"A description of the resource.","isRequired":true,"uniqueKey":"description","typeLabel":"string"},"category":{"type":"string","enum":["Appetizer","Main Course","Dessert","Drinks"],"example":"Main Course","description":"Used to indicate where in the client app the dish should appear for ordering and used by the expediter to prioritize dishes for preparation.\n","isRequired":true,"uniqueKey":"category","typeLabel":"enum\u003cstring>"},"image_name":{"type":"string","description":"The name of the image file related to a specific dish. When present, the image for the dish will appear in the client app with the other dish details.\n","example":"burger","isRequired":true,"uniqueKey":"image_name","typeLabel":"string"},"ingredients":{"type":"array","description":"The list of ingredients related to a specific dish.","items":{"type":"object","properties":{"ingredient_id":{"type":"string","example":"66294b2a4475a41f3e709bc5","description":"The unique ingredient identifier, generated when the ingredient was created.","uniqueKey":"ingredients.items.[INDEX].ingredient_id","typeLabel":"string"},"is_essential":{"type":"boolean","example":true,"description":"When `true` the ingredient is required to prepare the dish. For essential ingredients, if the ingredient quantity is a non-positive value, the client app will disable the related dishes in the client app.\n","uniqueKey":"ingredients.items.[INDEX].is_essential","typeLabel":"boolean"}},"uniqueKey":"ingredients.items.[INDEX]","typeLabel":"object"},"example":[{"ingredient_id":"66294b2a4475a41f3e709bc5","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc6","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc7","is_essential":false}],"isRequired":true,"uniqueKey":"ingredients","typeLabel":"object[]"},"preparation_time":{"type":"integer","description":"The amount of time, in minutes, it takes to prepate the dish. Used by the expeditor and staff to prioritize dish preparation at the various stations.","example":45,"isRequired":true,"uniqueKey":"preparation_time","typeLabel":"integer"},"price":{"type":"number","format":"float","example":999,"description":"The price used by the client app to calculate order cost.","isRequired":true,"uniqueKey":"price","typeLabel":"number\u003cfloat>"},"station":{"type":"string","description":"The prep station responsible for preparing the dish. This value is used by the expeditor to prioritize and triage order preparation for the KDS stations.\n","enum":["cold","hot","beverages"],"example":"hot","isRequired":true,"uniqueKey":"station","typeLabel":"enum\u003cstring>"}},"required":["category","description","image_name","ingredients","preparation_time","name","price","station"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Risotto alla Milanese","description":"A description of the resource.","category":"Main Course","image_name":"burger","ingredients":[{"ingredient_id":"66294b2a4475a41f3e709bc5","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc6","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc7","is_essential":false}],"preparation_time":45,"price":999,"station":"hot"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"30b6e1ce-e2f1-4fea-838c-ba57eeec11f7":{"description":"Dish successfully created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"674d0bf5c28b69001f8e03a1","readOnly":true,"description":"A unique alpha-numeric string generated by the system when creating a resource (e.g., dishes, ingredients, etc). Ids are required for retrieving the properties of a specific resource.\n","uniqueKey":"id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","example":"2024-04-22T10:00:00Z","readOnly":true,"description":"The date and time the resource was created. Timestamp uses ISO 8601 format, Ex: `2025-04-05T14:55:03.824Z` \n","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"name":{"type":"string","example":"Risotto alla Milanese","description":"The name of the dish that appears in the client app and for the KDS.","uniqueKey":"name","typeLabel":"string"},"description":{"type":"string","example":"A description of the resource.","uniqueKey":"description","typeLabel":"string"},"category":{"type":"string","enum":["Appetizer","Main Course","Dessert","Drinks"],"example":"Main Course","description":"Used to indicate where in the client app the dish should appear for ordering and used by the expediter to prioritize dishes for preparation.\n","uniqueKey":"category","typeLabel":"enum\u003cstring>"},"image_name":{"type":"string","description":"The name of the image file related to a specific dish. When present, the image for the dish will appear in the client app with the other dish details.\n","example":"burger","uniqueKey":"image_name","typeLabel":"string"},"ingredients":{"type":"array","description":"The list of ingredients related to a specific dish.","items":{"type":"object","properties":{"ingredient_id":{"type":"string","example":"66294b2a4475a41f3e709bc5","description":"The unique ingredient identifier, generated when the ingredient was created.","uniqueKey":"ingredients.items.[INDEX].ingredient_id","typeLabel":"string"},"is_essential":{"type":"boolean","example":true,"description":"When `true` the ingredient is required to prepare the dish. For essential ingredients, if the ingredient quantity is a non-positive value, the client app will disable the related dishes in the client app.\n","uniqueKey":"ingredients.items.[INDEX].is_essential","typeLabel":"boolean"}},"uniqueKey":"ingredients.items.[INDEX]","typeLabel":"object"},"example":[{"ingredient_id":"66294b2a4475a41f3e709bc5","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc6","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc7","is_essential":false}],"uniqueKey":"ingredients","typeLabel":"object[]"},"preparation_time":{"type":"number","format":"float","example":999,"description":"The price used by the client app to calculate order cost.","uniqueKey":"preparation_time","typeLabel":"number\u003cfloat>"},"price":{"type":"number","format":"float","example":999,"description":"The price used by the client app to calculate order cost.","uniqueKey":"price","typeLabel":"number\u003cfloat>"},"station":{"type":"string","description":"The prep station responsible for preparing the dish. This value is used by the expeditor to prioritize and triage order preparation for the KDS stations.\n","enum":["cold","hot","beverages"],"example":"hot","uniqueKey":"station","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"674d0bf5c28b69001f8e03a1","created_at":"2024-04-22T10:00:00Z","name":"Risotto alla Milanese","description":"A description of the resource.","category":"Main Course","image_name":"burger","ingredients":[{"ingredient_id":"66294b2a4475a41f3e709bc5","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc6","is_essential":true},{"ingredient_id":"66294b2a4475a41f3e709bc7","is_essential":false}],"preparation_time":999,"price":999,"station":"hot"}}},"exampleType":"generated"}},"headers":{"Location":{"schema":{"type":"string"},"description":"..."}},"exampleType":"generated"},"7d6193e3-2bd4-492f-b1b4-4687fc259733":{"description":"Invalid request","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"e78961fe-4f20-404c-86a4-9dac808f81a7":{"description":"Unauthorized","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"ec8fcaee-e72a-405a-b926-4f056969a2fe":{"description":"Access denied","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"10650577-f36c-4b0b-9f19-ba22b94e45c2":{"description":"Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"A short summary of the error or problem encountered with the request.","example":"Human-readable error title.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A more detailed description of the error or problem to indicate the source and the solution, if possible.","example":"Human-readable error details.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["title","detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Human-readable error title.","detail":"Human-readable error details."}}},"exampleType":"generated"}},"exampleType":"generated"},"7e835812-b5e5-4b38-89c5-f1d987476317":{"description":"Unable to complete request","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"A short summary of the error or problem encountered with the request.","example":"Human-readable error title.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A more detailed description of the error or problem to indicate the source and the solution, if possible.","example":"Human-readable error details.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["title","detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Human-readable error title.","detail":"Human-readable error details."}}},"exampleType":"generated"}},"exampleType":"generated"},"98be6ccf-5997-4459-97d0-5affd04427a0":{"description":"Server error","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","description":"A short summary of the error or problem encountered with the request.","example":"Human-readable error title.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"detail":{"type":"string","description":"A more detailed description of the error or problem to indicate the source and the solution, if possible.","example":"Human-readable error details.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"}},"required":["title","detail"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"Human-readable error title.","detail":"Human-readable error details."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"798b69d5-9221-46e2-a037-35aa7b085143":{"AccessToken":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"627842b8-9bf2-4945-b9ef-8965b5dcf70a":{"url":"https://reimagined-journey-g45xxv4v6gwhvrrr-80.app.github.dev","description":"The server URL used for the point of service API","variables":{"gh-codespaces-server-url":{"default":"https://reimagined-journey-g45xxv4v6gwhvrrr-80.app.github.dev","description":"Codespace URL used by Sarah Holdgrafer for Mastering API Documentation course."}}},"d03bc7ef-7d79-4436-aaac-c998f5bac0d8":{"url":"http://localhost:80/","description":"Local URL for testing"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"AccessToken","name":"Authorization"}],"title":"AccessToken"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"higginsgraferinc","siteName":"Mint Starter Kit","title":"Create a dish - Mint Starter Kit","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-07T09:03:09.935Z","originalFileLocation":"api-reference/dishes/create-a-dish.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a dish and define the dish\u0026#x27;s details. The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish\u0026#x27;s ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a dish - Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a dish and define the dish\u0026#x27;s details. The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish\u0026#x27;s ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://higginsgraferinc.mintlify.site/_mintlify/api/og/v2?division=Dishes\u0026amp;title=Create+a+dish\u0026amp;description=Create+a+dish+and+define+the+dish%27s+details.+%0A%0AThe+client+app+will+display+the+%60name%60%2C+%60description%60%2C+and+%60price%60+and+will+use+the+%60category%60+to+determine+where\u0026amp;theme=06bf9f6981ea8696f1071828\u0026amp;signature=d8dd707f093f17ccc756378d269dfec65f497fc0d73816641575d7b0490d7dc7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a dish - Mint Starter Kit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a dish and define the dish\u0026#x27;s details. The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish\u0026#x27;s ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://higginsgraferinc.mintlify.site/_mintlify/api/og/v2?division=Dishes\u0026amp;title=Create+a+dish\u0026amp;description=Create+a+dish+and+define+the+dish%27s+details.+%0A%0AThe+client+app+will+display+the+%60name%60%2C+%60description%60%2C+and+%60price%60+and+will+use+the+%60category%60+to+determine+where\u0026amp;theme=06bf9f6981ea8696f1071828\u0026amp;signature=d8dd707f093f17ccc756378d269dfec65f497fc0d73816641575d7b0490d7dc7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/higginsgraferinc/qAnWDoAw-hsmCnaU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Mint Starter Kit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/dishes/create-a-dish.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://higginsgraferinc.mintlify.app/#organization\",\"name\":\"Mint Starter Kit\",\"url\":\"https://higginsgraferinc.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/higginsgraferinc/Q__UltiOfOuhbedx/logo/light.svg?fit=max\u0026auto=format\u0026n=Q__UltiOfOuhbedx\u0026q=85\u0026s=37effcf923c1bbef28bd0ba368b4a5b8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://higginsgraferinc.mintlify.app#website\",\"name\":\"Mint Starter Kit\",\"url\":\"https://higginsgraferinc.mintlify.app\",\"publisher\":{\"@id\":\"https://higginsgraferinc.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish#webpage\",\"url\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish\",\"name\":\"Create a dish\",\"description\":\"Create a dish and define the dish's details. The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish's ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.\",\"dateModified\":\"2026-01-07T09:03:09.935Z\",\"isPartOf\":{\"@id\":\"https://higginsgraferinc.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://higginsgraferinc.mintlify.app/api-reference/orders/retrieve-a-list-of-orders\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dishes\",\"item\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/retrieve-a-list-of-dishes\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a dish\",\"item\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish#apireference\",\"headline\":\"Create a dish\",\"name\":\"Create a dish\",\"description\":\"Create a dish and define the dish's details. The client app will display the name, description, and price and will use the category to determine where to display the dish in the menu. The server will check the dish's ingredient_id to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). The KDS will use the station, preparation_time, and ingredients array when prioritizing and prepping the dish.\",\"url\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish\",\"mainEntityOfPage\":{\"@id\":\"https://higginsgraferinc.mintlify.app/api-reference/dishes/create-a-dish#webpage\"},\"dateModified\":\"2026-01-07T09:03:09.935Z\",\"publisher\":{\"@id\":\"https://higginsgraferinc.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://higginsgraferinc.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Mint Starter Kit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Mint Starter Kit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/dishes/create-a-dish.md","siteName":"Mint Starter Kit","nav":{"global":{"anchors":[{"anchor":"Documentation","icon":"book-open-cover","href":"https://mintlify.com/docs"},{"anchor":"Community","icon":"slack","href":"https://mintlify.com/community"},{"anchor":"Blog","icon":"newspaper","href":"https://mintlify.com/blog"}]},"tabs":[{"tab":"Mintlify User Guides","pages":[{"title":"Mintlify User Guides","href":""}]},{"tab":"Sample API Reference","pages":[{"title":"Sample API Reference","href":"/api-reference/introduction"}]},{"tab":"Point of Service API Guides","pages":[{"title":"Point of Service API Guides","href":"/api-flows/introduction"}]},{"tab":"Point of Service API Reference","groups":[{"group":"API Documentation","pages":[{"title":null,"href":"/pos-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Orders","pages":[{"title":"Retrieve a list of orders","deprecated":null,"version":null,"openapi":"openapi.yaml get /orders","href":"/api-reference/orders/retrieve-a-list-of-orders"},{"title":"Create an order","deprecated":null,"version":null,"openapi":"openapi.yaml post /orders","href":"/api-reference/orders/create-an-order"},{"title":"Retrieve a specific order","deprecated":null,"version":null,"openapi":"openapi.yaml get /orders/{id}","href":"/api-reference/orders/retrieve-a-specific-order"},{"title":"Update a specific order","deprecated":null,"version":null,"openapi":"openapi.yaml put /orders/{id}","href":"/api-reference/orders/update-a-specific-order"},{"title":"Delete an order","deprecated":null,"version":null,"openapi":"openapi.yaml delete /orders/{id}","href":"/api-reference/orders/delete-an-order"},{"title":"Retrieve list of dishes in an order","deprecated":null,"version":null,"openapi":"openapi.yaml get /orders/{id}/dishes","href":"/api-reference/orders/retrieve-list-of-dishes-in-an-order"}]},{"group":"Dishes","pages":[{"title":"Retrieve a list of dishes","description":"Retrieve a list of dishes and the dish details.\n\nThe client app will display the `name`, `description`, and `price` and will use the `category` to determine where to display the dish in the menu. The server will check the dish's `ingredient_id` to ensure essential ingredients are in stock (if not in stock, the dish will be disabled in the client app). \n\nThe KDS will use the `station`, `preparation_time`, and `ingredients` array when prioritizing and prepping the dish. \n","deprecated":null,"version":null,"openapi":"openapi.yaml get /dishes","href":"/api-reference/dishes/retrieve-a-list-of-dishes"},{"title":"Create a dish","deprecated":null,"version":null,"openapi":"openapi.yaml post /dishes","href":"/api-reference/dishes/create-a-dish"},{"title":"Retrieve a specific dish","description":"Retreive the details for a specific dish ID.\n\nYou can specify which properties are returned in the response to display the details needed by the client app menu as well as the different KDS stations. The `ingredients` array in the response includes the ingredient IDs that are needed by the client app to determine if a dish is available to order.\n","deprecated":null,"version":null,"openapi":"openapi.yaml get /dishes/{id}","href":"/api-reference/dishes/retrieve-a-specific-dish"},{"title":"Update a specific dish","deprecated":null,"version":null,"openapi":"openapi.yaml put /dishes/{id}","href":"/api-reference/dishes/update-a-specific-dish"},{"title":"Delete a dish","deprecated":null,"version":null,"openapi":"openapi.yaml delete /dishes/{id}","href":"/api-reference/dishes/delete-a-dish"},{"title":"Retrieve list of ingredients for a dish","deprecated":null,"version":null,"openapi":"openapi.yaml get /dishes/{id}/ingredients","href":"/api-reference/dishes/retrieve-list-of-ingredients-for-a-dish"}]},{"group":"Ingredients","pages":[{"title":"Retrieve list of ingredients","deprecated":null,"version":null,"openapi":"openapi.yaml get /ingredients","href":"/api-reference/ingredients/retrieve-list-of-ingredients"},{"title":"Create an ingredient","deprecated":null,"version":null,"openapi":"openapi.yaml post /ingredients","href":"/api-reference/ingredients/create-an-ingredient"},{"title":"Retrieve an ingredient","deprecated":null,"version":null,"openapi":"openapi.yaml get /ingredients/{id}","href":"/api-reference/ingredients/retrieve-an-ingredient"},{"title":"Update an ingredient","deprecated":null,"version":null,"openapi":"openapi.yaml put /ingredients/{id}","href":"/api-reference/ingredients/update-an-ingredient"},{"title":"Delete an ingredient","deprecated":null,"version":null,"openapi":"openapi.yaml delete /ingredients/{id}","href":"/api-reference/ingredients/delete-an-ingredient"}]},{"group":"Users","pages":[{"title":"Retrieve a list of users","deprecated":null,"version":null,"openapi":"openapi.yaml get /users","href":"/api-reference/users/retrieve-a-list-of-users"},{"title":"Create a user account","deprecated":null,"version":null,"openapi":"openapi.yaml post /users","href":"/api-reference/users/create-a-user-account"},{"title":"Retrieve a user","deprecated":null,"version":null,"openapi":"openapi.yaml get /users/{id}","href":"/api-reference/users/retrieve-a-user"},{"title":"Update a user","deprecated":null,"version":null,"openapi":"openapi.yaml put /users/{id}","href":"/api-reference/users/update-a-user"},{"title":"Delete a user","deprecated":null,"version":null,"openapi":"openapi.yaml delete /users/{id}","href":"/api-reference/users/delete-a-user"}]},{"group":"Auth","pages":[{"title":"Authenticate user and obtain access token","deprecated":null,"version":null,"openapi":"openapi.yaml post /auth/token","href":"/api-reference/auth/authenticate-user-and-obtain-access-token"},{"title":"Refresh expired access token","deprecated":null,"version":null,"openapi":"openapi.yaml post /auth/refresh-token","href":"/api-reference/auth/refresh-expired-access-token"}]}]}]}]},"basePath":"","title":"Create a dish - Mint Starter Kit","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}