🌠Hotdog stand
List available menu items
Returns a list of available menu items.
get
https://hotdog.example.com/api/v1/menu
Query Parameters
limitinteger(int32)
Maximum number of items to return
Default:20
>= 1<= 100
offsetinteger(int32)
Number of items to skip for pagination
Default:0
>= 0
Response
200 application/json
Response
200 application/json
Successful operation
dataarray[object]
Example:{"id":"a1b2c3d4-e5f6-7890-1234-567890abcdef","name":"Hot Dog","description":"Classic hot dog on a bun","price":5}
Show Child Parameters
metaobject
Show Child Parameters
get/menu
Query Parameters
Â
200 application/json
Order
objectidstring(uuid)
Unique identifier for the order
itemsarray[object]
Example:{"item_name":"Hot Dog","quantity":1,"condiments":["mustard","ketchup"]}
Show Child Parameters
statusstring
Status of the order
Allowed values:pendingconfirmedcancelledcompleted
total_amountnumber(float)
Total amount of the order
Example
OrderItem
objectitem_namestring
Name of the item
quantityinteger
Quantity of the item
condimentsarray[string]
List of condiments for the item
Example
Condiment
objectidstring(uuid)
Unique identifier for the condiment
namestring
Name of the condiment
descriptionstring
Description of the condiment
pricenumber(float)
Price of the condiment
Example
PaymentInfo
objectpayment_methodstring
Payment method used
Allowed values:credit_cardpaypalcash
amountnumber(float)
Amount to be paid
Example