Skip to main content
Flexport
Betav0.1.0
79 actions · 3 auth methods
Logistics

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See Organizations & Projects.
2

Configure the Connector

Enable the connector and create a Connector Profile in your project. See Setup Connector Profile.

MCP (OAuth) · Connector Profile

Authorize through the MCP server. Endpoints and client registration are discovered at connect time.

OAuth 2.0 (Client Credentials) · Connector Profile

Requires creating API Credentials in Flexport, each limited to the resources you enable on it. Tokens last 24 hours and…

API Key · Connector Profile

Uses a Flexport API key sent as a bearer token. A key reaches every API endpoint the account can access, with no per-res…
3

Link an Account

Link an account from the dashboard (or via StackOne Hub).See the guide for the authentication type chosen in the Connector Profile:

MCP (OAuth) · Link Account

OAuth 2.0 (Client Credentials) · Link Account

API Key · Link Account

4

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Actions

|
79 actions
Action
Description
List All Bookings
List bookings in your Flexport account, with filters, sorting and page-based pagination.
Create And Return A Booking
Create a new booking in Flexport (requires name, shipper_entity_ref, consignee_entity_ref, origin_address_ref, destinati…
Retrieve A Booking
Retrieve a single booking by its Flexport ID.
Create A New Booking Amendment
Create an amendment to an existing booking (requires booking_id).
List All Booking Line Items
List booking line items in your Flexport account, with filters, sorting and page-based pagination.
Create A Booking Line Item
Create a new booking line item in Flexport (requires purchase_order_line_item_id, booking_id, units).
Retrieves The Details Of A Single Booking Line Item
Retrieve a single booking line item by its Flexport ID.
List Company Objects
List network companies in your Flexport account, with filters, sorting and page-based pagination.
Create A New Company Object
Create a new network company in Flexport (requires name).
Retrieve A Company
Retrieve a single network company by its Flexport ID.
Update An Existing Company
Update an existing network company by its Flexport ID.
Retrieve Your Company
Retrieve your own Flexport company, the organization the connected credentials belong to.
List Of Company Entity Objects
List company entities in your Flexport account, with filters, sorting and page-based pagination.
Create And Return A New Company Entity
Create a new company entity in Flexport (requires name, mailing_address).
Retrieve A Company Entity
Retrieve a single company entity by its Flexport ID.
Update A Company Entity
Update an existing company entity by its Flexport ID.
Retrieve A Commercial Invoice
Retrieve a commercial invoice by its invoice number.
List Contact Objects
List network contacts in your Flexport account, with filters, sorting and page-based pagination.
Create A New Contact Object
Create a new network contact in Flexport (requires name, email, phone_number).
Retrieve A Contact
Retrieve a single network contact by its Flexport ID.
Update An Existing Contact
Update an existing network contact by its Flexport ID.
Retrieve A Container Load Result
Retrieve a container load result (how packages and line items were loaded into a container) by its Flexport ID.
List All Containers
List ocean shipment containers in your Flexport account, with filters and page-based pagination.
Retrieve A Container
Retrieve a single ocean shipment container by its Flexport ID.
List All Container Legs
List ocean container legs in your Flexport account, with filters and page-based pagination.
Retrieve A Container Leg On An Ocean Shipment
Retrieve a single ocean container leg by its Flexport ID.
List Customs Entry Objects
List customs entries in your Flexport account, with filters, sorting and page-based pagination.
Retrieve A Customs Entry
Retrieve a single customs entry by its Flexport ID.
Create Or Update An ISF Worksheet
Create or update an ISF (Importer Security Filing) worksheet in Flexport (requires header, bill_numbers, reference_ident…
Create A Customs Milestone
Record a customs milestone on a shipment (requires the customs public API role).
Create Or Update A Customs Order
Create or update a customs order (advance shipping notice) in Flexport (requires name, freight_details).
Retrieve A Customs Order By Fid
Retrieve a single customs order by its Flexport ID.
List Document Objects
List documents in your Flexport account, with filters, sorting and page-based pagination.
Create A Document
Create a new document in Flexport (requires file_name, mime_type, document_type, document, shipment_id).
Retrieve A Document
Retrieve a single document by its Flexport ID.
Download A Document
Download the file contents of a Flexport document, returned base64-encoded.
List All Webhook Events
List webhook events delivered to any webhook registered by this client, with filters and page-based pagination.
Retrieve A Single Webhook Event
Retrieve a single event by its Flexport ID.
List All Invoices
List freight invoices in your Flexport account, with filters, sorting and page-based pagination.
Retrieve An Invoice
Retrieve a single freight invoice by its Flexport ID.
List Of Location Objects
List network locations in your Flexport account, with filters, sorting and page-based pagination.
Create And Return A New Location
Create a new network location in Flexport (requires name, company_id, address).
Retrieve A Location By Id
Retrieve a single network location by its Flexport ID.
Update A Network Location
Update an existing network location by its Flexport ID.
Browse Shipments
Browse Flexport-managed shipments matching status, mode, date range, task, or demurrage/detention filters, paginated. Re…
Track Shipment
Search for a Flexport shipment by FLEX-ID, name, or client-assigned tag. Returns up to 20 matching shipments with full t…
Browse Purchase Orders
Browse purchase orders visible to your company, returning paginated summaries and booking progress. Supports exact purch…
Get Purchase Order
Get a purchase order by its numeric purchase_order_id, provided directly or returned by browse_purchase_orders. Returns…
Search Instant Prices
Search available instant-price freight rates for Ocean FCL, Ocean LCL, or Air shipments, given origin, destination, carg…
Evaluate Total Price
Get the full, live-evaluated price breakdown — including any selected add-on services and detention options — for a rate…
Book An Instant Price
Instantly create a real, binding booking, either against a prior rates_search_instant_price result or against a known cl…
Book Without A Rate
Create and submit an unrated supplier booking for consignee acceptance — for suppliers or shippers booking without a rat…
Request A Rate
Request a new rate quote for a lane when rates_search_instant_price has no acceptable option — for example, a lane that…
Browse Quote Requests
Find or browse your organization’s rate quote requests by name, FLEX-ID, status, freight mode, origin/destination, or su…
Get Quote Request Details
Get a quote request’s submission details and every priced quote option it received, including carrier, transit estimates…
Get Quote Details
Get one quote option’s complete transit, route, and itemized rate detail, including charges, subtotals, total price, exp…
Search Addresses
Search addresses already onboarded in your Flexport network. Query terms are matched as ANDed per-word prefixes across a…
Search Google Addresses
Search Google Places for cities, postal codes, and general place matches not yet onboarded in your Flexport network. Ret…
Search Company Entities
Search active Flexport company entities in your network by legal name. Matches on whole normalized legal-name similarity…
Search Ports
Search Flexport’s sea and air ports by name, city, UN/LOCODE, IATA code, ICAO code, or customs port code. Returns port i…
Search HS Codes
Search Flexport’s six-digit international HS-code catalog by product description or code. This tool is intended as a hel…
List Active Company Users
List or search active users in your company, including yourself. Useful for looking up a quote request submitter by name…
List Of Ports
List ports from Flexport’s port directory, with filters and page-based pagination.
List All Products For A Client
List products in your Flexport account, with filters, sorting and page-based pagination.
Create A Product
Create a new product in Flexport (requires name, sku).
Retrieve A Single Product
Retrieve a single product by its Flexport ID.
Update A Product
Update an existing product by its Flexport ID.
List All Purchase Orders
List purchase orders in your Flexport account, with filters, sorting and page-based pagination.
Create And Return A Purchase Order
Create a new purchase order in Flexport (requires name, parties, line_items).
Retrieve A Purchase Order
Retrieve a single purchase order by its Flexport ID.
Update And Return A Purchase Order
Update an existing purchase order by its Flexport ID.
List All Purchase Order Line Items
List purchase order line items in your Flexport account, with filters, sorting and page-based pagination.
Retrieve A Purchase Order Line Item
Retrieve a single purchase order line item by its Flexport ID.
List All Shipments
List shipments in your Flexport account, with filters, sorting and page-based pagination.
Retrieve A Shipment
Retrieve a single shipment by its Flexport ID.
Update An Existing Shipment
Update an existing shipment by its Flexport ID.
Create Shareable URLs For Shipments
Create shareable status-tracking URLs for one or more shipments (requires special permission from Flexport).
List All Shipment Route Legs
List shipment legs in your Flexport account, with filters, sorting and page-based pagination.
Retrieve A Shipment Route Leg
Retrieve a single shipment leg by its Flexport ID.