Get an order custody history
curl --request GET \
--url https://api.muveya.com/v1/fulfillments/{orderId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/fulfillments/{orderId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/fulfillments/{orderId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orderId": "<string>",
"status": "allocating",
"movements": [
{
"movementId": "<string>",
"type": "receive",
"boxId": "<string>",
"catalogItemId": "<string>",
"quantityDelta": 123,
"actorId": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"recordedAt": "2023-11-07T05:31:56Z",
"reservedDelta": 123,
"secondActorId": "<string>",
"fromWarehouseId": "<string>",
"toWarehouseId": "<string>",
"reasonCode": "<string>",
"idempotencyKey": "<string>",
"correlationId": "<string>",
"splitId": "<string>"
}
],
"delivery": {
"actorUserId": "<string>",
"deliveredAt": "2023-11-07T05:31:56Z",
"boxIds": [
"<string>"
],
"exception": {
"reason": "<string>",
"note": "<string>"
}
},
"receipt": {
"actorUserId": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"acceptedBoxIds": [
"<string>"
],
"disputed": [
{
"boxId": "<string>",
"reason": "<string>",
"quarantine": true,
"note": "<string>"
}
]
},
"closure": {
"actorUserId": "<string>",
"closedAt": "2023-11-07T05:31:56Z"
}
}{
"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>"
}Fulfillments
Get an order custody history
Reads the redacted custody history of one order: status, the ledger movements and the delivery/receipt/closure records. Requires fulfillment:read. 404 when absent or in another workspace.
GET
/
v1
/
fulfillments
/
{orderId}
Get an order custody history
curl --request GET \
--url https://api.muveya.com/v1/fulfillments/{orderId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/fulfillments/{orderId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/fulfillments/{orderId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"orderId": "<string>",
"status": "allocating",
"movements": [
{
"movementId": "<string>",
"type": "receive",
"boxId": "<string>",
"catalogItemId": "<string>",
"quantityDelta": 123,
"actorId": "<string>",
"occurredAt": "2023-11-07T05:31:56Z",
"recordedAt": "2023-11-07T05:31:56Z",
"reservedDelta": 123,
"secondActorId": "<string>",
"fromWarehouseId": "<string>",
"toWarehouseId": "<string>",
"reasonCode": "<string>",
"idempotencyKey": "<string>",
"correlationId": "<string>",
"splitId": "<string>"
}
],
"delivery": {
"actorUserId": "<string>",
"deliveredAt": "2023-11-07T05:31:56Z",
"boxIds": [
"<string>"
],
"exception": {
"reason": "<string>",
"note": "<string>"
}
},
"receipt": {
"actorUserId": "<string>",
"receivedAt": "2023-11-07T05:31:56Z",
"acceptedBoxIds": [
"<string>"
],
"disputed": [
{
"boxId": "<string>",
"reason": "<string>",
"quarantine": true,
"note": "<string>"
}
]
},
"closure": {
"actorUserId": "<string>",
"closedAt": "2023-11-07T05:31:56Z"
}
}{
"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.
Path Parameters
The opaque order id.
Response
The requested resource.
Available options:
allocating, allocated, picking, dispatched, delivered, exception, received, partially_fulfilled, closed Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes