Purchase Order - Get By Status
Retrieve purchase orders filtered by their current status.
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
Changed in 3 of the 13 revisions of this API.1124
- ▲
the
queryrequest parameterstatuswas restricted to a list of enum valuesrequest-parameter-became-enum
- ▲
the
queryrequest parameterstatusbecame requiredrequest-parameter-became-required
- ○
api operation id
get_purchase_order_get_by_statuswas addedapi-operation-id-added
- ○
added the new enum value
acceptingto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
acknowledgedto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
closedto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
createdto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
editedto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
receivingto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
sentto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the new enum value
transitto thequeryrequest parameterstatusrequest-parameter-enum-value-added
- ○
added the media type
application/jsonfor the response with the status200response-media-type-added
- ○
added the media type
application/jsonfor the response with the status400response-media-type-added
- ○
added the media type
application/jsonfor the response with the status401response-media-type-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ▲
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
- ▲
removed the enum value
acceptingfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
acknowledgedfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
closedfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
createdfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
editedfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
receivingfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
sentfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the enum value
transitfrom thequeryrequest parameterstatusrequest-parameter-enum-value-removed
- ▲
removed the media type
application/jsonfor the response with the status200response-media-type-removed
- ○
api operation id
get_purchase_order_get_by_statusremoved and replaced withapi-operation-id-removed
- ○
the
queryrequest parameterstatusbecame optionalrequest-parameter-became-optional
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
removed the non-success response with the status
401response-non-success-status-removed
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
removed the non-success response with the status
429response-non-success-status-removed
- ○
removed the non-success response with the status
500response-non-success-status-removed
This revision also has 85 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲