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
Error
objectcodestring
Error code
messagestring
Error message
Example