Upgrade Shippo

作者 goshippocf8e96532f24无许可证3 个星标收录于 2026年10月8日更新于 2026年10月8日仓库2周前更新

Guide for Shippo API version changes, webhook payload versioning, and how the hosted MCP server handles updates. Use when reasoning about backward compatibility, handling new fields in webhook payloads or API responses, troubleshooting OAuth/version-mismatch errors against the hosted MCP, or auditing an existing Shippo integration before a change.

AI 生成的概览

指导 Shippo API 版本变更、Webhook 负载版本管理,以及托管 Shippo MCP 服务器的故障排查。

功能
该技能提供关于处理 Shippo API 版本变更、Webhook 负载版本管理以及托管 Shippo MCP 服务器如何处理更新的指导。它说明了向后兼容的实际含义、如何优雅地处理 Webhook 新字段,以及如何排查 OAuth 和版本不匹配错误。它还列出了在变更前审计现有 Shippo 集成的步骤。
适用场景
适用于思考向后兼容性、处理 Webhook 负载或 API 响应中的新字段,或排查托管 Shippo MCP 的 OAuth 与版本不匹配错误。它也用于在变更前审计现有 Shippo 集成。
运行要求
不附带脚本,仅为说明性指导。它假定可以访问位于 mcp.shippo.com 的托管 Shippo MCP 服务器并拥有已授权的 OAuth 会话,并引用外部 Shippo 文档和变更日志页面。
<!-- ⚠️ DO NOT EDIT. Auto-generated from skills/upgrade-shippo/SKILL.md by scripts/sync.js Edits here will be overwritten on the next sync. To change this content, edit the canonical source and re-run the sync script. -->

The Shippo MCP is hosted at https://mcp.shippo.com. It is OAuth-only and auto-updates server-side, so there is nothing to install or upgrade on your side. This skill covers what stays your responsibility: API version awareness, webhook payload versioning, and troubleshooting the hosted session.

API version handling

The current Shippo API version is 2018-02-08. Shippo uses a single long-lived API version, and the hosted server manages it for you server-side. You do not set the Shippo-API-Version header yourself when going through the hosted MCP.

What backward-compatibility means in practice:

  • Most changes are backward-compatible: new optional fields, new resources, additional webhook events. Existing calls keep working.
  • Breaking changes are rare and announced via release notes.
  • Because the server picks the version, you don't pin anything client-side. Your job is to handle new fields gracefully (see webhook versioning below) rather than to manage versions.

Shippo API changes are tracked in the API changelog. As of 2026-06, no recent breaking changes affect the workflows covered by this skill set.

Webhook event versioning

Webhook events can include new fields without bumping the API version. To handle them gracefully:

  • Default to ignoring unknown fields in your webhook handler, never fail-closed on a field you don't recognize.
  • Subscribe only to the specific event types you need (track_updated, transaction_created, transaction_updated, etc.).
  • Verify webhook signatures using the Shippo-Signature header per webhook docs.

Troubleshooting the hosted MCP

401 or 403 errors

The OAuth session has expired or is not authorized. Re-authorize the Shippo OAuth session: in Claude Code, run /mcp and sign in again.

Tools changed or missing after a server update

The hosted server auto-updates, so the tool catalog can shift without any action on your side. Re-list the current tools via shippo_list_tools to see what is available now.

"Not found" errors for objects you expect to exist

Most likely the object does not exist on the authorized account, or it belongs to a different account. Confirm you are signed in to the account that owns the object (re-authorize via /mcp if needed).

Auditing an existing integration

Before making a change to a production integration:

  1. Don't pin anything client-side. The hosted server manages the API version, so there's nothing to pin.
  2. Verify webhook handlers ignore unknown fields.
  3. Review the API changelog for any breaking changes.
  4. Re-list tools via shippo_list_tools after an update to catch renamed or added operations.

来源与署名

来源:goshippo/ai位于providers/claude/plugin/skills/upgrade-shippo提交cf8e965

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架

更多来自 goshippo/ai 的技能

Tracking

goshippo

通过 Shippo API 跨承运商追踪包裹,包括物流轨迹和追踪 webhook。

Productivity & Workflow32周前更新

Shippo Support Ticket

goshippo

Generate a complete, auto-classified, ready-to-paste Shippo support ticket for a single shipment or label. Use when a support agent or customer needs to escalate a shipping issue (lost/delayed package, unused-label refund, billing/rate adjustment, address exception, customs hold, carrier-account, or tracking-webhook problem). Given a tracking number + carrier, a transaction (label) ID, or a shipment ID, it classifies the issue, runs the right read-only Shippo MCP lookups, computes the triage timeline, and emits both a copy-paste support message and a routing-tagged JSON block so the ticket lands in the right pipeline first time.

待分类32周前更新

Shippo Best Practices

goshippo

Guides Shippo integration decisions, choosing between Rates at Checkout vs. full Shipments+Transactions vs. Batch processing, address validation strategy (v1 vs v2 fields), domestic vs international workflows (customs declarations, incoterms), label format selection, and webhook setup. Use when planning, building, or reviewing any Shippo integration, including building checkout flows, bulk fulfillment pipelines, address validation, label generation, package tracking, customs handling, or webhook subscriptions.

待分类32周前更新

Shipping Analysis

goshippo

通过 Shippo API 分析运费、比较承运商、优化包裹尺寸并审查历史运费支出。

Business & Finance32周前更新

Rate Shopping

goshippo

通过 Shippo API 比较多家承运商的运费,并推荐最便宜、最快或最具性价比的方案。

Business & Finance32周前更新

Label Purchase

goshippo

指导通过 Shippo API 购买国内、国际及退货运输标签,涵盖报关与退款。

Business & Finance32周前更新