视频号上架商品到橱窗出现异常,急需帮助!
上架商品到橱窗
POST https://api.weixin.qq.com/channels/ec/window/product/add?access_token=ACCESS_TOKEN
array(2) {
["errcode"] => int(10022004)
["errmsg"] => string(66) "商品异常 禁止添加到橱窗 rid: 63bb88d9-37f2dd74-13580e19"
}
然后调用商品详情接口返回的 banned_details 又是空的
POST https://api.weixin.qq.com/channels/ec/window/product/get?access_token=ACCESS_TOKEN
array(2) {
["product_id"] => string(9) "489529559"
["appid"] => string(18) "****隐藏****"
}
array(3) {
["errcode"] => int(0)
["errmsg"] => string(2) "ok"
["product"] => array(15) {
["product_id"] => string(9) "489529559"
["out_product_id"] => string(3) "240"
["title"] => string(33) "阿尔法蛋自由练习本套装"
["img_url"] => string(156) "https://store.mp.video.tencent-cloud.com/161/20304/snscosdownload/SH/reserved/63b8eac90000c43a08274908b434b00b000000a100004f50?imageView2/1/w/800/h/800/q/50"
["third_category_id"] => string(4) "6755"
["status"] => int(2)
["market_price"] => int(3900)
["selling_price"] => int(3900)
["stock"] => int(992)
["appid"] => string(18) "****隐藏****"
["page_path"] => array(3) {
["appid"] => string(18) "****隐藏****"
["half_page_path"] => string(42) "/pages/goodsdetail/goodsdetail.html?id=240"
["full_page_path"] => string(42) "/pages/goodsdetail/goodsdetail.html?id=240"
}
["platform_id"] => int(10000000)
["platform_name"] => string(16) "**优选plus"
["is_hide_for_window"] => bool(false)
["banned_details"] => array(0) {
}
}
}
视频号助手 - 商品橱窗 那里也是无法上架,全部商品都是:禁止售卖,不知道怎么调试了。。。
https://developers.weixin.qq.com/doc/channels/API/windowproduct/add.html
[2023-01-09T14:12:37.987389+08:00] EasyWeChat.DEBUG: >>>>>>>>
POST /channels/ec/window/product/add?access_token=64__l5lUihKh3YjHbZx1TcvmIBW_bsTnSog8l5uzHsFiuWaWFUAtXKGdLDWM1SM-wubu4oUYAooUDgARxb9jc7cwEKM0Pe2aEAGQXSQYogcRqK9NM4vG7cX0FYAH-4EYCdAAAJDH HTTP/1.1
Host: api.weixin.qq.com
Content-Length: 55
User-Agent: GuzzleHttp/7
Content-Type: application/json
{"product_id":"489529559","appid":"wx341f2fafb9d20ac4"}
<<<<<<<<
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json; charset=UTF-8
Content-Length: 98
{"errcode":10022004,"errmsg":"商品异常 禁止添加到橱窗 rid: 63bbb055-1696e29f-118c05a6"}
还是一样的,返回错误