Retrieve orders
curl --request GET \
--url https://api.hyra.io/players/orders/{workspaceId} \
--header 'Authorization: Bearer <token>'
[
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Default Response
The response is of type object[]
.
curl --request GET \
--url https://api.hyra.io/players/orders/{workspaceId} \
--header 'Authorization: Bearer <token>'
[
{
"order_number": 123,
"items": [
"<string>"
],
"submitted_by": "<string>",
"prepared_by": "<string>",
"picked_up_by": "<string>",
"status": "submitted",
"customer": "<string>",
"_id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]