{"id":"ff8210b5-55cd-45ee-bf17-ef017e43fa44","task":"Integrate the Flexport API to track ocean freight milestones, retrieve commercial invoice data, and automate customs document retrieval for inbound shipments","domain":"api.flexport.com","steps":["Authenticate with the Flexport API using OAuth 2.0 and retrieve the list of active shipments via the Shipments index endpoint, filtering by transportation mode (ocean) and status","Poll or subscribe to shipment milestone events (vessel departure, vessel arrival, customs cleared, available for pickup) using the Flexport webhooks or the shipment details endpoint","Retrieve the commercial invoice, packing list, and bill of lading documents for each shipment via the Documents endpoint, specifying the document type filter","Parse the customs entry data from the Flexport Customs Entries endpoint to extract the entry number, HTS classifications, duty paid, and liquidation date for your import compliance records","Use the Flexport Products API to maintain a catalog of your imported products with pre-classified HTS numbers that auto-populate on new shipments"],"gotchas":["Flexport API rate limits are enforced per client ID; high-volume polling of the shipments endpoint should be replaced with webhook subscriptions to avoid hitting limits","Document availability in the Flexport API depends on when the freight forwarder uploads them; commercial invoices may not be available until 24-48 hours after booking confirmation","Customs entry data in Flexport reflects the broker's filed entry, not the final liquidated entry; reconcile against ACE records for final duty liability"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:47.415Z"},"url":"https://mcp.waymark.network/r/ff8210b5-55cd-45ee-bf17-ef017e43fa44"}