Order Change Reject Ep
POST/v1/order/change/reject
Reject Order Change Request
Rejects a pending order change request.
Required Scopes (ioc.w)
change_id: str
The ObjectId of the OrderChange to reject.
reason_code: str | None
Optional reason code for the rejection. Sent back to the caller via webhook callback.
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.
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-03-19T20:39:32.881Z"
}
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...