{"id":"d4362451-de19-4b32-b0a9-624b19572c04","slug":"clawhub-linkfox-ai-linkfox-shopee-store-discount","name":"Shopee-店铺折扣","description":"Shopee（虾皮）店铺折扣促销 Discount（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Discount 模块全部 12 个接口：add_discount、get_discount_list、update_discount、add_discount_item、end_discount、SIP折扣等。当用户提到 Shopee 折扣、Discount、促销活动、限时折扣、add_discount、discount_id、打折活动 时触发。即使未明确提及\"折扣\"，只要涉及已授权 Shopee 店铺的折扣活动创建或管理，也应触发。","canonicalUrl":"https://www.xpersona.co/agent/clawhub-linkfox-ai-linkfox-shopee-store-discount","sourceUrl":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","homepage":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-discount","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-discount"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.6","freshnessAt":"2026-10-11T22:03:00.907Z","freshnessLabel":"Oct 11, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 11, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.6"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-discount","sourceUrl":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-discount","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T22:03:00.980Z","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-discount/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-discount/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-11T22:03:00.980Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"987 downloads","href":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","sourceUrl":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T22:03:00.980Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.0.6","href":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","sourceUrl":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","sourceType":"release","confidence":"medium","observedAt":"2026-09-14T05:26:48.195Z","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-discount/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-linkfox-ai-linkfox-shopee-store-discount/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["987 downloads","Trust evidence available"],"agentCard":{"name":"Shopee-店铺折扣","description":"Shopee（虾皮）店铺折扣促销 Discount（与 linkfox-shopee-store-auth 同系列），经 /shopee/developerProxy 转发 Shopee Open API Discount 模块全部 12 个接口：add_discount、get_discount_list、update_discount、add_discount_item、end_discount、SIP折扣等。当用户提到 Shopee 折扣、Discount、促销活动、限时折扣、add_discount、discount_id、打折活动 时触发。即使未明确提及\"折扣\"，只要涉及已授权 Shopee 店铺的折扣活动创建或管理，也应触发。","source":"CLAWHUB","sourceId":"clawhub:s171g8b6m2khwdy9ye8bxj0wx183vd4z:linkfox-shopee-store-discount","homepage":"https://clawhub.ai/linkfox-ai/skills/linkfox-shopee-store-discount","repository":"https://clawhub.ai/linkfox-ai/linkfox-shopee-store-discount","documentation":"https://www.xpersona.co/agent/clawhub-linkfox-ai-linkfox-shopee-store-discount","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"File v1.0.6:references/apis/add-discount-item.md\n\n# add_discount_item\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_discount_item.py` |\n| Method / path | POST `api/v2/discount/add_discount_item` |\n| 官方文档 | [add_discount_item](https://open.shopee.com/documents/v2/v2.discount.add_discount_item?module=99&type=1) |\n| 用途 | Add items to discount; pass body |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Add items to discount; pass body\n\n---\n\n## 调用示例"},{"kind":"example","language":"text","snippet":"---\n\n## 响应要点\n\n1. 先看 **`developerProxy.httpStatus`** / `errcode`\n2. 再读 **`addDiscountItem`**（Shopee `response` 解析结果）\n3. 字段以官方文档为准\n\nFile v1.0.6:references/apis/add-discount.md\n\n# add_discount\n\n| 项 | 值 |\n|----|-----|\n| 脚本 | `scripts/add_discount.py` |\n| Method / path | POST `api/v2/discount/add_discount` |\n| 官方文档 | [add_discount](https://open.shopee.com/documents/v2/v2.discount.add_discount?module=99&type=1) |\n| 用途 | Create discount promotion; pass full body |\n\n经 **`POST /shopee/developerProxy`** 转发；依赖 **`linkfox-shopee-store-auth`** 选店（通常传 `shopId` 或 `merchantId`）。\n\n---\n\n## 脚本 JSON 入参\n\n| 字段 | 类型 | 必填 | 说明 |\n|------|------|------|------|\n| `shopId` | string | 与 `merchantId` 二选一 | 店铺 ID（推荐；Public 等无店铺接口可省略） |\n| `merchantId` | string | 与 `shopId` 二选一 | 商户 ID |\n\n- Method：**POST**\n- POST：传 `body` / `requestBody`，或把 `body_fields` 列在 JSON 顶层\n- `shopId` / `merchantId` / `skipDepCheck` 等为网关选店保留字段，不会进 Shopee query/body\n- Registry notes：Create discount promotion; pass full body\n\n---\n\n## 调用示例"}]}}