SuperAPI AI Directory

linkfox-temu-manage-product-global

Office & productivity

View repository

Updated 10-15 20:04

About this skill

Temu Global site product management API (Manage Product)

This skill (linkfox-temu-manage-product-global) covers the global region (site=global, non-US/Europe) under the Product > Manage Product of 24 endpoints of bg.local.* / temu.local.* (type aligned with US/EU). For the US site, use linkfox-temu-manage-product-us; for the Europe site, use linkfox-temu-manage-product-eu。

gateway (built into this skill):

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

product publishingplease use linkfox-temu-add-product-us(in JSON, site=global)。E-commerce compliance(qualifications/GPSR/live photos/responsible person) use linkfox-temu-compliance-global;prices/supply prices(including SKU list prices) use linkfox-temu-price-global;promotionsuse linkfox-temu-promotion-global;adsuse linkfox-temu-ads-global;ordersuse linkfox-temu-order-global / linkfox-temu-order-eu;fulfillmentuse linkfox-temu-fulfillment-global / linkfox-temu-fulfillment-eu;cancellationuse linkfox-temu-cancel-order-us / linkfox-temu-cancel-order-eu(all require site=global to be explicitly passed in).

How to call

  • API endpoint:POST /temu/proxy(different operations are distinguished via the request body; for complete parameters/responses/error codes, see references/api.md)
  • Python script:python scripts/<脚本名>.py '<JSON 参数>' [--inline](for available scripts, see the script list above)
  • Cost constraints: this tool consumes compute; on failure/empty results, do not automatically switch keywords, paginate, or repeatedly probe; when continued retrieval is needed, first explain to the user that it will incur additional consumption.

Output policy (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, and an error is reported if the current directory is not writable)
  • 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, the length of the largest list field + the first 3 samples)
  • add --inline to force full printing to stdout (also written to disk)

Data reading recommendations: 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 putting the entire JSON into context.

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

documentation content
api.md gateway, authentication, error codes
partner-global-catalog.md 24-endpoint catalog + scripts + documentation links
apis/README.md split into files by endpoint(24 apis/*.md)

examples of commonly used single-endpoint documentation:

resolve authentication and compute issues

When the following abnormal situations occur, use references/onboarding.md to guide problem 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 computing power or balance: message contains "insufficient computing power balance/insufficient billing/insufficient balance/quota exceeded/insufficient balance/package expired/recharge required/please recharge", or content with similar meaning.

Default parameters

Field Default Description
site global Partner Global
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
global_manage_list_query.py bg.local.goods.list.query
global_manage_goods_list_retrieve.py temu.local.goods.list.retrieve
global_manage_detail_query.py bg.local.goods.detail.query
global_manage_sku_list_query.py bg.local.goods.sku.list.query
global_manage_sku_list_retrieve.py temu.local.sku.list.retrieve
global_manage_publish_status_get.py bg.local.goods.publish.status.get
global_manage_sku_stock_query.py temu.local.goods.sku.stock.query
global_manage_stock_edit.py bg.local.goods.stock.edit
global_manage_partial_update.py bg.local.goods.partial.update
global_manage_goods_update.py bg.local.goods.update
global_manage_goods_delete.py temu.local.goods.delete
global_manage_spec_info_get.py temu.local.goods.spec.info.get
global_manage_category_check.py bg.local.goods.category.check
global_manage_property_get.py bg.local.goods.property.get
global_manage_property_relations.py bg.local.goods.property.relations
global_manage_property_relations_level_template.py bg.local.goods.property.relations.level.template
global_manage_property_relations_template.py bg.local.goods.property.relations.template
global_manage_out_sn_set.py bg.local.goods.out.sn.set
global_manage_sku_out_sn_set.py bg.local.goods.sku.out.sn.set
global_manage_compliance_list_query.py bg.local.compliance.goods.list.query
global_manage_compliance_edit.py bg.local.goods.compliance.edit
global_manage_sale_status_set.py bg.local.goods.sale.status.set
global_manage_pre_sale_status_edit.py temu.local.goods.pre.sale.status.edit
global_manage_videocoverimage_get.py bg.local.goods.videocoverimage.get
temu_global_proxy.py Any type
temu_global_file_download.py Signed file download

Example

export LINKFOXAGENT_API_KEY="<key>"

# 商品列表
python scripts/global_manage_list_query.py '{"accessToken":"TOKEN","site":"global","tokenPurpose":"product-inventory","request":{"pageNo":1,"pageSize":20,"goodsSearchType":1,"goodsStatusFilterType":0}}'

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

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

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

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

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 General gateway forwarding (multi-site)
temu_file_download.py Signed file download (multi-site)

Authorization description:references/access-token.md

Computing power consumption rules

Does not consume computing power.