← 返回 Skills 市场
linkfox-ai

Temu Order US

作者 linkfox-ai · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
54
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkfox-temu-order-us
功能描述
Temu 美国站订单管理 API,经 LinkFox 网关转发 Partner US 订单接口:订单列表/详情/收货地址/金额/合并发货/定制/SN鉴真上传(bg.order.*、temu.local.order.verification.upload)、发货、物流等。当用户提到 Temu US 订单、上传SN、...
使用说明 (SKILL.md)

Temu 美国站订单管理 API(Manage Order)

本 skill(linkfox-temu-order-us)覆盖 Partner Platform for US 订单管理相关 bg.order.* / temu.local.order.* 接口(menu_code 与各 sub_menu_code 以 Partner 后台为准,见 partner-us-catalog.md)。欧洲站请用 linkfox-temu-order-eu;全球站(非 US/EU)请用 linkfox-temu-order-global

当前已接入 8 个接口;其余订单接口将按 Partner 文档逐条补充到 references/apis/us_order_*.py

网关(本 skill 内置)

能力 方法 路径
订单 OpenAPI(us_order_*temu_us_proxy POST https://tool-gateway.linkfox.com/temu/proxy
加签文件下载 POST https://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

场景 skill
商品列表/详情/编辑/库存/上下架 linkfox-temu-manage-product-us
发品、类目、V2 add linkfox-temu-add-product-us
价格/供货价、定价单 linkfox-temu-price-us
取消订单(买家+卖家) linkfox-temu-cancel-order-us
退货与退款 linkfox-temu-returns-refunds-us
履约/发货(含自发货) linkfox-temu-fulfillment-us
网关与 Temu token 本 skill scripts/

API Usage

文档 内容
api.md 网关、鉴权、错误码、扩展流程
partner-us-catalog.md 接口目录 + Partner URL + 脚本(随接入更新)
apis/README.md 按接口分文件apis/\x3Ctype-slug>.md

默认参数

字段 默认 说明
site us Partner US
managementType semi-managed 半托管
tokenPurpose order-shipping 订单/发货场景 token(见 access-token.md

鉴权

  1. LinkFoxLINKFOXAGENT_API_KEY → Header Authorization + Token
  2. TemuaccessTokenstoreKeystoreKey 时建议带 tokenPurpose=order-shipping

Scripts(按 type)

脚本 type 状态
us_order_list_v2_get.py bg.order.list.v2.get 已接入
us_order_detail_v2_get.py bg.order.detail.v2.get 已接入
us_order_shippinginfo_v2_get.py bg.order.shippinginfo.v2.get 已接入
us_order_decryptshippinginfo_get.py bg.order.decryptshippinginfo.get 已接入
us_order_amount_query.py bg.order.amount.query 已接入
us_order_combinedshipment_list_get.py bg.order.combinedshipment.list.get 已接入
us_order_customization_get.py bg.order.customization.get 已接入
us_order_verification_upload.py temu.local.order.verification.upload 已接入
temu_us_proxy.py 任意 type 通用
temu_us_file_download.py 加签文件下载 通用

接入新接口(约定)

你每提供一条 Partner 文档(type + 参数表 + 可选 sub_menu_code),将:

  1. 新增 references/apis/\x3Ctype-slug>.md(完整入参/出参层级)
  2. 新增 scripts/us_order_\x3Cslug>.py(调用 _us_order_script.run_cli
  3. 更新 partner-us-catalog.mdapis/README.md 与本表

示例

export LINKFOXAGENT_API_KEY="\x3Ckey>"

# 订单列表 V2(待发货 parentOrderStatus=2)
python scripts/us_order_list_v2_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "pageNumber": 1,
    "pageSize": 20,
    "parentOrderStatus": 2
  }
}'

# 按父订单号查询(最多 20 个)
python scripts/us_order_list_v2_get.py '{
  "accessToken": "TOKEN",
  "request": {
    "parentOrderSnList": ["PO-123456789"]
  }
}'

# 订单详情 V2(须 parentOrderSn)
python scripts/us_order_detail_v2_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "parentOrderSn": "PO-123456789"
  }
}'

# 收货地址 V2(传 parentOrderSn)
python scripts/us_order_shippinginfo_v2_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "parentOrderSn": "PO-123456789"
  }
}'

# 敏感收货地址解密(传 parentOrderSn)
python scripts/us_order_decryptshippinginfo_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "parentOrderSn": "PO-123456789"
  }
}'

# 订单金额/供货价(ERP 对账,传 parentOrderSn)
python scripts/us_order_amount_query.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "parentOrderSn": "PO-123456789"
  }
}'

# 可合并发货订单组(request 可为空对象)
python scripts/us_order_combinedshipment_list_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {}
}'

# 定制商品内容(子订单号 orderSn,单次最多 10 个)
python scripts/us_order_customization_get.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "orderSnList": ["SO-123456789", "SO-987654321"]
  }
}'

# 上传 SN/IMEI 或二手鉴真(orderList[].orderSn)
python scripts/us_order_verification_upload.py '{
  "accessToken": "TOKEN",
  "tokenPurpose": "order-shipping",
  "request": {
    "orderList": [
      {
        "orderSn": "SO-123456789",
        "verificationInfo": [
          {
            "serialNumber": "SN-001234567890",
            "imeiNumberList": ["352099001761481"]
          }
        ]
      }
    ]
  }
}'

Feedback: skillNamelinkfox-temu-order-us

网关与授权脚本

脚本 说明
check_linkfox_token.py 校验 LinkFox 用户 Token
temu_token_guide.py Temu accessToken 后台授权步骤
save_temu_access_token.py 保存 accessToken 到本地
list_temu_access_tokens.py 列出已保存 token
get_temu_access_token.py 读取已保存 token
temu_proxy.py 通用网关转发(多 site)
temu_file_download.py 加签文件下载(多 site)

授权说明:references/access-token.md

安全使用建议
Install only if you trust LinkFox and the publisher with Temu seller credentials and customer order data. Use a least-privilege Temu token, avoid the generic proxy and file-download helpers unless required, do not print or paste raw access tokens into chats or logs, and store tokens in a protected secret manager rather than the default plaintext file.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Order, shipping-address, amount, customization, and SN/IMEI verification APIs fit the stated Temu US order-management purpose, but the package also includes generic multi-site proxy and file-download scripts that accept arbitrary API types or URLs, expanding authority beyond the declared scope.
Instruction Scope
The documentation clearly describes credential use and sensitive order workflows, but it treats decrypted addresses and device identifiers as routine examples without strong minimization, redaction, authorization, or retention guidance.
Install Mechanism
The artifact is a normal skill package with markdown references and Python helper scripts; no hidden installer, background worker, or automatic execution path was found.
Credentials
The skill requires LinkFox and Temu credentials and sends requests to the LinkFox gateway, which is expected, but it also supports arbitrary gateway calls and arbitrary signed-file download URLs without visible allowlisting.
Persistence & Privilege
Temu access tokens can be persisted in plaintext under ~/.linkfox/temu-access-tokens.json, listed with an option to unmask them, and retrieved by a script that prints the raw token to stdout.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkfox-temu-order-us
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkfox-temu-order-us 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug linkfox-temu-order-us
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Temu Order US 是什么?

Temu 美国站订单管理 API,经 LinkFox 网关转发 Partner US 订单接口:订单列表/详情/收货地址/金额/合并发货/定制/SN鉴真上传(bg.order.*、temu.local.order.verification.upload)、发货、物流等。当用户提到 Temu US 订单、上传SN、... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 54 次。

如何安装 Temu Order US?

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

Temu Order US 是免费的吗?

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

Temu Order US 支持哪些平台?

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

谁开发了 Temu Order US?

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

💬 留言讨论