Order Change All Ep
POST/v1/order/change/all
List Order Changes
Returns a list of order changes matching the provided filters. At least one filter is required. Results are limited to 3000 items.
Filters (at least one required):
status: OrderChangeStatus | None = None
Filter by change status (waiting_for_approval, approved, rejected, failed).
order_numbers: list[int] | None = None
Filter by specific order numbers.
as_of: datetime | None = None
Return changes created on or after this datetime. Mutually exclusive with updated_as_of and between.
updated_as_of: datetime | None = None
Return changes updated on or after this datetime. Mutually exclusive with as_of and between.
between: DateWindow | None = None
Return changes created within this date range. Mutually exclusive with as_of and updated_as_of.
Response
Returns a list of OrderChangeView objects.
id: str
The unique identifier of the order change.
order_id: str
The unique identifier of the associated order.
order_number: int
The order number.
status: OrderChangeStatus
The status of the change (waiting_for_approval, approved, rejected, failed).
change_types: list[OrderChangeType]
The types of changes requested (supply_change, destination_change, delivery_window_change).
created_on: datetime
When the change request was created.
created_by: str | None
The user who created the change request.
updated_on: datetime | None
When the change was last updated (approved/rejected).
updated_by: str | None
The user who last updated the change.
Responses
- 200
- 422
Successful Response
- application/json
- Example (from schema)
[
{
"_id": "string",
"order_id": "string",
"order_number": 0,
"status": "waiting_for_approval",
"change_types": [
"supply_change"
],
"created_on": "2026-03-19T20:39:32.884Z",
"created_by": "string",
"updated_on": "2026-03-19T20:39:32.884Z",
"updated_by": "string"
}
]
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}