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,940 stars 439 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
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category