Use the Downstream API to update the tradeflow. Send a POST to /downstream/tradeflows with the tradeflow_reference. Use the bill_of_lading_reference list and include only the correct bill of lading reference. Set bill_of_lading_references_complete to true. The documentation lists this flag for bill_of_lading_reference and says it uses the same logic as the container complete flag, where containers not listed are removed. If you omit the complete flag, the list is merged instead of replaced. Processing is asynchronous; the response acknowledges each queued item. Check the result in the app with Download ▸ Download V3 API, or read it back from the upstream API.
Example
A forwarder has a tradeflow with several bill of lading references. They send an update with only the correct reference in the bill_of_lading_reference list and set bill_of_lading_references_complete to true. The other references are removed. They then check the tradeflow in the app with Download ▸ Download V3 API.