← 返回 Skills 市场
linkfox-ai

Amazon Store Orders

作者 linkfox-ai · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkfox-amazon-store-orders
功能描述
亚马逊店铺订单(与 linkfox-amazon-store-auth / report / listings / pricing 同系列),经 /spApi/developerProxy 调用 SP-API Orders:v2026-01-01 的 searchOrders、getOrder;v0 的 getO...
使用说明 (SKILL.md)

Amazon 店铺 Orders

本 skill 与 linkfox-amazon-store-authlinkfox-amazon-store-reportlinkfox-amazon-store-listingslinkfox-amazon-store-pricing 同属 Amazon Store 系列:先 POST /spApi/storeTokensaccessToken,再 POST /spApi/developerProxy 转发上游 GET / POST / PATCH

官方参考索引

能力 文档
searchOrders searchOrders
getOrder (v2026-01-01) getOrder
getOrderBuyerInfo (deprecated) getOrderBuyerInfo
getOrderAddress (deprecated) getOrderAddress
getOrderItems (deprecated) getOrderItems
getOrderItemsBuyerInfo (deprecated) getOrderItemsBuyerInfo
updateShipmentStatus updateShipmentStatus
getOrderRegulatedInfo getOrderRegulatedInfo
updateVerificationStatus updateVerificationStatus
confirmShipment confirmShipment

Prerequisites(必须先读)

本 skill 依赖 linkfox-amazon-store-auth

  1. 运行 python scripts/check_auth_dependency.py;若 exit code 42 且 stderr 含 DEPENDENCY_MISSING:,请先安装 linkfox-amazon-store-auth
  2. 不要在本 skill 内绕过依赖实现授权或令牌逻辑。

Current Capabilities(脚本一览)

能力 developerProxy path(要点) 脚本
searchOrders orders/2026-01-01/orders + Query search_orders.py
getOrder orders/2026-01-01/orders/{orderId} + Query get_order.py
getOrderBuyerInfo orders/v0/orders/{orderId}/buyerInfo get_order_buyer_info.py
getOrderAddress orders/v0/orders/{orderId}/address get_order_address.py
getOrderItems orders/v0/orders/{orderId}/orderItems + NextToken get_order_items.py
getOrderItemsBuyerInfo orders/v0/orders/{orderId}/orderItems/buyerInfo get_order_items_buyer_info.py
updateShipmentStatus orders/v0/orders/{orderId}/shipment,POST JSON update_shipment_status.py
getOrderRegulatedInfo orders/v0/orders/{orderId}/regulatedInfo get_order_regulated_info.py
updateVerificationStatus orders/v0/orders/{orderId}/regulatedInfo,PATCH JSON update_verification_status.py
confirmShipment orders/v0/orders/{orderId}/shipmentConfirmation,POST JSON confirm_shipment.py

共享逻辑见 scripts/_spapi_orders_common.py(仅供同目录脚本 import,非独立 CLI)。


Quick Parameters(摘要)

  • searchOrderscreatedAfter lastUpdatedAfter(二选一);marketplaceIds;可选 fulfillmentStatusesfulfilledBymaxResultsPerPagepaginationToken(上一页 nextToken)、includedData
  • getOrderorderId;可选 includedData(如 BUYER、FULFILLMENT、PACKAGES)。
  • getOrderItems / getOrderItemsBuyerInfo:可选 nextToken → 查询参数 NextToken
  • updateShipmentStatusmarketplaceIdshipmentStatus(ReadyForPickup / PickedUp / RefusedPickup);可选 orderItems
  • updateVerificationStatus:传 regulatedOrderVerificationStatus 对象,或整包 requestBody
  • confirmShipmentrequestBody 为官方要求的完整对象(通常含 packageDetail 等)。

Scripts

export LINKFOXAGENT_API_KEY="\x3Cyour-key>"

python scripts/search_orders.py '{"sellerId":"A1...","region":"NA","marketplaceIds":["ATVPDKIKX0DER"],"lastUpdatedAfter":"2026-05-01T00:00:00Z"}'

python scripts/get_order.py '{"sellerId":"A1...","region":"NA","orderId":"123-1234567-1234567","includedData":["FULFILLMENT","PACKAGES"]}'

Display Rules

  1. 先看网关 developerProxy.errcode / httpStatus,再解析各脚本附加字段(如 searchOrdersorder)。
  2. POST/PATCH 脚本:stdout 中含 requestBody(组装后的 Amazon 请求体),便于排查。
  3. v0 买家/地址/行项目 接口在官方文档中为 deprecated;新集成优先用 v2026-01-01searchOrders / getOrderincludedData 拉齐业务字段。
  4. searchOrders 默认速率较低(官方约 0.0056 req/s),注意 429
  5. 受限 PII / RDT 以 Amazon 数据保护政策为准;详见 references/api.md

Important Limitations

  • 权限:Orders 及相关角色;部分读取可能需 Restricted Data Token,不在本 skill 内实现。
  • 路径白名单:若网关返回 1005 等拒绝转发,需后端放行 orders/v0/...orders/2026-01-01/... 前缀。
  • 返回结构以 Amazon schema 为准;详见 references/api.md

Feedback:references/api.mdskillNamelinkfox-amazon-store-orders


更多跨境 skill:LinkFox Skills

安全使用建议
Treat this as an incomplete review: install only after the actual SKILL.md, metadata, install specs, and artifact contents are available for inspection.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
No supplied artifact text was available to show a purpose/capability mismatch.
Instruction Scope
No artifact-backed instruction-scope issue was available for review.
Install Mechanism
Workspace inspection could not be completed because local file-read commands failed before accessing metadata.json or artifact files.
Credentials
No artifact evidence showed disproportionate environment access.
Persistence & Privilege
No artifact evidence showed persistence or privilege concerns.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkfox-amazon-store-orders
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkfox-amazon-store-orders 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.0.1
Initial release
元数据
Slug linkfox-amazon-store-orders
版本 0.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Amazon Store Orders 是什么?

亚马逊店铺订单(与 linkfox-amazon-store-auth / report / listings / pricing 同系列),经 /spApi/developerProxy 调用 SP-API Orders:v2026-01-01 的 searchOrders、getOrder;v0 的 getO... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Amazon Store Orders?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install linkfox-amazon-store-orders」即可一键安装,无需额外配置。

Amazon Store Orders 是免费的吗?

是的,Amazon Store Orders 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Amazon Store Orders 支持哪些平台?

Amazon Store Orders 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Amazon Store Orders?

由 linkfox-ai(@linkfox-ai)开发并维护,当前版本 v0.0.1。

💬 留言讨论