agentCLAWHUBUnverified

Shopee-店铺订单

Shopee(虾皮)店铺订单(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API Order 模块全部 22 个接口:get_order_list、get_order_detail、get_shipment_list、search_package_list、cancel_order、ship 相关 booking/invoice/FBS 等。当用户提到 Shopee 订单、虾皮订单列表、订单详情、包裹、拆单、取消订单、买家取消、订单备注、booking、FBS 发票、order_sn、READY_TO_SHIP、Shopee order processing 时触发。即使未明确提及"订单",只要涉及已授权 Shopee 店铺的订单查询或订单处理,也应触发。

OpenClaw

Rank

62

Safety

84

Downloads

995

Updated

Oct 11, 2026

Version

1.0.6

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 995 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 11, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 11, 2026
Adoption signal
995 downloadsadoption · observed Oct 11, 2026
Latest release
1.0.6release · observed Sep 14, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-orders
  1. Install using `clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-orders` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

154,676 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-shopee-store-orders
description: Shopee(虾皮)店铺订单(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API Order 模块全部 22 个接口:get_order_list、get_order_detail、get_shipment_list、search_package_list、cancel_order、ship 相关 booking/invoice/FBS 等。当用户提到 Shopee 订单、虾皮订单列表、订单详情、包裹、拆单、取消订单、买家取消、订单备注、booking、FBS 发票、order_sn、READY_TO_SHIP、Shopee order processing 时触发。即使未明确提及"订单",只要涉及已授权 Shopee 店铺的订单查询或订单处理,也应触发。
---

# Shopee 店铺 Orders

Shopee Open Platform **Order 模块**(22 个 API)。**依赖 `linkfox-shopee-store-auth`** 选店;经 **`POST /shopee/developerProxy`** 传入 `shopId`(或 `merchantId`),由服务端解析 token 转发(`path` 须 `api/v2/order/...`)。

## 调用方式

- **API 端点**:`POST /shopee/developerProxy`(不同操作通过请求体区分;完整参数/响应/错误码见 `references/api.md`)
- **Python 脚本**:`python scripts/<脚本名>.py '<JSON 参数>' [--inline]`(可用脚本见上文脚本一览)
- **成本约束**:本工具会消耗算力;失败/空结果不得自动换关键词、翻页或连续试探;需要继续检索时先向用户说明会产生额外消耗。

**输出策略(脚本默认行为)**:
- **始终**将完整响应写入 `<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json`(`<cwd>` 为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;`<session>` 取自环境变量 `SESSION_ID`,按用户任务自动聚合;**禁止写入 /tmp**,当前目录不可写则报错)
- 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 `total`/`costToken`、最大列表字段的长度 + 前 3 条样本)
- 加 `--inline` 强制全量打印到 stdout(同样落盘)

**读数据建议**:先看摘要判断是否足够;需要具体字段时优先用 `jq`或`ConvertFrom-Json` 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。

## 解决认证和算力问题
发生以下异常情况时,采用 references/onboarding.md 引导解决问题:

### 异常情况
- **未配置API Key**:环境变量未配置 `LINKFOX_AGENT_API_KEY`,也未配置 `LINKFOXAGENT_API_KEY`。
- **响应401或402状态码**
- **响应提示算力或余额不足**:消息含"算力余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值",或类似含义的内容。

## 官方参考

Order 模块索引:[Shopee Open Platform — Order](https://open.shopee.com/documents/v2/v2.order.get_order_list?module=94&type=1)

---

## Prerequisites(必须先读)

1. 运行 `python scripts/check_auth_dependency.py`;exit code **42** → 先安装 **`linkfox-shopee-store-auth`** 并授权店铺。
2. **不要**在本 skill 内实现授权/令牌逻辑。

---

## Core Concepts

- **转发链路**:`developerProxy`(`shopId`/`merchantId` 选店,服务端注入 token)→ 紫鸟 `shopee-proxy` → Shopee API(`partner_id`/`sign` 由代理自动处理)
- **列表 → 详情**:`get_order_list` 得 `order_sn` → `get_order_detail` 拉全量字段(≤50 个/次)
- **包裹流**:`search_package_list` / `get_package_detail` / `get_shipment_list` 用于发货前包裹视图
- **写操作**:`split_order`、`cancel_order`、`set_note` 等为 **POST JSON body**
- **时间窗**:`get_order_list` / `get_booking_list` 的 `time_from`/`time_to` 最大 **15 天**

## 可用脚本(Order 模块 22 个 API)

| 脚本 | API | Method |
|------|-----|--------|
| `get_order_list.py` | get_order_list | GET |
| `get_order_detail.py` | get_order_detail | GET |
| `get_shipment_list.py` | get_shipment_list | GET |
| `search_package_list.py` | search_package_list | POST |
| `get_package_detail.py` | get_package_detail | GET |
| `split_order.py` | split_order | POST |
| `unsplit_order.py` | unsplit_order | POST |
| `cancel_order.py` | cancel_order | POST |
| `handle_buyer_cancellation.py` | handle_buyer_cancellation | POST |
| `set_note.py` | set_note | POST |
| `get_pending_buyer_in

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-shopee-store-orders",
  "version": "1.0.6",
  "publishedAt": 1789363770473
}

references/api.md

# linkfox-shopee-store-orders — 参数与字段参考

> 单接口入参/响应说明已拆到 **`apis/`**(按 API 一份);本文件保留模块总览与 Feedback。
Shopee **Order 模块**全部 22 个 API,经 **`POST /shopee/developerProxy`** 转发。

授权见 **`linkfox-shopee-store-auth`**。官方文档:[Order module](https://open.shopee.com/documents/v2/v2.order.get_order_list?module=94&type=1)

## 通用约定

- **Base URL**:`https://tool-gateway.linkfox.com`
- **Method**:POST(网关),上游 Method 见各接口
- **Auth**:Header `Authorization: <api_key>`(`LINKFOXAGENT_API_KEY`)
- **流程**:`POST /shopee/storeTokens` → `POST /shopee/developerProxy`
- **path**:须 `api/v2/order/...`(不含域名)
- **紫鸟代理**:自动追加 `partner_id`、`timestamp`、`sign`;`access_token`/`shop_id` 由 `developerProxy` 写入

**developerProxy Request**:
| 参数 | 必填 | 说明 |
|------|------|------|
| `path` | 是 | 如 `api/v2/order/get_order_list` |
| `method` | 是 | `GET` / `POST` |
| `accessToken` | 是 | 店铺 token |
| `shopId` / `merchantId` | 二选一 | 转发为 `shop_id` / `merchant_id` |
| `queryString` | GET 时 | 业务 query,不含 `?` |
| `body` | POST 时 | JSON 字符串 |
| `contentType` | 否 | 默认 `application/json` |

**developerProxy Response**:
```json
{"httpStatus": 200, "contentType": "application/json", "body": "{\"error\":\"\",\"response\":{...}}"}
```

脚本在 `httpStatus==200` 时解析 `body` 为 `{responseKey}` / `{responseKey}Response`。

---

## Order 模块总览

| # | API | Method | path | 脚本 | 官方文档 |
|---|-----|--------|------|------|----------|
| 1 | get_order_list | GET | `api/v2/order/get_order_list` | `get_order_list.py` | [apis/get-order-list.md](./apis/get-order-list.md) |
| 2 | get_order_detail | GET | `api/v2/order/get_order_detail` | `get_order_detail.py` | [apis/get-order-detail.md](./apis/get-order-detail.md) |
| 3 | get_shipment_list | GET | `api/v2/order/get_shipment_list` | `get_shipment_list.py` | [apis/get-shipment-list.md](./apis/get-shipment-list.md) |
| 4 | search_package_list | POST | `api/v2/order/search_package_list` | `search_package_list.py` | [apis/search-package-list.md](./apis/search-package-list.md) |
| 5 | get_package_detail | GET | `api/v2/order/get_package_detail` | `get_package_detail.py` | [apis/get-package-detail.md](./apis/get-package-detail.md) |
| 6 | split_order | POST | `api/v2/order/split_order` | `split_order.py` | [apis/split-order.md](./apis/split-order.md) |
| 7 | unsplit_order | POST | `api/v2/order/unsplit_order` | `unsplit_order.py` | [apis/unsplit-order.md](./apis/unsplit-order.md) |
| 8 | cancel_order | POST | `api/v2/order/cancel_order` | `cancel_order.py` | [apis/cancel-order.md](./apis/cancel-order.md) |
| 9 | handle_buyer_cancellation | POST | `api/v2/order/handle_buyer_cancellation` | `handle_buyer_cancellation.py` | [apis/handle-buyer-cancellation.md](./apis/handle-buyer-cancellation.md) |
| 10 | set_note | POST | `api/v2/order/set_note` | `set_note.py` | [apis/set-note.md](./apis/set-note.md) |
| 11 | get_pending_buyer_invoice_order_list | GET | `api/v2/order/get_pending_buyer_invoice_order_list` | `get_pending_buyer_invoice_order_lis

references/apis/cancel-order.md

# cancel_order

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/cancel_order.py` |
| Method / path | POST `api/v2/order/cancel_order` |
| 官方文档 | [cancel_order](https://open.shopee.com/documents/v2/v2.order.cancel_order?module=94&type=1) |
| 用途 | cancel_reason: OUT_OF_STOCK/CUSTOMER_REQUEST/UNDELIVERABLE_AREA/COD_NOT_SUPPORTED |

经 **`POST /shopee/developerProxy`** 转发;依赖 **`linkfox-shopee-store-auth`** 选店(通常传 `shopId` 或 `merchantId`)。

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |
| `order_sn` | — | 是 | 见 notes / 官方文档 |
| `cancel_reason` | — | 是 | 见 notes / 官方文档 |
| `item_list` | — | 否(POST body) | 见 notes / 官方文档 |
| `partial_cancel_item_list` | — | 否(POST body) | 见 notes / 官方文档 |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:cancel_reason: OUT_OF_STOCK/CUSTOMER_REQUEST/UNDELIVERABLE_AREA/COD_NOT_SUPPORTED

---

## 调用示例

```bash
export LINKFOXAGENT_API_KEY="<your-key>"

python scripts/cancel_order.py '{"shopId": "67890", "order_sn": "<order_sn>", "cancel_reason": "<cancel_reason>"}'

# 通用入口
python scripts/order_api.py '{"api": "cancel_order", "shopId": "67890", "order_sn": "<order_sn>", "cancel_reason": "<cancel_reason>"}'
```

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`cancelOrder`**(Shopee `response` 解析结果)
3. 字段以官方文档为准

---

## 补充说明(自原 references/api.md)

[官方文档](https://open.shopee.com/documents/v2/v2.order.cancel_order?module=94&type=1)

**Body(必填)**:`order_sn`、`cancel_reason`

**Body(可选)**:`item_list`、`partial_cancel_item_list`(`item_id`、`model_id`、`model_quantity` 等)

**cancel_reason**:`OUT_OF_STOCK`、`CUSTOMER_REQUEST`、`UNDELIVERABLE_AREA`(TW/MY)、`COD_NOT_SUPPORTED`

---

references/apis/download-fbs-invoices.md

# download_fbs_invoices

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/download_fbs_invoices.py` |
| Method / path | POST `api/v2/order/download_fbs_invoices` |
| 官方文档 | [download_fbs_invoices](https://open.shopee.com/documents/v2/v2.order.download_fbs_invoices?module=94&type=1) |
| 用途 | Download link expires in 30 minutes |

经 **`POST /shopee/developerProxy`** 转发;依赖 **`linkfox-shopee-store-auth`** 选店(通常传 `shopId` 或 `merchantId`)。

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |
| `request_id_list` | — | 否(POST body) | 见 notes / 官方文档 |
| `request_id_list` | object | 否(可嵌在 body) | 嵌套对象;或整体传 `body` / `requestBody` |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:Download link expires in 30 minutes

---

## 调用示例

```bash
export LINKFOXAGENT_API_KEY="<your-key>"

python scripts/download_fbs_invoices.py '{"shopId": "67890"}'

# 通用入口
python scripts/order_api.py '{"api": "download_fbs_invoices", "shopId": "67890"}'
```

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`downloadFbsInvoices`**(Shopee `response` 解析结果)
3. 字段以官方文档为准

---

## 补充说明(自原 references/api.md)

[官方文档](https://open.shopee.com/documents/v2/v2.order.download_fbs_invoices?module=94&type=1)

**Body(必填)**:`request_id_list.request_id`(int 数组)

**说明**:需先 `generate_fbs_invoices` → 本接口轮询结果 → 下载;链接 30 分钟过期。

---
Github ReposUpdated 2d agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-orders",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-orders",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T20:42:26.890Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T20:42:26.890Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "995 downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T20:42:26.890Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.6",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:29:30.473Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.6",
      "description": "Update from 1.0.5 to 1.0.6",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-orders",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-09-14T05:29:30.473Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 12, 2026.

For crawlers

This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.

  • One record, as JSON: card, facts, snapshot, contract, trust.
  • Every agent, one feed: /.well-known/ai-catalog.json
  • What this site sells, and the price: /.well-known/x402
  • Paid run-check: /api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-orders/run-check

Sponsored

Ads related to Shopee-店铺订单 and adjacent AI workflows.