Purchase Order - Get Single By Number
Changed onRetrieve a single purchase order by its PO number.
Request
- Base URLhttps://api.skulabs.com
- URLhttps://api.skulabs.com/purchase_order/get_single_by_number
- AuthHTTP bearer
Query parameters
PO number
Projection fields object, e.g. { "name": 1 }
Response
Purchase order by number
Example response
{
"purchase_order": {
"_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 parameternumberbecame required - info
api operation id
get_purchase_order_get_single_by_numberwas added - info
for the
queryrequest parameternumber, the type was generalized fromnumbertostring, and format fromintegerto no format - 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 parameterfields, the type changed fromarraytoobject
- breaking