配送料金の分析、配送業者の比較、荷物のサイズ最適化、および過去の配送コストの確認を、Shippo API(配送手配のサービス)を通じて行うことができます。
Analyze shipping costs, compare carriers, optimize package dimensions, and review historical shipping spend via the Shippo API
ListCarrierAccountsを呼び出して、設定済みの配送業者を確認します。CreateShipmentを呼び出して料金を集めます。配送の作成は無料ですが、CreateTransactionには費用がかかります。analysis/ディレクトリに保存します(マークダウン形式のレポート + CSV)。カラム: ルート、配送先、配送業者、サービス、コスト、通貨、推定日数、ゾーン。ListCarrierParcelTemplatesとListUserParcelTemplatesをチェックして、定額制のテンプレートと保存済みのテンプレートを探します。次元重量(容積で計算した重量)と定額制に関するガイダンスはshippo/references/rate-shopping-guide.mdを参照してください。CreateShipmentを呼び出します。shippo/references/carrier-guide.mdを参照してください。CreateShipmentを呼び出します。rates配列をprovider(配送業者)ごとにグループ化します。ListShipmentsとListTransactionsを呼び出して、過去の活動を取得します。GetTrackを呼び出して、実際の配送日数と推定日数を確認します。レポートをanalysis/ディレクトリに書き込みます。存在しない場合は作成します。マークダウン形式とCSVの両方を含めます。CSVはヘッダー行が必須です。マークダウンはタイムスタンプと入力パラメータを含める必要があります。
コスト分析:
ListCarrierAccounts → CreateShipment(配送先ごと)→ rates配列を読み取る → レポート作成
配送業者比較:
CreateShipment → ratesをproviderでグループ化 → 集計
過去のレビュー:
ListShipments + ListTransactions → 相互参照 → GetTrack(サンプル)→ レポート作成
<!-- ⚠️ DO NOT EDIT. Auto-generated from skills/shipping-analysis/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. -->
ListCarrierAccounts to see configured carriers.CreateShipment per destination to collect rates. Creating shipments is free; only CreateTransaction costs money.analysis/ directory (markdown report + CSV). Columns: Route, Destination, Carrier, Service, Cost, Currency, EstimatedDays, Zone.ListCarrierParcelTemplates and ListUserParcelTemplates for flat-rate and saved templates. See shippo/references/rate-shopping-guide.md for dimensional weight and flat-rate guidance.CreateShipment per profile on the same route.shippo/references/carrier-guide.md for carrier-specific weight limits and surcharges.CreateShipment for the route.rates array by provider.ListShipments and ListTransactions to get past activity.GetTrack to check actual vs. estimated delivery times.Write reports to the analysis/ directory. Create it if it does not exist. Include both markdown and CSV. CSV must have a header row. Markdown must include a timestamp and input parameters.
Cost analysis:
ListCarrierAccounts -> CreateShipment (per destination) -> read rates arrays -> write report
Carrier comparison:
CreateShipment -> group rates by provider -> summarize
Historical review:
ListShipments + ListTransactions -> cross-reference -> GetTrack (sample) -> write report
原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。