linkfox-temu-price-global

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Temu 全球站价格 API(linkfox-temu-price-global)

Temu全球站价格API(linkfox-temu-price-global)

本 skill(
linkfox-temu-price-global
)覆盖 全球区(
site=global
,非美国/欧洲)
Product 菜单下与价格/供货价相关的
bg.local.*
/
temu.local.*
接口(
menu_code=fb16b05f7a904765aac4af3a24b87d4a
,具体
sub_menu_code
以 Partner 文档为准)。
当前已接入 5 个接口;其余价格接口将按 Partner 文档逐条补充到
references/apis/
global_price_*.py
网关(本 skill 内置)
能力方法路径
价格 OpenAPI(
global_price_*
temu_global_proxy
POST
https://tool-gateway.linkfox.com/temu/proxy
加签文件下载POST
https://tool-gateway.linkfox.com/temu/fileDownload
本skill(
linkfox-temu-price-global
)覆盖 全球区(
site=global
,非美国/欧洲)
Product 菜单下与价格/供货价相关的
bg.local.*
/
temu.local.*
接口(
menu_code=fb16b05f7a904765aac4af3a24b87d4a
,具体
sub_menu_code
以 Partner 文档为准)。
当前已接入 5 个接口;其余价格接口将按 Partner 文档逐条补充到
references/apis/
global_price_*.py
网关(本skill内置)
能力方法路径
价格OpenAPI(
global_price_*
temu_global_proxy
POST
https://tool-gateway.linkfox.com/temu/proxy
加签文件下载POST
https://tool-gateway.linkfox.com/temu/fileDownload

相关 skill

相关skill

场景skill
商品列表/详情/编辑/库存/上下架
linkfox-temu-manage-product-global
美国站价格
linkfox-temu-price-us
欧洲站价格
linkfox-temu-price-eu
订单查询、发货、物流
linkfox-temu-order-global
取消订单(买家+卖家)
linkfox-temu-cancel-order-us
| 履约/发货(含自发货) |
linkfox-temu-fulfillment-us
| | 发品、类目、V2 add |
linkfox-temu-add-product-us
| | 半托管
temu.goods.price.list.get
productSkuIds
) |
linkfox-temu-add-product-us
us_goods_price_list.py
| | 网关与 Temu token | 本 skill
scripts/
|
场景skill
商品列表/详情/编辑/库存/上下架
linkfox-temu-manage-product-global
美国站价格
linkfox-temu-price-us
欧洲站价格
linkfox-temu-price-eu
订单查询、发货、物流
linkfox-temu-order-global
取消订单(买家+卖家)
linkfox-temu-cancel-order-us
履约/发货(含自发货)
linkfox-temu-fulfillment-us
发品、类目、V2 add
linkfox-temu-add-product-us
半托管
temu.goods.price.list.get
productSkuIds
linkfox-temu-add-product-us
us_goods_price_list.py
网关与Temu token本skill
scripts/

API Usage

API 使用说明

文档内容
api.md网关、鉴权、错误码、典型流程
partner-global-catalog.md接口目录 + Partner URL + 脚本
apis/README.md按接口分文件
apis/<type-slug>.md
文档内容
api.md网关、鉴权、错误码、典型流程
partner-global-catalog.md接口目录 + Partner URL + 脚本
apis/README.md按接口分文件
apis/<type-slug>.md

默认参数

默认参数

字段默认说明
site
global
Partner Global(非 US/EU)
managementType
semi-managed
半托管
tokenPurpose
product-inventory
酷鸟卖家助手 token
字段默认值说明
site
global
Partner全球区(非美国/欧盟)
managementType
semi-managed
半托管
tokenPurpose
product-inventory
酷鸟卖家助手token

鉴权

鉴权

  1. LinkFox
    LINKFOXAGENT_API_KEY
    → Header
    Authorization
    +
    Token
  2. Temu
    accessToken
    storeKey
  1. LinkFox
    LINKFOXAGENT_API_KEY
    → 请求头
    Authorization
    +
    Token
  2. Temu
    accessToken
    storeKey

Scripts(按 type)

脚本(按类型划分)

脚本type状态
global_price_baseprice_recommend.py
temu.local.goods.baseprice.recommend
已接入
global_price_recommendedprice_query.py
temu.local.goods.recommendedprice.query
已接入
global_price_priceorder_query.py
bg.local.goods.priceorder.query
已接入
global_price_priceorder_change_sku_price.py
bg.local.goods.priceorder.change.sku.price
已接入
global_price_sku_list_price_query.py
bg.local.goods.sku.list.price.query
已接入
temu_global_proxy.py
任意
type
通用
temu_global_file_download.py
加签文件下载通用
新增接口后在此表与 partner-global-catalog.md 同步登记。
脚本type状态
global_price_baseprice_recommend.py
temu.local.goods.baseprice.recommend
已接入
global_price_recommendedprice_query.py
temu.local.goods.recommendedprice.query
已接入
global_price_priceorder_query.py
bg.local.goods.priceorder.query
已接入
global_price_priceorder_change_sku_price.py
bg.local.goods.priceorder.change.sku.price
已接入
global_price_sku_list_price_query.py
bg.local.goods.sku.list.price.query
已接入
temu_global_proxy.py
任意
type
通用
temu_global_file_download.py
加签文件下载通用
新增接口后需在此表与 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`

网关与授权脚本

网关与授权脚本

脚本说明
check_linkfox_token.py
校验 LinkFox 用户 Token
temu_token_guide.py
Temu accessToken 后台授权步骤
save_temu_access_token.py
保存 accessToken 到本地
list_temu_access_tokens.py
列出已保存 token
get_temu_access_token.py
读取已保存 token
temu_proxy.py
通用网关转发(多 site)
temu_file_download.py
加签文件下载(多 site)
授权说明:references/access-token.md
<!-- LF_LARGE_RESPONSE_BLOCK -->
脚本说明
check_linkfox_token.py
校验LinkFox用户Token
temu_token_guide.py
Temu accessToken后台授权步骤
save_temu_access_token.py
将accessToken保存到本地
list_temu_access_tokens.py
列出已保存的token
get_temu_access_token.py
读取已保存的token
temu_proxy.py
通用网关转发(多站点)
temu_file_download.py
加签文件下载(多站点)
授权说明: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>"
Pick
--out-dir
outside any git working tree (e.g.
/tmp/...
on Unix,
%TEMP%/...
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.
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
,
temu_token_guide.py
. Pass
--script scripts/<name>.py
to choose the one you need.
run
writes the full response to a file and emits only a schema preview + file path.
read
projects specific fields, with
--limit/--offset
for slicing and
--format json|jsonl|csv|table
for output.
When 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
read
.
<!-- /LF_LARGE_RESPONSE_BLOCK -->
为避免超出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>"
请选择
<out-dir>
为Git工作区外的路径(例如Unix系统的
/tmp/...
,Windows系统的
%TEMP%/...
)。保存的响应可能包含个人身份信息(PII)、定价或授权敏感数据——请勿提交到Git仓库。文件不会自动删除,完成任务后请自行清理。
本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
参数选择所需脚本。
run
命令会将完整响应写入文件,并仅输出架构预览+文件路径。
read
命令可提取指定字段,支持通过
--limit/--offset
进行切片,以及通过
--format json|jsonl|csv|table
指定输出格式。
何时优先使用此模式——请根据响应特性判断,例如:
  • 每条记录字段数量多,或包含不需要的字段
  • 批量/分页结果(单次调用返回多条数据)
  • 长文本字段(描述、评论、HTML、时间序列等)
  • 输出结果需在后续步骤中重复使用,而非立即消耗
对于小型、单次使用的响应,直接调用主脚本即可。
⚠️ 预览内容是截断的架构+示例,并非完整数据。任何字段级别的操作都必须通过
read
命令从保存的文件中读取。
<!-- /LF_LARGE_RESPONSE_BLOCK -->