Listar entregas
curl --request GET \
--url https://api.muveya.com/v1/fulfillments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/fulfillments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/fulfillments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"orderId": "<string>",
"status": "allocating",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"sourceWarehouseId": "<string>",
"dispatchedAt": "2023-11-07T05:31:56Z",
"carrierRef": "<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>"
}Entregas
Listar entregas
Lista las entregas (registros de custodia) de toda la clínica dental, con paginación keyset por orden de creación y filtro opcional por estado. Requiere fulfillment:read.
GET
/
v1
/
fulfillments
Listar entregas
curl --request GET \
--url https://api.muveya.com/v1/fulfillments \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.muveya.com/v1/fulfillments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.muveya.com/v1/fulfillments"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"orderId": "<string>",
"status": "allocating",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"sourceWarehouseId": "<string>",
"dispatchedAt": "2023-11-07T05:31:56Z",
"carrierRef": "<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>"
}Autorizaciones
Clave de API opaca mvy_test_ enviada como token Bearer. El servidor deriva de ella exactamente una clínica dental; la ruta nunca lleva un selector de clínica dental.
Parámetros de consulta
Tamaño de página, de 1 a 200 (por defecto 50).
Rango requerido:
1 <= x <= 200Filtra por estado del ciclo de vida.
Opciones disponibles:
allocating, allocated, picking, dispatched, delivered, exception, received, partially_fulfilled, closed Cursor keyset opaco tomado del nextCursor de una página anterior.