Purchase Order - Get By Status
Changed onRetrieve purchase orders filtered by their current status.
Request
- Base URLhttps://api.skulabs.com
- URLhttps://api.skulabs.com/purchase_order/get_by_status
- AuthHTTP bearer
Query parameters
PO status to filter by
Response
Purchase orders by status
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 parameterstatuswas restricted to a list of enum values - breaking
the
queryrequest parameterstatusbecame required - info
api operation id
get_purchase_order_get_by_statuswas added - info
added the new enum value
acceptingto thequeryrequest parameterstatus - info
added the new enum value
acknowledgedto thequeryrequest parameterstatus - info
added the new enum value
closedto thequeryrequest parameterstatus - info
added the new enum value
createdto thequeryrequest parameterstatus - info
added the new enum value
editedto thequeryrequest parameterstatus - info
added the new enum value
receivingto thequeryrequest parameterstatus - info
added the new enum value
sentto thequeryrequest parameterstatus - info
added the new enum value
transitto thequeryrequest parameterstatus - 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
- info
added the non-success response with the status
- info
added the non-success response with the status
- info