查询供应链物品接口
测试环境
测试环境
POST
/open/v1/supplyChain/warehouse/findSku
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/supplyChain/warehouse/findSku?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"brandId": 5200,
"commercialId": -1,
"shopId": -1,
"start": 0,
"limit": 1
}'
响应示例响应示例
{
"code": 0,
"message": "成功[OK]",
"messageUuid": "f3947f2883e74b81bea5e45ace25456d",
"result": {
"data": [
{
"id": 364099009814576100,
"shopId": 810094162,
"shopName": "体验区测试品牌01store品牌1门店1",
"typeCode": "MST190",
"typeName": "饮用水(同步)",
"skuCode": "SKU1660",
"skuName": "测试AA",
"wmType": 0,
"barcode": "",
"properties": [],
"balancePrice": 10,
"purchasePrice": 10,
"skuUnits": [
{
"id": 364099009885879300,
"unitName": "听",
"skuConvert": 1,
"unitSmall": 1,
"unitPurchase": 1,
"unitStander": 1
}
],
"skuLots": [
{
"id": 364099198727438340,
"warehouseId": 37844913051684860,
"warehouseCode": "WH001",
"storageId": -1,
"storageCode": "默认存储区",
"binId": -1,
"binCode": "默认库位",
"lotId": -1,
"qty": 99,
"price": 10,
"amount": 990,
"creatorId": 37931932893321220,
"creatorName": "123",
"createTime": "2020-06-01 17:20:13.0",
"updaterId": 37931932893321220,
"updaterName": "123",
"updateTime": "2020-08-28 14:41:06.0"
}
],
"isDisable": 0,
"isDelete": 0,
"createTime": 1591003168000,
"updateTime": 1600774000000,
"guaranteePeriod": 0
}
],
"num": 1,
"total": 658
}
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-16 12:03:29