Purchase Order - Get Closed
Changed onRetrieve all closed (completed) purchase orders.
Request
- Base URLhttps://api.skulabs.com
- URLhttps://api.skulabs.com/purchase_order/get_closed
- AuthHTTP bearer
Query parameters
Start date
End date
Response
Closed purchase orders
Example response
{
"purchase_orders": [
{
"_id": "507f1f77bcf86cd799439011",
"log": [
{
"user_id": "507f1f77bcf86cd799439011",
"time": "2025-01-15T12:00:00.000Z"
}
],
"due_date": "2025-01-15",
"arrival_date": "2025-01-15",
"closed_date": "2025-01-15",
"tags": [
"507f1f77bcf86cd799439011",
"507f1f77bcf86cd799439012"
],
"store_id": "507f1f77bcf86cd799439011"
}
]
}Changes
- breaking
the
queryrequest parameterendbecame required - breaking
the
queryrequest parameterstartbecame required - info
api operation id
get_purchase_order_get_closedwas added - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- breaking
for the
queryrequest parameterend, the format changed from no format todate - breaking
for the
queryrequest parameterstart, the format changed from no format todate - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking