Update product_query.md
Showing
1 changed file
with
83 additions
and
89 deletions
@@ -16,9 +16,8 @@ | @@ -16,9 +16,8 @@ | ||
16 | localRemnantNum:本店可售库存 | 16 | localRemnantNum:本店可售库存 |
17 | totalRemnantNum:线上全部可售库存(包括总仓和各个线下店) | 17 | totalRemnantNum:线上全部可售库存(包括总仓和各个线下店) |
18 | # localRemnantNum:本店可售库存 | 18 | # localRemnantNum:本店可售库存 |
19 | - | ||
20 | -# 线下店获取门店可售商品列表 # | ||
21 | -原入口:platform/PurchaseAllocationController/storeSaleProductDetailList | 19 | +# 1. 线下店获取门店可售商品列表(线下店商品管理(本店可售(上架,线下可售),本店在售(调拨审核通过的商品),南京) # |
20 | +接口名:/PurchaseAllocationController/storeSaleProductDetailList | ||
22 | 21 | ||
23 | # 请求参数 # | 22 | # 请求参数 # |
24 | | 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 | | 23 | | 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 | |
@@ -26,112 +25,107 @@ | @@ -26,112 +25,107 @@ | ||
26 | |storeId |int | 50 |否 |1| |门店id| | 25 | |storeId |int | 50 |否 |1| |门店id| |
27 | |productSkus |List<Integer> | 50 |是 | | |sku| | 26 | |productSkus |List<Integer> | 50 |是 | | |sku| |
28 | |productSkns |List<Integer> | 50 |是 | | |skn| | 27 | |productSkns |List<Integer> | 50 |是 | | |skn| |
28 | +|brandIds | List<Integer>| 50 |是 | | |品牌ID| | ||
29 | |productName |String | 50 |是 | | |商品名称| | 29 | |productName |String | 50 |是 | | |商品名称| |
30 | -|brandId |String | 50 |是 | | |品牌id| | ||
31 | |maxSortId |short | 50 |是 | | |商品大类id| | 30 | |maxSortId |short | 50 |是 | | |商品大类id| |
32 | |gender |int | 50 |是 | | |性别| | 31 | |gender |int | 50 |是 | | |性别| |
33 | |attribute |int | 50 |是 | | |商品属性| | 32 | |attribute |int | 50 |是 | | |商品属性| |
34 | -|isShopOnSale |String | 50 |是 | | |是否本店在售| | 33 | +|isShopOnSale |int | 0 |是 | | |是否本店在售 0 不是本店在售 1 是本店在售| |
35 | |isAdvance |String | 50 |是 | | |是否预售| | 34 | |isAdvance |String | 50 |是 | | |是否预售| |
36 | |isLimited |String | 50 |是 | | |是否限量| | 35 | |isLimited |String | 50 |是 | | |是否限量| |
37 | |isJit |String | 50 |是 | | |是否jit| | 36 | |isJit |String | 50 |是 | | |是否jit| |
38 | -|shopsPageSize |int | 50 |是 | | |分页数| | 37 | +|page |int | 1 |是 | | |第几页| |
38 | +|size |int | 20 |是 | | |每页条数(默认一页10条 )| | ||
39 | +|shopsPageSize |int | 50 |是 | | |只是一个分页的标志,如果不分页,需要传0 | | ||
39 | 40 | ||
40 | 41 | ||
41 | 42 | ||
42 | **返回参数** | 43 | **返回参数** |
43 | 44 | ||
44 | code为200即为成功,否则是失败。 响应JSON格式如下所示: | 45 | code为200即为成功,否则是失败。 响应JSON格式如下所示: |
45 | - | ||
46 | - { | ||
47 | - "code": 200, | ||
48 | - "message": "success", | ||
49 | - "data": [ | ||
50 | - { | ||
51 | - "productSkn": 70, | ||
52 | - "productSku": "1385336", | ||
53 | - "productSkc": 0, | ||
54 | - "productName": 70, | ||
55 | - "brandName": "1385336", | ||
56 | - "brandId": 145, | ||
57 | - "maxSortName": 0, | ||
58 | - "smallSortName": 70, | ||
59 | - "middleSortName": "1385336", | ||
60 | - "colorName": 145, | ||
61 | - "sizeName": 0, | ||
62 | - "gender": 70, | ||
63 | - "imageUrl": "1385336", | ||
64 | - "replenishSwitch": 145, | ||
65 | - "attribute": 0, | ||
66 | - "isJit": 70, | ||
67 | - "isLimited": "1385336", | ||
68 | - "isAdvance": 145, | ||
69 | - "isSpecial": 0, | ||
70 | - "shelveTime": 70, | ||
71 | - "salesPrice": "1385336", | ||
72 | - "marketPrice": 145, | ||
73 | - "auditState": 0 | ||
74 | - } | ||
75 | - ] | ||
76 | - } | 46 | +```json |
47 | +{ | ||
48 | + "code": 200, | ||
49 | + "message": "success", | ||
50 | + "data": [ | ||
51 | + { | ||
52 | + "productSkn": 70, | ||
53 | + "productSku": "1385336", | ||
54 | + "productSkc": 0, | ||
55 | + "productName": 70, | ||
56 | + "brandName": "1385336", | ||
57 | + "brandId": 145, | ||
58 | + "maxSortName": 0, | ||
59 | + "smallSortName": 70, | ||
60 | + "middleSortName": "1385336", | ||
61 | + "colorName": 145, | ||
62 | + "sizeName": 0, | ||
63 | + "gender": 70, | ||
64 | + "imageUrl": "1385336", | ||
65 | + "replenishSwitch": 145, | ||
66 | + "attribute": 0, | ||
67 | + "isJit": 70, | ||
68 | + "isLimited": "1385336", | ||
69 | + "isAdvance": 145, | ||
70 | + "isSpecial": 0, | ||
71 | + "shelveTime": 70, | ||
72 | + "salesPrice": "1385336", | ||
73 | + "marketPrice": 145, | ||
74 | + "isShopOnSale": 0 | ||
75 | + } | ||
76 | + ] | ||
77 | +} | ||
78 | +``` | ||
77 | 79 | ||
78 | -# 线下店获取门店可售商品列表(线下店商品管理(本店可售(上架,线下可售),本店在售(调拨审核通过的商品),南京) # | 80 | +# 3.线下店获取门店可售商品列表(线下店商品管理(本店可售(上架,线下可售),本店在售(调拨审核通过的商品),南京) # |
79 | 接口名:/PurchaseAllocationController/storeSaleProductDetailList | 81 | 接口名:/PurchaseAllocationController/storeSaleProductDetailList |
80 | 82 | ||
81 | # 请求参数 # | 83 | # 请求参数 # |
84 | +```json | ||
85 | +{ | ||
86 | + "productSkus": [102002,102078] | ||
87 | +} | ||
88 | +``` | ||
82 | | 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 | | 89 | | 参数名称 | 参数类型| 长度 |可否为空 |示例 |默认值 | 备注 | |
83 | | ---------|:--------:| --------:|-----:|------:|-----:|------:| | 90 | | ---------|:--------:| --------:|-----:|------:|-----:|------:| |
84 | -|storeId |int | 50 |否 |1| |门店id| | ||
85 | -|productSkus |List<Integer> | 50 |是 | | |sku| | ||
86 | -|productSkns |List<Integer> | 50 |是 | | |skn| | ||
87 | -|brandIds | List<Integer>| 50 |是 | | |品牌ID| | ||
88 | -|productName |String | 50 |是 | | |商品名称| | ||
89 | -|maxSortId |short | 50 |是 | | |商品大类id| | ||
90 | -|gender |int | 50 |是 | | |性别| | ||
91 | -|attribute |int | 50 |是 | | |商品属性| | ||
92 | -|isShopOnSale |int | 0 |是 | | |是否本店在售 0 不是本店在售 1 是本店在售| | ||
93 | -|isAdvance |String | 50 |是 | | |是否预售| | ||
94 | -|isLimited |String | 50 |是 | | |是否限量| | ||
95 | -|isJit |String | 50 |是 | | |是否jit| | ||
96 | -|page |int | 1 |是 | | |第几页| | ||
97 | -|size |int | 20 |是 | | |每页条数(默认一页10条 )| | ||
98 | -|shopsPageSize |int | 50 |是 | | |只是一个分页的标志,如果不分页,需要传0 | | ||
99 | - | ||
100 | - | 91 | +|productSkus |List<Integer> | [102002,102078] |是 | | |sku| |
101 | 92 | ||
102 | **返回参数** | 93 | **返回参数** |
103 | 94 | ||
104 | code为200即为成功,否则是失败。 响应JSON格式如下所示: | 95 | code为200即为成功,否则是失败。 响应JSON格式如下所示: |
105 | - | ||
106 | - { | ||
107 | - "code": 200, | ||
108 | - "message": "success", | ||
109 | - "data": [ | ||
110 | - { | ||
111 | - "productSkn": 70, | ||
112 | - "productSku": "1385336", | ||
113 | - "productSkc": 0, | ||
114 | - "productName": 70, | ||
115 | - "brandName": "1385336", | ||
116 | - "brandId": 145, | ||
117 | - "maxSortName": 0, | ||
118 | - "smallSortName": 70, | ||
119 | - "middleSortName": "1385336", | ||
120 | - "colorName": 145, | ||
121 | - "sizeName": 0, | ||
122 | - "gender": 70, | ||
123 | - "imageUrl": "1385336", | ||
124 | - "replenishSwitch": 145, | ||
125 | - "attribute": 0, | ||
126 | - "isJit": 70, | ||
127 | - "isLimited": "1385336", | ||
128 | - "isAdvance": 145, | ||
129 | - "isSpecial": 0, | ||
130 | - "shelveTime": 70, | ||
131 | - "salesPrice": "1385336", | ||
132 | - "marketPrice": 145, | ||
133 | - //是否本店在售 0 不是本店在售 1 是本店在售 | ||
134 | - "isShopOnSale": 0 | ||
135 | - } | ||
136 | - ] | ||
137 | - } | ||
96 | +```json | ||
97 | +{ | ||
98 | + "code": 200, | ||
99 | + "data": [ | ||
100 | + { | ||
101 | + "attribute": "1", | ||
102 | + "brandId": 119, | ||
103 | + "brandName": "REVELATOR", | ||
104 | + "colorName": "绿色", | ||
105 | + "factoryCode": "VN0003Z6KM2104500M", | ||
106 | + "gender": "1", | ||
107 | + "imageUrl": "http://img13.static.yhbimg.com/goodsimg/2012/03/02/14/02ea70da41df2d162fe1ec1c5d53367086.jpg", | ||
108 | + "isAdvance": "N", | ||
109 | + "isLimited": "N", | ||
110 | + "marketPrice": 255, | ||
111 | + "maxSortId": 1, | ||
112 | + "maxSortName": "上衣", | ||
113 | + "middleSortId": 11, | ||
114 | + "middleSortName": "T恤", | ||
115 | + "productName": "REVELATORTHER 短袖T恤", | ||
116 | + "productSkc": 3241, | ||
117 | + "productSkn": 50004331, | ||
118 | + "productSku": 102001, | ||
119 | + "salesPrice": 99, | ||
120 | + "sizeId": 201, | ||
121 | + "sizeName": "L", | ||
122 | + "smallSortId": 114, | ||
123 | + "smallSortName": "T恤", | ||
124 | + "sortId": 0, | ||
125 | + //给pda冗余字段 | ||
126 | + "templatePic": "http://img13.static.yhbimg.com/goodsimg/2012/03/02/14/02ea70da41df2d162fe1ec1c5d53367086.jpg" | ||
127 | + } | ||
128 | + ], | ||
129 | + "message": "操作成功" | ||
130 | +} | ||
131 | +``` |
-
Please register or login to post a comment