1688 Product Variations

1积分/次
ae_ali1688_product_variations

查询 1688 平台上指定商品的变体(SKU)数据。必填参数 product_id 为字符串,填写要查询的商品 ID。该查询用于获取商品的 SKU 变体数据;上游未提供固定的输出结构,不能保证返回特定字段。

效率工具
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
product_idstring是The product ID to be queried.—

调用示例

复制请求代码,查看对应的返回示例。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_ali1688_product_variations' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "product_id": "692668847094"
  }
}'
返回示例response.json
JSON部分内容
{
  "data": [
    {
      "height": 0.0,
      "length": 0.0,
      "offer_price": 39.0,
      "pkg_size_source": "",
      "price": 39.0,
      "sku_id": "4913057280064"
    }
  ],
  "doc": {
    "height": "Package height (in cm, 0 means not filled in).",
    "length": "Package length (in cm, 0 means not filled in).",
    "offer_price": "SKU actual offer price (in CNY).",
    "pkg_size_source": "Source of package size/weight data (e.g. \"filled in by merchant\").",
    "price": "SKU display price (in CNY).",
    "sku_id": "Unique SKU (variation) identifier."
  }
}

返回示例仅展示部分内容,不代表完整响应;复制内容为合法 JSON。

使用该工具的指南

看看真实工作流里怎么用这个工具