List orders
curl --request GET \
--url https://api.muveya.com/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"orderId": "<string>",
"number": 123,
"type": "general",
"status": "draft",
"requesterId": "<string>",
"clinicId": "<string>",
"destinationWarehouseId": "<string>",
"version": 123,
"preferredSourceWarehouseId": "<string>",
"justification": "<string>",
"value": 123,
"currency": "<string>"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}Orders
List orders
Lists the workspace orders tenant-wide, keyset-paginated by creation order, optionally filtered by status. Requires orders:read. Order value and the patient reference are always redacted for a machine key.
GET
/
v1
/
orders
List orders
curl --request GET \
--url https://api.muveya.com/v1/orders \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/orders"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"orderId": "<string>",
"number": 123,
"type": "general",
"status": "draft",
"requesterId": "<string>",
"clinicId": "<string>",
"destinationWarehouseId": "<string>",
"version": 123,
"preferredSourceWarehouseId": "<string>",
"justification": "<string>",
"value": 123,
"currency": "<string>"
}
],
"hasMore": true,
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 499,
"detail": "<string>",
"instance": "<string>",
"code": "<string>",
"requestId": "<string>"
}Authorizations
Opaque mvy_test_ API key sent as a Bearer token. It derives exactly one workspace server-side; the path never carries a workspace selector.
Query Parameters
Page size, 1–200 (default 50).
Required range:
1 <= x <= 200Filter by lifecycle status.
Available options:
draft, submitted, pending_approval, approved, rejected, cancelled, allocated, picking, dispatched, delivered, exception, received, partially_fulfilled, closed Opaque keyset cursor from a previous page nextCursor.