Showing
1 changed file
with
57 additions
and
0 deletions
@@ -373,4 +373,61 @@ | @@ -373,4 +373,61 @@ | ||
373 | "message": "操作成功" | 373 | "message": "操作成功" |
374 | } | 374 | } |
375 | 375 | ||
376 | +``` | ||
377 | + | ||
378 | + | ||
379 | + | ||
380 | + | ||
381 | +# 上下架productskc | ||
382 | + | ||
383 | +> 接口名: `/product/updateGoodsStatus` | ||
384 | + | ||
385 | +### 入参 {"productSkc":928, "targetStatus" : 0} | ||
386 | + | ||
387 | +------------------------- | ||
388 | +|属性名称|类型|例子|说明|是否必填| | ||
389 | +|--------|----|----|----|--------| | ||
390 | +|productSkc|number||商品skc|必填| | ||
391 | +|targetStatus|number||目标状态 0 代表下架, 1 代表上架|必填| | ||
392 | + | ||
393 | +--------------------- | ||
394 | + | ||
395 | +### 返回 | ||
396 | + | ||
397 | +``` json | ||
398 | +{ | ||
399 | + "code": 200, | ||
400 | + "data": [], | ||
401 | + "md5": "d751713988987e9331980363e24189ce", | ||
402 | + "message": "update status success." | ||
403 | +} | ||
404 | + | ||
405 | +``` | ||
406 | + | ||
407 | + | ||
408 | + | ||
409 | +# 上下架productsku | ||
410 | + | ||
411 | +> 接口名: `/product/updateProductSkuStatus` | ||
412 | + | ||
413 | +### 入参 {"productSku":928, "targetStatus" : 0} | ||
414 | + | ||
415 | +------------------------- | ||
416 | +|属性名称|类型|例子|说明|是否必填| | ||
417 | +|--------|----|----|----|--------| | ||
418 | +|productSku|number||商品sku|必填| | ||
419 | +|targetStatus|number||目标状态 0 代表下架, 1 代表上架|必填| | ||
420 | + | ||
421 | +--------------------- | ||
422 | + | ||
423 | +### 返回 | ||
424 | + | ||
425 | +``` json | ||
426 | +{ | ||
427 | + "code": 200, | ||
428 | + "data": [], | ||
429 | + "md5": "d751713988987e9331980363e24189ce", | ||
430 | + "message": "update status success." | ||
431 | +} | ||
432 | + | ||
376 | ``` | 433 | ``` |
-
Please register or login to post a comment