> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://api.leanmile.com/otp-cc-flow/1-shipments/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.leanmile.com/_mcp/server. # Overview ## GENERAL Clients can choose the approach for manifesting. The system is flexible for uploading parcel, container and shipment data. System supports four levels: 1. Shipment - Could be either House/Master AWB, CMR, BIll of Lading 2. Container - a bag or carton that consists one or several smaller parcels 3. Parcel - parcel or mail item that consist goods 4. ParcelItem - individual items in the parcel Offline approach expects bulk shipment manifest whereas parcel ID calculation + labelling is done offline before arrival. Usually data is uploaded when consignment (CMR, ariway bill, bill of lading) is prepared. ![](https://content.pstmn.io/30221f4c-6bca-4138-97b3-a1c9014aa262/QVBJIHNwZWMgc2NoZW1lcyAoMSkuanBn) ## API Docs - [1. Create new shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/1-create-new-shipment.md): 1shipments - [1.1 Update shipment details](https://api.leanmile.com/otp-cc-flow/1-shipments/1-1-update-shipment-details.md): 1shipments - [Delete entire shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/delete-entire-shipment.md): 1shipments - [3. Show shipment/container/parcel status and validation information](https://api.leanmile.com/otp-cc-flow/1-shipments/3-show-shipment-container-parcel-status-and-validation-information.md): 1shipments - [4. Confirm parcel uploading and lock the shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/4-confirm-parcel-uploading-and-lock-the-shipment.md): 1shipments - [Delete parcels from specified shipment](https://api.leanmile.com/otp-cc-flow/1-shipments/delete-parcels-from-specified-shipment.md): 1shipments - [2. Add shipment parcels with items for async processing](https://api.leanmile.com/otp-cc-flow/1-shipments/2-add-shipment-parcels-with-items-for-async-processing.md): 1shipments - [Truncate all shipment parcels](https://api.leanmile.com/otp-cc-flow/1-shipments/truncate-all-shipment-parcels.md): 1shipments - [5. Upload AWB Document](https://api.leanmile.com/otp-cc-flow/1-shipments/5-upload-awb-document.md): 1shipments ## OpenAPI Specification - [OpenAPI JSON](https://api.leanmile.com/openapi.json): raw OpenAPI 3.1 specification for this API, JSON format - [OpenAPI YAML](https://api.leanmile.com/openapi.yaml): raw OpenAPI 3.1 specification for this API, YAML format