flexport-upgrade-migration

Featured

Migrate between Flexport API versions (v1 to v2, Logistics API versions). Use when upgrading API version headers, handling deprecated endpoints, or migrating from legacy Flexport API patterns. Trigger: "upgrade flexport", "flexport API version", "flexport migration".

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 Upgrade & Migration ## Overview Guide for migrating between Flexport API versions. The main API uses `Flexport-Version` header (currently `2`). The Logistics API has dated versions (`2023-10`, `2024-04`). Breaking changes are versioned -- old versions remain available during deprecation windows. ## Instructions ### Step 1: Identify Current API Usage ```bash # Find all Flexport API calls in your codebase grep -rn "Flexport-Version\|api.flexport.com\|logistics-api.flexport.com" src/ --include="*.ts" --include="*.py" # Check which version header you're sending grep -rn "Flexport-Version" src/ --include="*.ts" ``` ### Step 2: API v1 to v2 Migration | Change | v1 | v2 | |--------|----|----| | Header | `Flexport-Version: 1` | `Flexport-Version: 2` | | Response wrapper | `{ "_object": "Shipment", ... }` | `{ "data": { ... } }` | | Pagination | `{ "next": "/shipments?page=2" }` | `{ "data": { "records": [], "total_count": N } }` | | Error format | `{ "errors": [...] }` | `{ "error": { "code": "...", "message": "..." } }` | | Date format | Mixed | ISO 8601 consistently | ```typescript // v1 pattern (deprecated) const res = await fetch(`${BASE}/shipments`, { headers: { 'Flexport-Version': '1' } }); const { _object, id, status } = await res.json(); // v2 pattern (current) const res = await fetch(`${BASE}/shipments`, { headers: { 'Flexport-Version': '2' } }); const { data } = await res.json(); data.records.forEach(s => console.log(s.id, s.status)); ``` ### Step 3: L...

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-migration-deep-dive

Execute major migration strategies for Flexport including migrating from legacy freight forwarders, ERP system integration, and strangler fig patterns. Trigger: "flexport migration", "migrate to flexport", "flexport ERP integration".

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-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

firecrawl-upgrade-migration

Upgrade Firecrawl SDK versions and migrate between API versions (v0 to v1/v2). Use when upgrading the SDK, handling breaking changes between versions, or migrating from the old API to the current v2 API. Trigger with phrases like "upgrade firecrawl", "firecrawl migration", "firecrawl v2", "update firecrawl SDK", "firecrawl breaking changes".

2,266 Updated today
jeremylongshore
AI & Automation Featured

flexport-common-errors

Diagnose and fix common Flexport API errors including HTTP status codes, webhook failures, and data validation issues. Trigger: "flexport error", "fix flexport", "flexport not working", "debug flexport API".

2,266 Updated today
jeremylongshore