linkfox-temu-price-global
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTemu 全球站价格 API(linkfox-temu-price-global)
Temu全球站价格API(linkfox-temu-price-global)
本 skill()覆盖 全球区(,非美国/欧洲) 的 Product 菜单下与价格/供货价相关的 / 接口(,具体 以 Partner 文档为准)。
linkfox-temu-price-globalsite=globalbg.local.*temu.local.*menu_code=fb16b05f7a904765aac4af3a24b87d4asub_menu_code当前已接入 5 个接口;其余价格接口将按 Partner 文档逐条补充到与references/apis/。global_price_*.py
网关(本 skill 内置):
| 能力 | 方法 | 路径 |
|---|---|---|
价格 OpenAPI( | POST | |
| 加签文件下载 | POST | |
本skill()覆盖 全球区(,非美国/欧洲) 的 Product 菜单下与价格/供货价相关的 / 接口(,具体 以 Partner 文档为准)。
linkfox-temu-price-globalsite=globalbg.local.*temu.local.*menu_code=fb16b05f7a904765aac4af3a24b87d4asub_menu_code当前已接入 5 个接口;其余价格接口将按 Partner 文档逐条补充到与references/apis/。global_price_*.py
网关(本skill内置):
| 能力 | 方法 | 路径 |
|---|---|---|
价格OpenAPI( | POST | |
| 加签文件下载 | POST | |
相关 skill
相关skill
| 场景 | skill |
|---|---|
| 商品列表/详情/编辑/库存/上下架 | |
| 美国站价格 | |
| 欧洲站价格 | |
| 订单查询、发货、物流 | |
| 取消订单(买家+卖家) | |
| 履约/发货(含自发货) | |
| 发品、类目、V2 add | |
| 半托管 () | → |
| 网关与 Temu token | 本 skill |
linkfox-temu-fulfillment-uslinkfox-temu-add-product-ustemu.goods.price.list.getproductSkuIdslinkfox-temu-add-product-usus_goods_price_list.pyscripts/| 场景 | skill |
|---|---|
| 商品列表/详情/编辑/库存/上下架 | |
| 美国站价格 | |
| 欧洲站价格 | |
| 订单查询、发货、物流 | |
| 取消订单(买家+卖家) | |
| 履约/发货(含自发货) | |
| 发品、类目、V2 add | |
半托管 | |
| 网关与Temu token | 本skill |
API Usage
API 使用说明
| 文档 | 内容 |
|---|---|
| api.md | 网关、鉴权、错误码、典型流程 |
| partner-global-catalog.md | 接口目录 + Partner URL + 脚本 |
| apis/README.md | 按接口分文件( |
| 文档 | 内容 |
|---|---|
| api.md | 网关、鉴权、错误码、典型流程 |
| partner-global-catalog.md | 接口目录 + Partner URL + 脚本 |
| apis/README.md | 按接口分文件( |
默认参数
默认参数
| 字段 | 默认 | 说明 |
|---|---|---|
| site | | Partner Global(非 US/EU) |
| managementType | | 半托管 |
| tokenPurpose | | 酷鸟卖家助手 token |
| 字段 | 默认值 | 说明 |
|---|---|---|
| site | | Partner全球区(非美国/欧盟) |
| managementType | | 半托管 |
| tokenPurpose | | 酷鸟卖家助手token |
鉴权
鉴权
- LinkFox:→ Header
LINKFOXAGENT_API_KEY+AuthorizationToken - Temu:或
accessTokenstoreKey
- LinkFox:→ 请求头
LINKFOXAGENT_API_KEY+AuthorizationToken - Temu:或
accessTokenstoreKey
Scripts(按 type)
脚本(按类型划分)
| 脚本 | type | 状态 |
|---|---|---|
| | 已接入 |
| | 已接入 |
| | 已接入 |
| | 已接入 |
| | 已接入 |
| 任意 | 通用 |
| 加签文件下载 | 通用 |
新增接口后在此表与 partner-global-catalog.md 同步登记。
| 脚本 | type | 状态 |
|---|---|---|
| | 已接入 |
| | 已接入 |
| | 已接入 |
| | 已接入 |
| | 已接入 |
| 任意 | 通用 |
| 加签文件下载 | 通用 |
新增接口后需在此表与 partner-global-catalog.md 同步登记。
示例
示例
bash
export LINKFOXAGENT_API_KEY="<key>"bash
export LINKFOXAGENT_API_KEY="<key>"推荐基础价/供货价估算(须 catId + supplierPriceEstimateSkuQryList)
推荐基础价/供货价估算(须 catId + supplierPriceEstimateSkuQryList)
python scripts/global_price_baseprice_recommend.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"supplierPriceEstimateQry": {
"goodsBasicInfo": { "catId": 12345 },
"supplierPriceEstimateSkuQryList": [
{
"specIdList": [9001],
"externPlatformPriceInfo": { "amount": "19.99", "currency": "USD" }
}
]
}
}
}'
python scripts/global_price_baseprice_recommend.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"supplierPriceEstimateQry": {
"goodsBasicInfo": { "catId": 12345 },
"supplierPriceEstimateSkuQryList": [
{
"specIdList": [9001],
"externPlatformPriceInfo": { "amount": "19.99", "currency": "USD" }
}
]
}
}
}'
推荐供货价查询(须 recommendedPriceType + goodsIdList,1~100 个 goodsId)
推荐供货价查询(须 recommendedPriceType + goodsIdList,1~100 个 goodsId)
python scripts/global_price_recommendedprice_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"recommendedPriceType": 10,
"goodsIdList": [123456789]
}
}'
python scripts/global_price_recommendedprice_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"recommendedPriceType": 10,
"goodsIdList": [123456789]
}
}'
定价单列表查询(白名单;分页 page/size,可选筛选)
定价单列表查询(白名单;分页 page/size,可选筛选)
python scripts/global_price_priceorder_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"page": 1,
"size": 20,
"priceOrderType": 1,
"orderBy": "order_create_time",
"orderByType": 0
}
}'
python scripts/global_price_priceorder_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"page": 1,
"size": 20,
"priceOrderType": 1,
"orderBy": "order_create_time",
"orderByType": 0
}
}'
批量修改 SKU 基础价(白名单;须 goodsId + changeSkuPriceDTOList)
批量修改 SKU 基础价(白名单;须 goodsId + changeSkuPriceDTOList)
python scripts/global_price_priceorder_change_sku_price.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"goodsId": 123456,
"changeSkuPriceDTOList": [
{
"skuChangePriceBaseDTOList": [
{
"skuId": 58224724203874,
"newSupplierPrice": { "amount": "15.99", "currency": "USD" }
}
]
}
]
}
}'
python scripts/global_price_priceorder_change_sku_price.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"goodsId": 123456,
"changeSkuPriceDTOList": [
{
"skuChangePriceBaseDTOList": [
{
"skuId": 58224724203874,
"newSupplierPrice": { "amount": "15.99", "currency": "USD" }
}
]
}
]
}
}'
SKU 供货价列表(goodsId + skuIdList)
SKU 供货价列表(goodsId + skuIdList)
python scripts/global_price_sku_list_price_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"querySupplierPriceBaseList": [
{ "goodsId": 123456789, "skuIdList": [58224724203874] }
]
}
}'
**Feedback:** `skillName`:`linkfox-temu-price-global`python scripts/global_price_sku_list_price_query.py '{
"accessToken": "TOKEN",
"site": "global",
"tokenPurpose": "product-inventory",
"request": {
"querySupplierPriceBaseList": [
{ "goodsId": 123456789, "skuIdList": [58224724203874] }
]
}
}'
**反馈:** `skillName`:`linkfox-temu-price-global`网关与授权脚本
网关与授权脚本
| 脚本 | 说明 |
|---|---|
| 校验 LinkFox 用户 Token |
| Temu accessToken 后台授权步骤 |
| 保存 accessToken 到本地 |
| 列出已保存 token |
| 读取已保存 token |
| 通用网关转发(多 site) |
| 加签文件下载(多 site) |
授权说明:references/access-token.md
<!-- LF_LARGE_RESPONSE_BLOCK -->| 脚本 | 说明 |
|---|---|
| 校验LinkFox用户Token |
| Temu accessToken后台授权步骤 |
| 将accessToken保存到本地 |
| 列出已保存的token |
| 读取已保存的token |
| 通用网关转发(多站点) |
| 加签文件下载(多站点) |
授权说明:references/access-token.md
<!-- LF_LARGE_RESPONSE_BLOCK -->Handling Large Responses
处理大响应
To avoid overflowing the agent context, persist the response to disk and extract only the fields you need:
python scripts/response_io.py run --script scripts/check_linkfox_token.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>" # or --path "<JMESPath>"Pickoutside any git working tree (e.g.--out-diron Unix,/tmp/...on Windows). Persisted responses may contain PII, pricing, or auth-sensitive data — do not commit them. Files are not auto-deleted; clean up when the task is done.%TEMP%/...
This skill exposes multiple entry scripts:,check_linkfox_token.py,get_temu_access_token.py,global_price_baseprice_recommend.py,global_price_priceorder_change_sku_price.py,global_price_priceorder_query.py,global_price_recommendedprice_query.py,global_price_sku_list_price_query.py,list_temu_access_tokens.py,save_temu_access_token.py,temu_file_download.py,temu_global_file_download.py,temu_global_proxy.py,temu_proxy.py. Passtemu_token_guide.pyto choose the one you need.--script scripts/<name>.py
runread--limit/--offset--format json|jsonl|csv|tableWhen to prefer this pattern — apply your judgment based on the response characteristics, e.g.:
- High field count per record, or fields you don't need
- Batch/paginated results (multiple items per call)
- Long-text fields (descriptions, reviews, HTML, time series)
- Output reused across later steps rather than consumed immediately
For small, single-use responses, calling the main script directly is fine.
⚠️ The preview is a truncated schema + sample, not the full data. Any field-level decision must read from the persisted file via .
<!-- /LF_LARGE_RESPONSE_BLOCK -->read为避免超出Agent上下文限制,请将响应保存到磁盘并仅提取所需字段:
python scripts/response_io.py run --script scripts/check_linkfox_token.py --out-dir <DIR> '<params>'
python scripts/response_io.py read <file> --fields "<paths>" # or --path "<JMESPath>"请选择为Git工作区外的路径(例如Unix系统的<out-dir>,Windows系统的/tmp/...)。保存的响应可能包含个人身份信息(PII)、定价或授权敏感数据——请勿提交到Git仓库。文件不会自动删除,完成任务后请自行清理。%TEMP%/...
本skill提供多个入口脚本:、check_linkfox_token.py、get_temu_access_token.py、global_price_baseprice_recommend.py、global_price_priceorder_change_sku_price.py、global_price_priceorder_query.py、global_price_recommendedprice_query.py、global_price_sku_list_price_query.py、list_temu_access_tokens.py、save_temu_access_token.py、temu_file_download.py、temu_global_file_download.py、temu_global_proxy.py、temu_proxy.py。请通过temu_token_guide.py参数选择所需脚本。--script scripts/<name>.py
runread--limit/--offset--format json|jsonl|csv|table何时优先使用此模式——请根据响应特性判断,例如:
- 每条记录字段数量多,或包含不需要的字段
- 批量/分页结果(单次调用返回多条数据)
- 长文本字段(描述、评论、HTML、时间序列等)
- 输出结果需在后续步骤中重复使用,而非立即消耗
对于小型、单次使用的响应,直接调用主脚本即可。
⚠️ 预览内容是截断的架构+示例,并非完整数据。任何字段级别的操作都必须通过命令从保存的文件中读取。
<!-- /LF_LARGE_RESPONSE_BLOCK -->read