...
|
...
|
@@ -373,4 +373,61 @@ |
|
|
"message": "操作成功"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 上下架productskc
|
|
|
|
|
|
> 接口名: `/product/updateGoodsStatus`
|
|
|
|
|
|
### 入参 {"productSkc":928, "targetStatus" : 0}
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|productSkc|number||商品skc|必填|
|
|
|
|targetStatus|number||目标状态 0 代表下架, 1 代表上架|必填|
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "update status success."
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
# 上下架productsku
|
|
|
|
|
|
> 接口名: `/product/updateProductSkuStatus`
|
|
|
|
|
|
### 入参 {"productSku":928, "targetStatus" : 0}
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
|productSku|number||商品sku|必填|
|
|
|
|targetStatus|number||目标状态 0 代表下架, 1 代表上架|必填|
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "update status success."
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|