List Orders
/orders
Allows a developer to retrieve all orders for a given restaurant. Orders are sorted from oldest to most recent.
Security
OAuth2Authorization Code
Authorization URL: /oauth/authorize
Token URL: /oauth/token
Token URL: /oauth/token
Scopes
Query
store_idstringrequired
Unique identifying string for a restaurant, provided by Yumbi.
limitinteger
The maximum number of orders to return.
from_datestring date-time
The date from which to start retrieving orders. Orders placed on this date will be included. Only fetches order placed in the last 24 hours.
statusEnum
The status of the order.
Enum elements
200
Content type:application/json
A list of orders for this restaurant.
application/jsonobject
A list of orders for this restaurant.
Child attributes
401
Content type:application/json
Authentication information is missing or invalid.
application/jsonobject
Child attributes
403
Content type:application/json
The client is authenticated, but does not have access rights to the content.
application/jsonobject
Child attributes
200
401
403
{
"orders": [
{
"id": "example",
"current_state": "created",
"placed_at": "1971-04-26T12:26:06Z"
}
]
}
{
"error": "example"
}
{
"error": "example"
}