Order Change Reject Ep
POST/v1/order/change/reject
Reject Order Change Request
Rejects a pending order change request.
change_id: str
The ObjectId of the OrderChange to reject.
reason_code: str | None = None
Optional reason code for the rejection. Sent back to the caller via webhook callback. Max length 100.
trigger_callback: bool = True
Whether to trigger webhook callbacks for the change. If the request originated from a webhook, set to False to avoid loops.
run_async: bool = False
When True, the decision is queued and the endpoint returns immediately with an
OrderChangeAsyncResponse instead of waiting for the change to be applied.
Response
id: str
The unique identifier of the order change.
order_id: str
The internal identifier of the order the change applies to.
order_number: int
The number of the order the change applies to.
status: OrderChangeStatus
The status of the change. One of waiting_for_approval, approved, rejected, failed.
updated_on: datetime
When the change was rejected.
Responses
- 200
- 422
Successful Response
- application/json
- Example (from schema)
{
"id": "string",
"order_id": "string",
"order_number": 0,
"status": "waiting_for_approval",
"updated_on": "2026-09-25T19:33:18.328Z"
}
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}