ListPurchaserShops - 获取采购方店铺列表

获取采购方店铺列表。

接口说明

获取采购方店铺列表。

调试

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

授权信息

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

请求语法

GET /opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops HTTP/1.1

请求参数

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

请求页码

1
pageSizeinteger

每页数量范围

10

返回参数

名称类型描述示例值
ShopPageResult

店铺列表信息

{
  "requestId": "AEE64C1D-7FBD-1F10-B8C7-12A854A1D6B4",
  "total": 6,
  "shopList": [
    {
      "shopId": "22000019",
      "purchaserId": "PID22000019",
      "shopName": "店铺名称 001",
      "cooperationShops": [
        {
          "shopId": "22000019",
          "cooperationCompanyId": "11200003",
          "cooperationShopId": "21000026"
        }
      ],
      "shopType": "DistributorQYG",
      "startDate": null,
      "endDate": null,
      "status": "WORKING"
    },
    {
      "shopId": "22000018",
      "purchaserId": "PID22000018",
      "shopName": "店铺名称 002",
      "cooperationShops": [],
      "shopType": "DistributorQYG",
      "startDate": null,
      "endDate": null,
      "status": "APPROVED"
    },
    {
      "shopId": "22000017",
      "purchaserId": "PID22000017",
      "shopName": "分销店铺 0817",
      "cooperationShops": [],
      "shopType": "DistributorQYG",
      "startDate": null,
      "endDate": null,
      "status": "TO_BE_APPROVED"
    }
  ]
}

示例

正常返回示例

JSON格式

{
  "requestId": "841471F6-5D61-1331-8C38-2****B55",
  "total": 24,
  "shopList": [
    {
      "endDate": "2023-09-11T12:22:24.000+08:00",
      "shopName": "儿童座椅分销店铺",
      "shopId": "22****09",
      "shopType": "DistributorQYG",
      "cooperationShops": [
        {
          "shopId": "",
          "cooperationCompanyId": "",
          "cooperationShopId": ""
        }
      ],
      "startDate": "2023-09-11T12:22:24.000+08:00",
      "status": "Working",
      "purchaserId": "PID56****2304"
    }
  ]
}

错误码

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

变更历史

变更时间变更内容概要操作
2023-09-18API 内部配置变更,不影响调用查看变更详情
2023-09-15OpenAPI 入参发生变更查看变更详情