Purchase Order - Get Closed With Items
Retrieve closed purchase orders with their full item details included.
Query parameters
Start date
End date
Response
Closed purchase orders with item details
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.519
- ▲
the
queryrequest parameterendbecame requiredrequest-parameter-became-required
- ▲
the
queryrequest parameterstartbecame requiredrequest-parameter-became-required
- ○
api operation id
get_purchase_order_get_closed_with_itemswas addedapi-operation-id-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
- ▲
- ▲
for the
queryrequest parameterend, the type/format was changed fromstring/tostring/daterequest-parameter-type-changed
- ▲
for the
queryrequest parameterstart, the type/format was changed fromstring/tostring/daterequest-parameter-type-changed
- ○
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 media type
application/jsonfor the response with the status200response-media-type-removed
- ○
api operation id
get_purchase_order_get_closed_with_itemsremoved and replaced withapi-operation-id-removed
- ○
the
queryrequest parameterendbecame optionalrequest-parameter-became-optional
- ○
the
queryrequest parameterstartbecame optionalrequest-parameter-became-optional
- ○
for the
queryrequest parameterend, the type/format was generalized fromstring/datetostring/request-parameter-type-generalized
- ○
for the
queryrequest parameterstart, the type/format was generalized fromstring/datetostring/request-parameter-type-generalized
- ○
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
- ▲