GET All Orders Received
Developing
GET
{{url}}api/v1/admin/orders/receive
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://ecompulse.test/api/v1/admin/orders/receive' \
--header 'Accept: application/json' \
--header 'X-API-Key: exzbLclGAzBCyL0k1Yv29Evu6mwoYOATBF0lWPyT'
Response Response Example
{
"status": "success",
"message": "Purchases retrieved successfully",
"data": [
{
"id": 2,
"reference_no": "PORES-00002",
"received_date": "2024-05-21",
"note": "not all items received\r\n(P10:order 40, received 30/P1:order 15, received 5",
"tax": "474.90",
"shipping": "10.00",
"discount": "0.00",
"grand_total": "5,233.90",
"paid": "5,233.90",
"balance": "0.00",
"status": {
"value": 1,
"text": "Paid"
},
"purchase": {
"id": 2,
"reference_no": "PO-00002",
"warehouse": "Warehouse 1",
"vendor": "James Peter"
},
"products": [
{
"id": 5,
"sku": "P5",
"name": "Freedom Body Corn Dress",
"total_qty": 17,
"price": "42.00",
"qty": 17,
"cost": "37.00",
"product_net_cost": "37.00",
"discount": "0.00",
"weight_based_price": "0.00",
"product_cost_tax": "0.00",
"subtotal": "629.00",
"tax_method_id": null,
"tax_id": null,
"option_id": null,
"option_values": null
},
...
...
...
]
},
...
...
...
]
}
Request
Header Params
Accept
stringÂ
required
Example:
application/json
X-API-Key
stringÂ
required
Example:
{{key}}
Responses
Modified at 2024-05-27 02:43:36