1.批量商品复制
接口
POST https://open.jisuapp.cn/pc/Shop/BatchCopyGoods
请求参数说明
Content-Type: application/x-www-form-urlencoded
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| access_token | String | Y | 用户授权的唯一票据 |
| goods_ids | array/string | Y | 要复制的商品集合 ,可以是商品的集合 ,如[1,2,3];如果传all就是复制全部商品 |
| target_app_id | String | y | 目标app_id 需要是自己的app |
| goods_type | int | n | 0=>普通商品类型,1=>预约商品,2=>外卖商品,3=>到店商品,4=>储值商品,5=>当面付,6=>排号;默认为0 |
返回参数
| 参数 | 类型 | 说明 |
|---|---|---|
| status | int | 状态码 0成功 1失败 |
| data | string | 说明 |
参数返回示例
{
"status": 0,
"data": "成功" ,
}