POST
/
orders
{
  "id": "674d0bf5c28b69001f8e03a1",
  "created_at": "2024-04-22T10:00:00Z",
  "updated_at": "2024-04-22T10:00:00Z",
  "name": "John",
  "table_number": 8,
  "dish_ids": [
    "692a4a34a46ecf001f35ac6f",
    "6a4a857c022eb7001f9b8972",
    "6b7c2441a0db43001f9bf377"
  ],
  "special_requests": "<string>",
  "priority": 3,
  "scheduled_at": null,
  "status": "Received"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request body to create an order requires the following properties: dish_ids and name.

The body is of type object.

Response

201
application/json

Order successfully created.

The response is of type object.