Remove Bol Ep
POST/v1/order/remove_bols
Remove BOL
Removes Bills of Lading (BOLs) from an order.
Each row is processed independently: a bol_number that doesn't exist on its order, or that's blocked by an approved Supplier Reconciliation match, is reported as an error for that row without failing the rest of the batch.
Required Scopes (io.w)
Request
order_id: str | None = None
Unique identifier for the order.
order_number: int | None = None
Order number for the order.
bol_number: str
Bill of Lading (BOL) number to remove.
Response
deleted_count: int
The number of BOLs successfully removed.
errors: list[DeleteError]
A list of errors for BOLs that could not be removed.
Responses
- 200
- 422
Successful Response
- application/json
- Example (from schema)
{
"deleted_count": 0,
"errors": [
{
"id": "string",
"error": "string"
}
]
}
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...