GET
/
players
/
orders
/
{workspaceId}
curl --request GET \
  --url https://api.hyra.io/players/orders/{workspaceId} \
  --header 'Authorization: Bearer <token>'
[
  {
    "_id": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "customer": "<string>",
    "items": [
      "<string>"
    ],
    "order_number": 123,
    "picked_up_by": "<string>",
    "prepared_by": "<string>",
    "status": "submitted",
    "submitted_by": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
headerrequired

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

Path Parameters

workspaceId
string
required

Response

200 - application/json
_id
string
required
createdAt
string
required
customer
string
required
items
string[]
required
order_number
number
required
picked_up_by
string
prepared_by
string
status
enum<string>
required
Available options:
submitted,
handed_to,
waiting_for_preparation,
finding_new_colleague,
preparing,
completed,
waiting_for_pickup,
cancelled
submitted_by
string
required
updatedAt
string
required