SuperAPI AI Directory

linkfox-temu-manage-product-eu

Coding & development

View repository

Updated 10-15 20:04

About this skill

Temu EU Product Management API (Manage Product)

This skill (linkfox-temu-manage-product-eu) covers Partner Platform for EU Product > Manage Products(menu_code=2283b8dc7fcc42529633b0b41114aef8) under 24 endpoints ( bg.local.* / temu.local.* (type aligned with the US version). For the US site, use linkfox-temu-manage-product-us; for the global site (non-US/EU), use linkfox-temu-manage-product-global。

gateway (built into this skill):

Capabilities Method Path
Product OpenAPI (eu_manage_*、temu_eu_proxy) POST https://tool-gateway.linkfox.com/temu/proxy
signed file download POST https://tool-gateway.linkfox.com/temu/fileDownload

product publishing、orders and other domains: for now use the corresponding linkfox-temu-*-us skill and set site=eu; or use the published EU skills:linkfox-temu-price-eu、linkfox-temu-promotion-eu、linkfox-temu-ads-eu、linkfox-temu-tax-eu , etc.

How to call

  • API endpoint:POST /temu/proxy(different operations are distinguished by the request body; for complete parameters/responses/error codes, see references/api.md)
  • Python script:python scripts/<脚本名>.py '<JSON 参数>' [--inline](available scripts are listed in the script overview above)
  • Cost constraints: This tool consumes compute; on failure/empty results, do not automatically switch keywords, paginate, or repeatedly probe; if you need to continue searching, first explain to the user that additional consumption will be incurred.

Output strategy (default script behavior):

  • Alwayswrite the complete response to <cwd>/linkfox/<YYYY-MM-DD>/<session>/data/<skill-name>-<timestamp>.json(<cwd> is the working directory when the script runs, which in Claude Code is the current project directory;<session> is taken from the environment variable SESSION_ID, automatically aggregated by user task;Writing to /tmp is prohibited, if the current directory is not writable, report an error)
  • Response body ≤ 8 KB: after writing to disk, print the complete JSON to stdout
  • Response body > 8 KB: after writing to disk, stdout outputs only a summary (top-level fields, common counts such as total/costToken, length of the largest list field + first 3 samples)
  • Add --inline to force full printing to stdout (also written to disk)

Data reading suggestions: first look at the summary to judge whether it is sufficient; when specific fields are needed, prefer jqorConvertFrom-Json to extract on demand from the saved json file, avoiding bringing the entire JSON into context.

Resolve authentication and compute issues

When the following abnormal situations occur, use references/onboarding.md to guide resolution:

Abnormal situations

  • API Key not configured: environment variable not configured LINKFOX_AGENT_API_KEY, and also not configured LINKFOXAGENT_API_KEY。
  • Response 401 or 402 status code
  • Response indicates insufficient compute or balance: the message contains "insufficient compute balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/recharge required/please recharge", or similar meaning.

API documentation

Input/output parameters,Partner official documentation URL has been inlined into references/:

documentation content
api.md Gateway, authentication, error codes
partner-eu-catalog.md 24 endpoint directory + scripts + documentation links
apis/README.md Split into files by endpoint(24 apis/*.md)

Common single-interface documentation example:

Default parameters

Field Default Description
site eu Partner EU
managementType semi-managed Semi-managed
tokenPurpose product-inventory Kuniao Seller Assistant token

Authentication

  1. LinkFox:LINKFOXAGENT_API_KEY → Header Authorization + Token
  2. Temu:accessToken or storeKey

Scripts (by type)

Script type
eu_manage_list_query.py bg.local.goods.list.query
eu_manage_goods_list_retrieve.py temu.local.goods.list.retrieve
eu_manage_detail_query.py bg.local.goods.detail.query
eu_manage_sku_list_query.py bg.local.goods.sku.list.query
eu_manage_sku_list_retrieve.py temu.local.sku.list.retrieve
eu_manage_publish_status_get.py bg.local.goods.publish.status.get
eu_manage_sku_stock_query.py temu.local.goods.sku.stock.query
eu_manage_stock_edit.py bg.local.goods.stock.edit
eu_manage_partial_update.py bg.local.goods.partial.update
eu_manage_goods_update.py bg.local.goods.update
eu_manage_goods_delete.py temu.local.goods.delete
eu_manage_spec_info_get.py temu.local.goods.spec.info.get
eu_manage_category_check.py bg.local.goods.category.check
eu_manage_property_get.py bg.local.goods.property.get
eu_manage_property_relations.py bg.local.goods.property.relations
eu_manage_property_relations_level_template.py bg.local.goods.property.relations.level.template
eu_manage_property_relations_template.py bg.local.goods.property.relations.template
eu_manage_out_sn_set.py bg.local.goods.out.sn.set
eu_manage_sku_out_sn_set.py bg.local.goods.sku.out.sn.set
eu_manage_compliance_list_query.py bg.local.compliance.goods.list.query
eu_manage_compliance_edit.py bg.local.goods.compliance.edit
eu_manage_sale_status_set.py bg.local.goods.sale.status.set
eu_manage_pre_sale_status_edit.py temu.local.goods.pre.sale.status.edit
eu_manage_videocoverimage_get.py bg.local.goods.videocoverimage.get
temu_eu_proxy.py Any type
temu_eu_file_download.py Signed file download

Example

export LINKFOXAGENT_API_KEY="<key>"

# 商品列表
python scripts/eu_manage_list_query.py '{"accessToken":"TOKEN","request":{"pageNo":1,"pageSize":20,"goodsSearchType":1,"goodsStatusFilterType":0}}'

# 详情
python scripts/eu_manage_detail_query.py '{"accessToken":"TOKEN","request":{"goodsId":123456,"versionQueryType":2}}'

# 部分编辑标题(官方字段为 goodsBasic.goodsName,非 productName)
python scripts/eu_manage_partial_update.py '{"accessToken":"TOKEN","request":{"goodsId":123456,"goodsBasic":{"goodsName":"New Title"}}}'

# 库存增量
python scripts/eu_manage_stock_edit.py '{"accessToken":"TOKEN","request":{"goodsId":123456,"skuStockChangeList":[{"skuId":999,"stockDiff":10}]}}'

Feedback: skillName:linkfox-temu-manage-product-eu

Gateway and authorization scripts

Script Description
check_linkfox_token.py Verify LinkFox user Token
temu_token_guide.py Temu accessToken backend authorization steps
save_temu_access_token.py Save accessToken locally
list_temu_access_tokens.py List saved tokens
get_temu_access_token.py Read saved token
temu_proxy.py Generic gateway forwarding (multi-site)
temu_file_download.py Signed file download (multi-site)

Authorization instructions:references/access-token.md

Compute power consumption rules

No compute power is consumed.