Save Bol Ep
POST/v1/order/save_bol
Save BOL
Saves the details of a Bill of Lading (BOL) for an order.
Required Scopes (io.w)
Request
order_id: str
Unique identifier for the order associated with the BOL.
bol_number: str
Bill of Lading (BOL) number.
terminal_id: str
Unique identifier for the terminal associated with the BOL.
bol_date: datetime
Timestamp of the BOL.
details: list[ExternalBOLRequest]
List of BOL details.
Show Child Attributes
supplier_id: str
Unique identifier for the supplier.
product_id: str
Unique identifier for the product.
contract: str | None = None
Contract number.
price_type: str | None = None
Price type. 'rack' or 'contract'
net_volume: float
Net volume.
gross_volume: float
Gross volume.
Responses
- 200
- 422
Successful Response
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...