文档

ListSelectionProducts - 查询选品池商品列表

更新时间:

查询选品池商品列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /opensaas-s2b/opensaas-s2b-biz-trade/v2/selectionPool/products

请求参数

名称类型必填描述示例值
pageSizeinteger

分页大小

10
pageNumberinteger

当前页面序号,从 1 开始

1
purchaserIdstring

采购方 id

PID22000009
{
  "pageNumber": 1,
  "pageSize": 10,
  "purchaserId": "PID22000009"
}

返回参数

名称类型描述示例值
ProductPageResult

商品详情

{
  "requestId": "87C11800-27D4-1CF7-A544-D006AC4ADAD5",
  "total": 48,
  "pageNumber": 2,
  "pageSize": 20,
  "products": [
    {
      "requestId": null,
      "productId": "660460842235822080",
      "title": "发财树 5--我用下小蚁这个商品-qhh 不用你其他商品",
      "picUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01NtbRbi1qokFAIsvNo_!!2216003305543.jpg",
      "descPath": "//itemcdn.tmall.com/desc/icoss!0724961349057!11733929840",
      "categoryLeafId": 50011150,
      "images": [
        "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01NtbRbi1qokFAIsvNo_!!2216003305543.jpg",
        "//img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png",
        "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01E6yC8z1qokFueiOI7_!!2216003305543.jpg",
        "//img.alicdn.com/imgextra/i3/2216003305543/O1CN01K3DLfJ1qokF5BPhVJ_!!2216003305543.jpg"
      ],
      "properties": [
        {
          "text": "颜色分类",
          "values": [
            "天蓝色",
            "红色",
            "黑色"
          ]
        }
      ],
      "productSpecs": [
        {
          "keyId": 0,
          "key": "颜色分类",
          "values": [
            {
              "valueId": 0,
              "value": "天蓝色"
            },
            {
              "valueId": 0,
              "value": "红色"
            },
            {
              "valueId": 0,
              "value": "黑色"
            }
          ]
        }
      ],
      "skus": [
        {
          "shopId": "21000019",
          "productId": "660460842235822080",
          "skuId": "660460842235822081",
          "title": "天蓝色",
          "picUrl": "//img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png",
          "skuSpecs": [
            {
              "keyId": 0,
              "key": "颜色分类",
              "valueId": 0,
              "value": "天蓝色"
            }
          ],
          "skuSpecsCode": "",
          "skuStatus": "Online",
          "canSell": false,
          "quantity": -1,
          "fuzzyQuantity": "无货",
          "price": 1,
          "markPrice": 999900,
          "platformPrice": 999900,
          "divisionCode": null
        },
        {
          "shopId": "21000019",
          "productId": "660460842235822080",
          "skuId": "660460842235822082",
          "title": "红色",
          "picUrl": "//img.alicdn.com/imgextra///img.alicdn.com/imgextra/i3/2216003305543/O1CN01EWJ8tO1qokF2BAhv3_!!2216003305543.jpg",
          "skuSpecs": [
            {
              "keyId": 0,
              "key": "颜色分类",
              "valueId": 0,
              "value": "红色"
            }
          ],
          "skuSpecsCode": "",
          "skuStatus": "Online",
          "canSell": true,
          "quantity": -1,
          "fuzzyQuantity": "有货",
          "price": 2,
          "markPrice": 999900,
          "platformPrice": 999900,
          "divisionCode": null
        },
        {
          "shopId": "21000019",
          "productId": "660460842235822080",
          "skuId": "660460842235822083",
          "title": "黑色",
          "picUrl": "//img.alicdn.com/imgextra/i4/2216003305543/O1CN01NtbRbi1qokFAIsvNo_!!2216003305543.jpg",
          "skuSpecs": [
            {
              "keyId": 0,
              "key": "颜色分类",
              "valueId": 0,
              "value": "黑色"
            }
          ],
          "skuSpecsCode": "",
          "skuStatus": "Online",
          "canSell": false,
          "quantity": -1,
          "fuzzyQuantity": "无货",
          "price": 1,
          "markPrice": 999900,
          "platformPrice": 999900,
          "divisionCode": null
        }
      ],
      "canSell": true,
      "productType": "Normal",
      "productStatus": "Online",
      "shopId": "21000019",
      "quantity": -1,
      "fuzzyQuantity": "有货",
      "taxRate": null,
      "taxCode": null,
      "categoryChain": [
        {
          "categoryId": 50023724,
          "name": "其他",
          "parentId": 0,
          "level": 0,
          "isLeaf": false
        },
        {
          "categoryId": 50011150,
          "name": "其它",
          "parentId": 50023724,
          "level": 0,
          "isLeaf": true
        }
      ],
      "soldQuantity": "0",
      "divisionCode": null
    }
  ]
}

示例

正常返回示例

JSON格式

{
  "pageSize": 10,
  "total": 24,
  "pageNumber": 1,
  "requestId": "3239281273464326823",
  "products": [
    {
      "categoryChain": [
        {
          "name": "名称测试",
          "isLeaf": false,
          "level": 0,
          "categoryId": 201792301,
          "parentId": 0
        }
      ],
      "images": [
        "[]"
      ],
      "quantity": -1,
      "skus": [
        {
          "quantity": -1,
          "productId": "660460842235822080",
          "canSell": true,
          "fuzzyQuantity": "有货",
          "skuStatus": "Online",
          "skuSpecsCode": "颜色分类:天蓝色",
          "platformPrice": 999900,
          "title": "天蓝色",
          "divisionCode": "110000",
          "picUrl": "https:////img.alicdn.com/imgextra///img.alicdn.com/imgextra/i2/2216003305543/O1CN010DEQCX1qokFYGRfPE_!!2216003305543.png",
          "markPrice": 999900,
          "skuSpecs": [
            {
              "keyId": 1000,
              "valueId": 1000,
              "value": "天蓝色",
              "key": "颜色分类"
            }
          ],
          "price": 19800,
          "shopId": "21000017",
          "skuId": "660460842235822081",
          "barcode": "6922454329176",
          "rankValue": 3
        }
      ],
      "productId": "660460842235822080",
      "canSell": true,
      "productSpecs": [
        {
          "keyId": 1000,
          "key": "颜色分类",
          "values": [
            {
              "value": "白色",
              "valueId": 1000
            }
          ]
        }
      ],
      "fuzzyQuantity": "有货",
      "productStatus": "Online",
      "taxCode": "3040203000000000000",
      "title": "发财树",
      "soldQuantity": "100+",
      "divisionCode": "110000",
      "picUrl": "https://img.alicdn.com/imgextra/i3/2214281521988/O1CN01w4vomR1QYYEx6nyr5_!!2214281521988.jpg",
      "taxRate": 600,
      "categoryLeafId": 201856501,
      "requestId": "3239281273464326823",
      "descPath": "https://img.alicdn.com/descpath/O1CN01wciRDp22AEU14435dsf34",
      "shopId": "21000017",
      "productType": "Normal",
      "properties": [
        {
          "text": "颜色",
          "values": [
            "白色"
          ]
        }
      ],
      "brandName": "Apple/苹果",
      "extendProperties": [
        {
          "key": "ss_picture_scene",
          "value": "场景图"
        }
      ]
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
2023-09-18API 内部配置变更,不影响调用看变更集
变更项变更内容
API 内部配置变更,不影响调用
  • 本页导读 (0)