Skip to main content

List Purchase Orders API

This endpoint allows you to retrieve all purchase orders associated with your account.

GEThttps://api-fulfillment.bosta.co/api/v1/purchase-orders

Retrieve all purchase orders associated with your account.

Responses

200List of purchase orders retrieved successfully
 {
"success": true,
"message": "Purchase orders listed successfully",
"data": [
{
"id": "30140003",
"businessId": "Bz7Yx6Wv5Ut4Sr3Qp2On",
"hubCode": "CairoHub",
"omnifulPurchaseOrderId": "PO-BO12-103",
"items": [
{
"skuCode": "phone-case-04",
"quantity": 200,
"name": "Phone Case",
"images": [
{
"url": "https://example.com/images/phone-case.png"
}
]
}
],
"totalItemsCount": 200,
"expectedReceivingDate": "2026-11-04",
"status": "ordered",
"timeSlot": {
"startTime": 900,
"endTime": 1000
},
"receivingWay": "pickup",
"carType": "medium",
"numberOfTrucks": 1,
"address": {
"location": {
"name": "Alexandria Branch",
"id": "Zx9Cv1-7"
},
"city": {
"name": "Alexandria",
"id": "Pl0Ok9Ij8Uh7Yg6Tf"
},
"firstLine": "8 Fouad St.",
"secondLine": "",
"buildingNumber": "8",
"floor": "3",
"apartment": "7",
"district": {
"id": "Ed5Rf-Tg6Yh",
"name": "Raml Station"
}
},
"contactPerson": {
"name": "Omar Khaled",
"phone": "01222222222"
},
"createdBy": "merchant@example.com",
"_id": "6ae0a16755b241be7bdc0003",
"createdAt": "2026-10-25T14:30:00.000Z",
"updatedAt": "2026-10-25T14:30:00.000Z",
"__v": 0
}
],
"meta": {
"pagination": {
"totalItems": 25,
"totalPages": 2,
"currentPage": 1,
"limit": 20,
"nextPage": 2
}
}
}

See Create Purchase Order for a description of the response fields.