agentCLAWHUBUnverified

Shopee-店铺退货

Shopee(虾皮)店铺退货退款(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API Returns 模块全部 15 个接口:get_return_list、get_return_detail、confirm、dispute、offer、accept_offer、upload_proof、get_reverse_tracking_info 等。当用户提到 Shopee 退货、退款、return_sn、退货列表、确认退货、退货争议、dispute、逆向物流 时触发。即使未明确提及"退货",只要涉及已授权 Shopee 店铺的退货/退款查询或处理,也应触发。

OpenClaw

Rank

62

Safety

84

Downloads

1.0k

Updated

Oct 11, 2026

Version

1.0.5

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K 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
1K downloadsadoption · observed Oct 11, 2026
Latest release
1.0.5release · observed Aug 14, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-returns
  1. Install using `clawhub skill install s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-returns` 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-returns before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-returns/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

97,377 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: linkfox-shopee-store-returns
description: Shopee(虾皮)店铺退货退款(与 linkfox-shopee-store-auth 同系列),经 /shopee/developerProxy 转发 Shopee Open API Returns 模块全部 15 个接口:get_return_list、get_return_detail、confirm、dispute、offer、accept_offer、upload_proof、get_reverse_tracking_info 等。当用户提到 Shopee 退货、退款、return_sn、退货列表、确认退货、退货争议、dispute、逆向物流 时触发。即使未明确提及"退货",只要涉及已授权 Shopee 店铺的退货/退款查询或处理,也应触发。
---

# Shopee 店铺 Returns

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

## 调用方式

- **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/套餐到期/需充值/请充值",或类似含义的内容。

## 官方参考

Returns 模块索引:[v2.returns.get_return_list](https://open.shopee.com/documents/v2/v2.returns.get_return_list?module=102&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
- **退货 vs 订单**:订单查询见 `linkfox-shopee-store-orders`;本 skill 处理**退货/退款/争议**
- **典型流程**:`get_return_list` → `get_return_detail` → `confirm` / `offer` / `dispute`
- **店铺级 API**:通常传 **`shopId`**

## 可用脚本(Returns 模块 15 个 API)

| 脚本 | API | Method |
|------|-----|--------|
| `get_return_list.py` | get_return_list | GET |
| `get_return_detail.py` | get_return_detail | GET |
| `confirm.py` | confirm | POST |
| `dispute.py` | dispute | POST |
| `get_available_solutions.py` | get_available_solutions | GET |
| `offer.py` | offer | POST |
| `accept_offer.py` | accept_offer | POST |
| `convert_image.py` | convert_image | POST |
| `upload_proof.py` | upload_proof | POST |
| `query_proof.py` | query_proof | GET |
| `get_return_dispute_reason.py` | get_return_dispute_reason | GET |
| `cancel_dispute.py` | cancel_dispute | POST |
| `get_shipping_carrier.py` | get_shipping_carrier | GET |
| `upload_shipping_proof.py` | upload_shipping_proof | POST |
| `get_reverse_tracking_info.py` | get_reverse_tr

_meta.json

{
  "ownerId": "kn7dmc1t4j28hem1twwyav85p182pb1j",
  "slug": "linkfox-shopee-store-returns",
  "version": "1.0.5",
  "publishedAt": 1786720077120
}

references/api.md

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

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

授权见 **`linkfox-shopee-store-auth`**。官方索引:[v2.returns.get_return_list](https://open.shopee.com/documents/v2/v2.returns.get_return_list?module=102&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/returns/...`
- **标识**:店铺级 API,通常传 **`shopId`**
- **官方文档 URL 规则**:`https://open.shopee.com/documents/v2/v2.returns.{api}?module=102&type=1`
- **复杂 POST**(如 `dispute`、`offer`):推荐传完整 `body` 对象

---

## Returns 模块总览

| # | API | Method | path | 脚本 | 官方文档 |
|---|-----|--------|------|------|----------|
| 1 | accept_offer | POST | `api/v2/returns/accept_offer` | `accept_offer.py` | [apis/accept-offer.md](./apis/accept-offer.md) |
| 2 | cancel_dispute | POST | `api/v2/returns/cancel_dispute` | `cancel_dispute.py` | [apis/cancel-dispute.md](./apis/cancel-dispute.md) |
| 3 | confirm | POST | `api/v2/returns/confirm` | `confirm.py` | [apis/confirm.md](./apis/confirm.md) |
| 4 | convert_image | POST | `api/v2/returns/convert_image` | `convert_image.py` | [apis/convert-image.md](./apis/convert-image.md) |
| 5 | dispute | POST | `api/v2/returns/dispute` | `dispute.py` | [apis/dispute.md](./apis/dispute.md) |
| 6 | get_available_solutions | GET | `api/v2/returns/get_available_solutions` | `get_available_solutions.py` | [apis/get-available-solutions.md](./apis/get-available-solutions.md) |
| 7 | get_return_detail | GET | `api/v2/returns/get_return_detail` | `get_return_detail.py` | [apis/get-return-detail.md](./apis/get-return-detail.md) |
| 8 | get_return_dispute_reason | GET | `api/v2/returns/get_return_dispute_reason` | `get_return_dispute_reason.py` | [apis/get-return-dispute-reason.md](./apis/get-return-dispute-reason.md) |
| 9 | get_return_list | GET | `api/v2/returns/get_return_list` | `get_return_list.py` | [apis/get-return-list.md](./apis/get-return-list.md) |
| 10 | get_reverse_tracking_info | GET | `api/v2/returns/get_reverse_tracking_info` | `get_reverse_tracking_info.py` | [apis/get-reverse-tracking-info.md](./apis/get-reverse-tracking-info.md) |
| 11 | get_shipping_carrier | GET | `api/v2/returns/get_shipping_carrier` | `get_shipping_carrier.py` | [apis/get-shipping-carrier.md](./apis/get-shipping-carrier.md) |
| 12 | offer | POST | `api/v2/returns/offer` | `offer.py` | [apis/offer.md](./apis/offer.md) |
| 13 | query_proof | GET | `api/v2/returns/query_proof` | `query_proof.py` | [apis/query-proof.md](./apis/query-proof.md) |
| 14 | upload_proof | POST | `api/v2/returns/upload_proof` | `upload_proof.py` | [apis/upload-proof.md](./apis/upload-proof.md) |
| 15 | upload_shipping_proof | POST | `api/v2/returns/upload_shipping_proof` | `upload

references/apis/accept-offer.md

# accept_offer

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/accept_offer.py` |
| Method / path | POST `api/v2/returns/accept_offer` |
| 官方文档 | [accept_offer](https://open.shopee.com/documents/v2/v2.returns.accept_offer?module=102&type=1) |
| 用途 | Accept buyer/seller offer; pass full body |

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

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:Accept buyer/seller offer; pass full body

---

## 调用示例

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

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

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

---

## 响应要点

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

references/apis/cancel-dispute.md

# cancel_dispute

| 项 | 值 |
|----|-----|
| 脚本 | `scripts/cancel_dispute.py` |
| Method / path | POST `api/v2/returns/cancel_dispute` |
| 官方文档 | [cancel_dispute](https://open.shopee.com/documents/v2/v2.returns.cancel_dispute?module=102&type=1) |
| 用途 | Cancel dispute; pass body with return_sn |

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

---

## 脚本 JSON 入参

| 字段 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID(推荐;Public 等无店铺接口可省略) |
| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |

- Method:**POST**
- POST:传 `body` / `requestBody`,或把 `body_fields` 列在 JSON 顶层
- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段,不会进 Shopee query/body
- Registry notes:Cancel dispute; pass body with return_sn

---

## 调用示例

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

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

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

---

## 响应要点

1. 先看 **`developerProxy.httpStatus`** / `errcode`
2. 再读 **`cancelDispute`**(Shopee `response` 解析结果)
3. 字段以官方文档为准
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-returns",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-returns",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T16:26:15.293Z",
      "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-returns/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-returns/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-11T16:26:15.293Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1K downloads",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-11T16:26:15.293Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.5",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-14T15:07:57.120Z",
      "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-returns/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-returns/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.5",
      "description": "Update from 1.0.4 to 1.0.5",
      "href": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceUrl": "https://clawhub.ai/linkfox-ai/linkfox-shopee-store-returns",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-08-14T15:07:57.120Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 11, 2026.

Sponsored

Ads related to Shopee-店铺退货 and adjacent AI workflows.