# 上架商品

# 接口调用请求说明

如果该商品处于自主下架状态,调用此接口可把直接把商品重新上架 该接口不影响已经在审核流程的草稿数据

http请求方式:POST
https://api.weixin.qq.com/shop/spu/listing?access_token=xxxxxxxxx

# 请求参数示例

{
    "product_id": 324545,
    "out_product_id": "51514515"
}

# 回包示例

{
    "errcode": 0,
    "errmsg":"ok"
}

# 请求参数说明

参数 类型 是否必填 说明
product_id number(uint64) 交易组件平台内部商品ID,与out_product_id二选一
out_product_id string 商家自定义商品ID,与product_id二选一

# 回包参数说明

参数 类型 说明
errcode number 错误码
errmsg string 错误信息