獲取采購方店鋪列表。
接口說明
獲取采購方店鋪列表。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請(qǐng)求語法
GET /opensaas-s2b/opensaas-s2b-biz-trade/v2/purchaserShops HTTP/1.1
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
pageNumber | integer | 是 | 請(qǐng)求頁碼 | 1 |
pageSize | integer | 是 | 每頁數(shù)量范圍 | 10 |
返回參數(shù)
{
"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"
}
]
}
錯(cuò)誤碼
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|---|---|
2023-09-18 | API 內(nèi)部配置變更,不影響調(diào)用 | 查看變更詳情 |
2023-09-15 | OpenAPI 入?yún)l(fā)生變更 | 查看變更詳情 |