flexport-core-workflow-a

Featured

Execute Flexport primary workflow: shipment booking and purchase order management. Use when creating bookings, managing purchase orders, tracking freight, or building the core shipment lifecycle integration. Trigger: "flexport booking", "flexport purchase order", "create flexport shipment".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Flexport Core Workflow A: Bookings & Purchase Orders ## Overview The primary Flexport integration path: create purchase orders, book shipments, and track cargo through the supply chain. The API v2 uses RESTful endpoints at `https://api.flexport.com` with JSON payloads. ## Prerequisites - Completed `flexport-install-auth` setup - Understanding of Flexport freight types (ocean FCL/LCL, air, trucking) - Valid shipper/consignee addresses configured in Flexport Portal ## Instructions ### Step 1: Create a Purchase Order ```typescript const BASE = 'https://api.flexport.com'; const headers = { 'Authorization': `Bearer ${process.env.FLEXPORT_API_KEY}`, 'Flexport-Version': '2', 'Content-Type': 'application/json', }; // POST /purchase_orders — create a PO to track inbound goods const po = await fetch(`${BASE}/purchase_orders`, { method: 'POST', headers, body: JSON.stringify({ name: 'PO-2025-001', status: 'open', buyer: { name: 'Acme Corp', address: { country: 'US' } }, seller: { name: 'Shanghai Supplier', address: { country: 'CN' } }, line_items: [ { sku: 'WIDGET-A', quantity: 500, unit_of_measure: 'pieces' }, { sku: 'WIDGET-B', quantity: 200, unit_of_measure: 'pieces' }, ], cargo_ready_date: '2025-04-15', must_arrive_by: '2025-05-20', }), }).then(r => r.json()); console.log(`PO created: ${po.data.id}`); ``` ### Step 2: Create a Booking ```typescript // POST /bookings — book freight against a purchase order const boo...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

flexport-core-workflow-b

Execute Flexport secondary workflow: commercial invoices, products catalog, and freight invoices. Use when managing commercial invoices for customs, maintaining product catalogs, or handling freight billing through the Flexport API. Trigger: "flexport invoice", "flexport products", "flexport customs documents".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-hello-world

Create a minimal working Flexport example — list shipments and track containers. Use when starting a new Flexport integration, testing your setup, or learning the Flexport REST API v2 patterns. Trigger: "flexport hello world", "flexport example", "flexport quick start".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-webhooks-events

Implement Flexport webhook event handling for shipment milestones, booking updates, purchase order events, and invoice notifications. Trigger: "flexport webhooks", "flexport events", "flexport milestones", "flexport shipment tracking webhook".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-install-auth

Install and configure Flexport API authentication with API keys or OAuth credentials. Use when setting up a new Flexport logistics integration, configuring bearer tokens, or initializing the Flexport REST API client for shipment and supply chain operations. Trigger: "install flexport", "setup flexport", "flexport auth", "flexport API key".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-reference-architecture

Implement Flexport reference architecture for supply chain integrations with best-practice project layout, service boundaries, and data flow. Trigger: "flexport architecture", "flexport project structure", "flexport system design".

2,266 Updated today
jeremylongshore