Flexport Shipments API
The Shipments API from Flexport — 6 operation(s) for shipments.
The Shipments API from Flexport — 6 operation(s) for shipments.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/flexport-shipments-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Flexport REST Bookings Shipments API
version: '2023-07-01'
description: 'Best-effort OpenAPI 3.1 description of the Flexport REST API v2.
Derived from the public developer documentation at https://apidocs.flexport.com/.
Covers a representative subset of the v2 resource model: shipments, bookings,
purchase orders, customs, documents, network entities, and webhooks. JSON
request and response bodies use Flexport''s standard envelope (`data`, `meta`,
`errors`); operation-specific schemas are not modeled here.
'
contact:
name: Flexport
url: https://www.flexport.com/
servers:
- url: https://api.flexport.com
description: Production
security:
- oauth2: []
- bearerAuth: []
tags:
- name: Shipments
paths:
/v2/shipments:
get:
tags:
- Shipments
summary: List shipments
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/PerPage'
responses:
'200':
$ref: '#/components/responses/Collection'
/v2/shipments/{id}:
parameters:
- $ref: '#/components/parameters/Id'
get:
tags:
- Shipments
summary: Retrieve a shipment
responses:
'200':
$ref: '#/components/responses/Resource'
patch:
tags:
- Shipments
summary: Update a shipment
requestBody:
$ref: '#/components/requestBodies/JsonBody'
responses:
'200':
$ref: '#/components/responses/Resource'
/v2/shipments/shareable:
post:
tags:
- Shipments
summary: Create a shareable shipment URL
requestBody:
$ref: '#/components/requestBodies/JsonBody'
responses:
'201':
$ref: '#/components/responses/Resource'
/v2/containers:
get:
tags:
- Shipments
summary: List containers
responses:
'200':
$ref: '#/components/responses/Collection'
/v2/container-legs:
get:
tags:
- Shipments
summary: List container legs
responses:
'200':
$ref: '#/components/responses/Collection'
/v2/shipment-legs:
get:
tags:
- Shipments
summary: List shipment legs
responses:
'200':
$ref: '#/components/responses/Collection'
components:
responses:
Collection:
description: Collection envelope
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
type: object
additionalProperties: true
meta:
type: object
additionalProperties: true
Resource:
description: Single resource envelope
content:
application/json:
schema:
type: object
properties:
data:
type: object
additionalProperties: true
meta:
type: object
additionalProperties: true
parameters:
PerPage:
name: per_page
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 100
Page:
name: page
in: query
required: false
schema:
type: integer
minimum: 1
Id:
name: id
in: path
required: true
schema:
type: string
requestBodies:
JsonBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: true
securitySchemes:
oauth2:
type: oauth2
description: OAuth 2.0 client credentials issued from the Flexport admin console
flows:
clientCredentials:
tokenUrl: https://api.flexport.com/oauth/token
scopes: {}
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT