Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
linkfox-ai avatar

Linkfox Amazon Store Orders

  • 186 installs
  • 64 repo stars
  • Updated August 3, 2026
  • linkfox-ai/linkfox-skills

Helps with ai & agent building tasks.

About

linkfox-amazon-store-orders is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • linkfox-amazon-store-orders
  • AI & Agent Building
  • AI-coding skill

Linkfox Amazon Store Orders by the numbers

  • 186 all-time installs (skills.sh)
  • +36 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #2,978 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/linkfox-ai/linkfox-skills --skill linkfox-amazon-store-orders

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs186
repo stars64
Last updatedAugust 3, 2026
Repositorylinkfox-ai/linkfox-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Amazon 店铺 Orders

本 skill 与 `linkfox-amazon-store-auth``linkfox-amazon-store-report``linkfox-amazon-store-listings``linkfox-amazon-store-pricing` 同属 Amazon Store 系列:先 `POST /spApi/storeTokens``accessToken`,再 `POST /spApi/developerProxy` 转发上游 `GET` / `POST` / `PATCH`

官方参考索引

能力文档
searchOrderssearchOrders
getOrder (v2026-01-01)getOrder
getOrderBuyerInfo (deprecated)getOrderBuyerInfo
getOrderAddress (deprecated)getOrderAddress
getOrderItems (deprecated)getOrderItems
getOrderItemsBuyerInfo (deprecated)getOrderItemsBuyerInfo
updateShipmentStatusupdateShipmentStatus
getOrderRegulatedInfogetOrderRegulatedInfo
updateVerificationStatusupdateVerificationStatus
confirmShipmentconfirmShipment

---

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(要点)脚本
searchOrdersorders/2026-01-01/orders + Querysearch_orders.py
getOrderorders/2026-01-01/orders/{orderId} + Queryget_order.py
getOrderBuyerInfoorders/v0/orders/{orderId}/buyerInfoget_order_buyer_info.py
getOrderAddressorders/v0/orders/{orderId}/addressget_order_address.py
getOrderItemsorders/v0/orders/{orderId}/orderItems + NextTokenget_order_items.py
getOrderItemsBuyerInfoorders/v0/orders/{orderId}/orderItems/buyerInfoget_order_items_buyer_info.py
updateShipmentStatusorders/v0/orders/{orderId}/shipment,POST JSONupdate_shipment_status.py
getOrderRegulatedInfoorders/v0/orders/{orderId}/regulatedInfoget_order_regulated_info.py
updateVerificationStatusorders/v0/orders/{orderId}/regulatedInfo,PATCH JSONupdate_verification_status.py
confirmShipmentorders/v0/orders/{orderId}/shipmentConfirmation,POST JSONconfirm_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`
  • confirmShipment`requestBody` 为官方要求的完整对象(通常含 `packageDetail` 等)。

---

Scripts

export LINKFOXAGENT_API_KEY="<your-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`,再解析各脚本附加字段(如 `searchOrders``order`)。 2. POST/PATCH 脚本:stdout 中含 `requestBody`(组装后的 Amazon 请求体),便于排查。 3. v0 买家/地址/行项目 接口在官方文档中为 deprecated;新集成优先用 v2026-01-01searchOrders / getOrder`includedData` 拉齐业务字段。 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](https://skill.linkfox.com/)

<!-- LF_LARGE_RESPONSE_BLOCK -->

Handling Large Responses

To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:

python scripts/response_io.py run --script scripts/check_auth_dependency.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>"   # or --path "<JMESPath>"
Pick --out-dir outside any git working tree (e.g. /tmp/... on Unix, %TEMP%/... on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.
This skill exposes multiple entry scripts: check_auth_dependency.py, confirm_shipment.py, get_order.py, get_order_address.py, get_order_buyer_info.py, get_order_items.py, get_order_items_buyer_info.py, get_order_regulated_info.py, search_orders.py, update_shipment_status.py, update_verification_status.py. Pass --script scripts/<name>.py to choose the one you need.

run writes the full response to a file and emits only a schema preview + file path. read projects specific fields, with --limit/--offset for slicing and --format json|jsonl|csv|table for output.

When to prefer this pattern — apply your judgment based on the response characteristics, e.g.:

  • High field count per record, or fields you don't need
  • Batch/paginated results (multiple items per call)
  • Long-text fields (descriptions, reviews, HTML, time series)
  • Output reused across later steps rather than consumed immediately

For small, single-use responses, calling the main script directly is fine.

⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via read. <!-- /LF_LARGE_RESPONSE_BLOCK -->

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.