{ "opencollection": "1.0.0", "info": { "name": "Flexport REST Bookings Shipments API", "version": "2023-07-01" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.flexport.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Shipments", "type": "folder" }, "items": [ { "info": { "name": "List shipments", "type": "http" }, "http": { "method": "GET", "url": "https://api.flexport.com/v2/shipments", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "per_page", "value": "", "type": "query" } ] }, "docs": "List shipments" }, { "info": { "name": "Retrieve a shipment", "type": "http" }, "http": { "method": "GET", "url": "https://api.flexport.com/v2/shipments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Retrieve a shipment" }, { "info": { "name": "Update a shipment", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.flexport.com/v2/shipments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a shipment" }, { "info": { "name": "Create a shareable shipment URL", "type": "http" }, "http": { "method": "POST", "url": "https://api.flexport.com/v2/shipments/shareable", "body": { "type": "json", "data": "{}" } }, "docs": "Create a shareable shipment URL" }, { "info": { "name": "List containers", "type": "http" }, "http": { "method": "GET", "url": "https://api.flexport.com/v2/containers" }, "docs": "List containers" }, { "info": { "name": "List container legs", "type": "http" }, "http": { "method": "GET", "url": "https://api.flexport.com/v2/container-legs" }, "docs": "List container legs" }, { "info": { "name": "List shipment legs", "type": "http" }, "http": { "method": "GET", "url": "https://api.flexport.com/v2/shipment-legs" }, "docs": "List shipment legs" } ] } ], "bundled": true }