Authored by qianjun

Update product_query.md

... ... @@ -73,4 +73,64 @@ code为200即为成功,否则是失败。 响应JSON格式如下所示:
"auditState": 0
}
]
}
# 线下店获取门店可售商品列表 #
接口名:/PurchaseAllocationController/storeSaleProductDetailList
# 请求参数 #
| 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 |
| ---------|:--------:| --------:|-----:|------:|-----:|------:|
|storeId |int | 50 |否 |1| |门店id|
|productSkus |List<Integer> | 50 |是 | | |sku|
|productSkns |List<Integer> | 50 |是 | | |skn|
|brandIds | List<Integer>| 50 |是 | | |skn|
|productName |String | 50 |是 | | |商品名称|
|maxSortId |short | 50 |是 | | |商品大类id|
|gender |int | 50 |是 | | |性别|
|attribute |int | 50 |是 | | |商品属性|
|isShopOnSale |String | 50 |是 | | |是否本店在售|
|isAdvance |String | 50 |是 | | |是否预售|
|isLimited |String | 50 |是 | | |是否限量|
|isJit |String | 50 |是 | | |是否jit|
|page|int|1|第几页|否|
|size|int|20|每页条数(默认一页10条 )|否|
|shopsPageSize |int | 50 |是 | | |只是一个分页的标志,如果不分页,需要传0 |
**返回参数**
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"message": "success",
"data": [
{
"productSkn": 70,
"productSku": "1385336",
"productSkc": 0,
"productName": 70,
"brandName": "1385336",
"brandId": 145,
"maxSortName": 0,
"smallSortName": 70,
"middleSortName": "1385336",
"colorName": 145,
"sizeName": 0,
"gender": 70,
"imageUrl": "1385336",
"replenishSwitch": 145,
"attribute": 0,
"isJit": 70,
"isLimited": "1385336",
"isAdvance": 145,
"isSpecial": 0,
"shelveTime": 70,
"salesPrice": "1385336",
"marketPrice": 145,
"auditState": 0
}
]
}
\ No newline at end of file
... ...