Update purchase_allocation.md
Showing
1 changed file
with
36 additions
and
5 deletions
@@ -175,7 +175,7 @@ | @@ -175,7 +175,7 @@ | ||
175 | } | 175 | } |
176 | 176 | ||
177 | ``` | 177 | ``` |
178 | -## 4.判读一个或多个SKN,是否是某个门店可卖的上架商品 | 178 | +## 4.判读一个或多个SKN,是否是某个门店可卖的上架商品(平台端) |
179 | 179 | ||
180 | > 接口名: `/PurchaseAllocationController/storeSaleProducts` | 180 | > 接口名: `/PurchaseAllocationController/storeSaleProducts` |
181 | 181 | ||
@@ -206,7 +206,38 @@ | @@ -206,7 +206,38 @@ | ||
206 | } | 206 | } |
207 | ``` | 207 | ``` |
208 | 208 | ||
209 | -## 5.查询商品的自动补货开关 | 209 | +## 5.判断一个或多个SKN,是否是某个门店可卖的上架商品并且品牌绑定了货架(线下店所有创建调拨单,里面的商品都要做这个验证) |
210 | + | ||
211 | +> 接口名: `/PurchaseAllocationController/storeSaleProduct4Shelves` | ||
212 | + | ||
213 | +### 入参 | ||
214 | + | ||
215 | +------------------------- | ||
216 | +|属性名称|类型|例子|说明|是否必填| | ||
217 | +|--------|----|----|----|--------| | ||
218 | +|warehouseId|int|12|仓库id|否| | ||
219 | +|productSkns|json数组|[51198438,51198438]|多个SKN组成json数组|否| | ||
220 | + | ||
221 | +### 返回 | ||
222 | + | ||
223 | +```json | ||
224 | + | ||
225 | +{ | ||
226 | + "code": 200, | ||
227 | + "data": { | ||
228 | + [ | ||
229 | + { | ||
230 | + "productSkn":51198426, | ||
231 | + //0 不是门店可卖的上架商品或者是品牌没有绑定了货架 1 是门店可卖的上架商品并且品牌绑定了货架 | ||
232 | + "saleStatusShelves":0 | ||
233 | + } | ||
234 | + ] | ||
235 | + }, | ||
236 | + "message": "操作成功" | ||
237 | +} | ||
238 | +``` | ||
239 | + | ||
240 | +## 6.查询商品的自动补货开关 | ||
210 | 241 | ||
211 | > 接口名: `/PurchaseAllocationController/queryProductReplenishSwitches ` | 242 | > 接口名: `/PurchaseAllocationController/queryProductReplenishSwitches ` |
212 | ### 入参 | 243 | ### 入参 |
@@ -236,7 +267,7 @@ | @@ -236,7 +267,7 @@ | ||
236 | } | 267 | } |
237 | ``` | 268 | ``` |
238 | 269 | ||
239 | -## 6.更新商品的自动补货开关 | 270 | +## 7.更新商品的自动补货开关 |
240 | 271 | ||
241 | > 接口名: `/PurchaseAllocationController/updateProductReplenishSwitches` | 272 | > 接口名: `/PurchaseAllocationController/updateProductReplenishSwitches` |
242 | 273 | ||
@@ -262,7 +293,7 @@ | @@ -262,7 +293,7 @@ | ||
262 | } | 293 | } |
263 | ``` | 294 | ``` |
264 | 295 | ||
265 | -## 7.线下门店可售的品牌列表 | 296 | +## 8.线下门店可售的品牌列表 |
266 | 297 | ||
267 | > 接口名: `/PurchaseAllocationController/storeSaleBrandList` | 298 | > 接口名: `/PurchaseAllocationController/storeSaleBrandList` |
268 | 299 | ||
@@ -289,7 +320,7 @@ | @@ -289,7 +320,7 @@ | ||
289 | "message": "操作成功" | 320 | "message": "操作成功" |
290 | } | 321 | } |
291 | ``` | 322 | ``` |
292 | -## 8.通过仓库ID获取门店ID | 323 | +## 9.通过仓库ID获取门店ID |
293 | 324 | ||
294 | > 接口名: `/StoreController/getStoreId` | 325 | > 接口名: `/StoreController/getStoreId` |
295 | 326 |
-
Please register or login to post a comment