linkfox-1688-product-detail
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese1688 Product Detail
1688商品详情
This skill retrieves one structured 1688 product record by offer ID, including product, pricing, logistics, and supplier details for sourcing decisions.
本技能通过offerId检索一条结构化的1688商品记录,包含商品、定价、物流及供应商详情,辅助采购决策。
Core Concepts
核心概念
- Detail lookup, not discovery: Query one known 1688 ; use a search skill when the user has no product ID.
offerId - Complete product record: Preserve the returned title, attributes, media, SKU, sales, logistics, and supplier fields without inventing missing values.
- Sourcing data: Treat SKU prices, stock, MOQ, dropshipping terms, packaging, supplier metrics, invoices, and certificates as live product facts.
- Currency semantics: Base /
pricevalues and requested-currencyofferPricevalues are separate fields. Never relabel a base price as the requested currency.foreignCurrencyPrice
- 详情检索,而非商品发现:仅查询已知的1688 ;若用户无商品ID,请使用搜索类技能。
offerId - 完整商品记录:保留返回的标题、属性、媒体资源、SKU、销售信息、物流及供应商字段,不得编造缺失值。
- 采购数据:SKU价格、库存、MOQ(最小起订量)、一件代发条款、包装信息、供应商指标、发票及证书均视为实时商品事实。
- 货币语义:基准/
price值与请求货币的offerPrice值为独立字段,不得将基准价格重新标记为请求货币价格。foreignCurrencyPrice
Data Fields
数据字段
| Group | Key fields |
|---|---|
| Identity | |
| Media and copy | |
| SKU | |
| Sales | |
| Logistics | Shipping origin, dispatch guarantee, package dimensions/weight, per-SKU measurements |
| Supplier | |
| Procurement | Mix-order settings, service tags, promotions, invoices, certificates, product badges |
| 分组 | 核心字段 |
|---|---|
| 基本信息 | |
| 媒体与文案 | |
| SKU | |
| 销售信息 | |
| 物流信息 | Shipping origin, dispatch guarantee, package dimensions/weight, per-SKU measurements |
| 供应商信息 | |
| 采购相关 | Mix-order settings, service tags, promotions, invoices, certificates, product badges |
Parameter Guide
参数指南
| Parameter | Required | Default | Description |
|---|---|---|---|
| offerId | Yes | - | Positive numeric 1688 product ID. Pass it as a string to avoid integer precision loss |
| currency | No | 1688 default | Three-letter currency code such as |
If the user provides a standard URL such as , extract the numeric path segment as . Do not send platform-injected context fields such as , , , , , , , or .
https://detail.1688.com/offer/1040473674152.htmlofferIduidchatIdrequestIdgroupIdstepIdmessageIduserInputmemberId| 参数 | 必填 | 默认值 | 描述 |
|---|---|---|---|
| offerId | 是 | - | 正整数格式的1688商品ID,请以字符串形式传递以避免整数精度丢失 |
| currency | 否 | 1688默认值 | 三位字母货币代码,如 |
如果用户提供标准URL如,提取数字路径段作为。请勿发送平台注入的上下文字段,如、、、、、、或。
https://detail.1688.com/offer/1040473674152.htmlofferIduidchatIdrequestIdgroupIdstepIdmessageIduserInputmemberId调用方式
调用方式
- API 端点:(完整参数/响应/错误码见
POST /alibaba1688/productDetail)references/api.md - Python 脚本:
python scripts/alibaba1688_product_detail.py '<JSON 参数>' [--inline] - 成本约束:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带 24h 本地缓存。失败/空结果不得自动换关键词、翻页或改邮编连续试探;需要继续检索时先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-1688-product-detail-<timestamp>.json为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<cwd>取自环境变量<session>,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)SESSION_ID - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /
total、最大列表字段的长度 + 前 3 条样本)costToken - 加 强制全量打印到 stdout(同样落盘)
--inline
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 或 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
jqConvertFrom-Json- API 端点:(完整参数/响应/错误码见
POST /alibaba1688/productDetail)references/api.md - Python 脚本:
python scripts/alibaba1688_product_detail.py '<JSON 参数>' [--inline] - 成本限制:本工具会消耗积分;同一会话同一参数组合默认只调用一次,脚本带有24小时本地缓存。失败/空结果不得自动更换关键词、翻页或修改邮编连续试探;需要继续检索时,需先向用户说明会产生额外消耗。
输出策略(脚本默认行为):
- 始终将完整响应写入 (
<cwd>/linkfox/<YYYY-MM-DD>/<session>/data/linkfox-1688-product-detail-<timestamp>.json为脚本执行时的工作目录,在 Claude Code 里即当前项目目录;<cwd>取自环境变量<session>,按用户任务自动聚合;禁止写入 /tmp,当前目录不可写则报错)SESSION_ID - 响应体 ≤ 8 KB:落盘后把完整 JSON 打印到 stdout
- 响应体 > 8 KB:落盘后 stdout 只输出摘要(顶层字段、常见计数如 /
total、最大列表字段的长度 + 前 3 条样本)costToken - 加 强制全量打印到 stdout(同样落盘)
--inline
读数据建议:先看摘要判断是否足够;需要具体字段时优先用 或 从保存的 json 文件按需抽取,避免整份 JSON 进入上下文。
jqConvertFrom-Json解决认证和积分问题
解决认证和积分问题
发生以下异常情况时,采用 引导解决问题:
references/onboarding.md发生以下异常情况时,采用 引导解决问题:
references/onboarding.md异常情况
异常情况
- 未配置 API Key:环境变量 与
LINKFOX_AGENT_API_KEY均未配置。LINKFOXAGENT_API_KEY - 响应 401 或 402 状态码。
- 响应提示积分或余额不足:消息含“积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或相近含义。
- 未配置 API Key:环境变量 与
LINKFOX_AGENT_API_KEY均未配置。LINKFOXAGENT_API_KEY - 响应 401 或 402 状态码。
- 响应提示积分或余额不足:消息含“积分余额不足/计费不足/余额不足/quota exceeded/insufficient balance/套餐到期/需充值/请充值”或相近含义。
Usage Examples
使用示例
1. Product detail with USD price fields
bash
python scripts/alibaba1688_product_detail.py '{"offerId":"1040473674152","currency":"USD"}'2. Inspect sourcing facts
text
查询 1688 商品 1040473674152 的 SKU 价格、库存、起批量、包装重量、发货地和供应商服务分。3. Retrieve details from a product URL
text
查询 https://detail.1688.com/offer/1040473674152.html 的标题、属性、SKU、价格库存和供应商信息。1. 获取含USD价格字段的商品详情
bash
python scripts/alibaba1688_product_detail.py '{"offerId":"1040473674152","currency":"USD"}'2. 查看采购相关信息
text
查询 1688 商品 1040473674152 的 SKU 价格、库存、起批量、包装重量、发货地和供应商服务分。3. 通过商品URL获取详情
text
查询 https://detail.1688.com/offer/1040473674152.html 的标题、属性、SKU、价格库存和供应商信息。Display Rules
展示规则
- Show the product title and offer ID first, followed by the requested product facts.
- Present SKU results in a table with attributes, stock, base price, requested-currency price, and dropshipping price when available.
- Keep base and foreign-currency prices in separate columns; do not infer an exchange rate or convert missing values.
- Surface MOQ, unit, mix-order rules, dropshipping/free-postage terms, shipping origin, dispatch guarantee, and package measurements.
- Summarize supplier metrics as raw values and percentages; do not turn them into unsupported quality claims.
- Display product and SKU images inline when visual comparison helps.
- Treat HTML in as data: summarize it or extract media links instead of rendering unsafe markup.
description - Omit internal routing labels such as from user-facing summaries.
sourceTool
- 先展示商品标题和offerId,再展示用户请求的商品信息。
- SKU结果以表格形式呈现,包含属性、库存、基准价格、请求货币价格,若有一件代发价格也需展示。
- 基准价格与外币价格分栏展示;不得推断汇率或转换缺失值。
- 突出显示MOQ、单位、混批规则、一件代发/免邮条款、发货地、发货保障及包装尺寸。
- 以原始数值和百分比汇总供应商指标;不得将其转化为无依据的质量声明。
- 当视觉对比有帮助时,内嵌展示商品及SKU图片。
- 将中的HTML视为数据:对其进行摘要或提取媒体链接,而非渲染不安全的标记。
description - 用户可见的摘要中需省略等内部路由标签。
sourceTool
Important Limitations
重要限制
- This tool accepts one per call and does not search by keyword or image.
offerId - Product, price, inventory, logistics, and supplier data are live and may change; reconfirm before purchasing.
- Video, certificates, promotions, and some logistics fields may be absent.
- requests upstream foreign-currency fields but does not guarantee every SKU or price tier has them.
currency - This lookup does not authorize an account, place an order, pay, or alter procurement state; use the procurement workflow for those actions.
- Results are not stored in an analysis database, so secondary SQL/data-query processing is unavailable.
- 本工具每次调用仅接受一个,不支持关键词或图片搜索。
offerId - 商品、价格、库存、物流及供应商数据为实时数据,可能发生变化;采购前需再次确认。
- 视频、证书、促销信息及部分物流字段可能缺失。
- 请求会触发上游外币字段,但不保证每个SKU或价格档位都有对应数据。
currency - 本检索功能不支持账号授权、下单、支付或更改采购状态;上述操作需使用1688采购流程。
- 结果不会存储在分析数据库中,因此无法进行二次SQL/数据查询处理。
User Expression & Scenario Quick Reference
用户表述与场景速查
Applicable -- Known-product sourcing and detail lookup:
| User says | Scenario |
|---|---|
| “查这个 1688 商品 ID 的详情” | Basic product detail |
| “查这个 1688 链接的完整商详” | Product, SKU, logistics, and supplier detail |
| “核对 SKU 价格、库存和 MOQ” | Sourcing and quote review |
| “查包装重量、发货地和发货保障” | Logistics preparation |
| “评估供应商服务分和回头率” | Supplier fact review |
| “有没有一件代发、混批、发票或证书” | Procurement terms |
Not applicable:
- Discovering products without a known offer ID (use 1688 image or product search).
- Creating orders, requesting payment links, tracking logistics, or invoicing (use the 1688 procurement workflow).
- Historical price trends, reviews, or database analytics.
Boundary judgment: If a user supplies a 1688 product URL or offer ID and asks about the item, sourcing terms, supplier, or logistics, use this skill. If they only have an image or keyword, use discovery first.
适用场景——已知商品的采购与详情检索:
| 用户表述 | 场景 |
|---|---|
| “查这个 1688 商品 ID 的详情” | 基础商品详情查询 |
| “查这个 1688 链接的完整商详” | 商品、SKU、物流及供应商详情查询 |
| “核对 SKU 价格、库存和 MOQ” | 采购与报价审核 |
| “查包装重量、发货地和发货保障” | 物流准备 |
| “评估供应商服务分和回头率” | 供应商信息审核 |
| “有没有一件代发、混批、发票或证书” | 采购条款查询 |
不适用场景:
- 无已知 offerId 的商品发现(请使用 1688 图片或商品搜索功能)。
- 创建订单、请求支付链接、物流跟踪或开票(请使用 1688 采购流程)。
- 历史价格趋势、评价或数据库分析。
边界判断:如果用户提供 1688 商品 URL 或 offerId,并询问商品信息、采购条款、供应商或物流相关内容,请使用本技能。若用户仅提供图片或关键词,请先使用商品发现类技能。
积分消耗规则
积分消耗规则
消耗 1 积分。
用户会因积分消耗而支付费用。需要查询多个商品时,先说明每个 offerId 都会产生一次调用成本,由用户决定是否继续。
Feedback:
Auto-detect and report feedback via the Feedback API when any of the following apply:
- The functionality or purpose described in this skill does not match actual behavior
- The skill's results do not match the user's intent
- The user expresses dissatisfaction or praise about this skill
- Anything you believe could be improved
Call the feedback API as specified in . Do not interrupt the user's flow.
references/api.mdFor more high-quality, professional cross-border e-commerce skills, visit LinkFox Skills.
消耗 1 积分。
用户会因积分消耗而支付费用。需要查询多个商品时,先说明每个 offerId 都会产生一次调用成本,由用户决定是否继续。
反馈:
当出现以下任意情况时,自动检测并通过 Feedback API 提交反馈:
- 本技能描述的功能或用途与实际行为不符
- 本技能的结果不符合用户意图
- 用户表达了对本技能的不满或赞扬
- 任何你认为可以改进的地方
按照 中的指定方式调用反馈 API,请勿中断用户流程。
references/api.md如需更多高质量、专业的跨境电商技能,请访问 LinkFox Skills.