有赞新零售社区

发帖
API使用问题»youzan.item.add返回301000004

[API调用-商品/交易] youzan.item.add返回301000004

(@_@) 2022-09-23 529 浏览 1 评论 | 只看楼主 [打印]
相关文档地址:https://doc.youzanyun.com/detail/API/0/3752
问题描述:添加实物商品接口,item_type已指定,文档必填参数已上传,返回301000004不知道有问题的参数是哪个
trace_id:yz7-0a34f830-1663901674617-795103
日志:
参数:{
  "param": "{\"item_delivery_param\": {\"postage\": 0, \"delivery_template_id\": 0, \"delivery_setting\": {\"express\": true}}, \"item_price_param\": {\"price\": 300}, \"hide_stock\": 1, \"item_type\": 0, \"image_ids\": [5401201643], \"title\": \"\\u53ef\\u4e50\", \"item_no\": \"xh001\", \"quantity\": 100, \"sell_point\": \"\\u6211\\u662f\\u5546\\u54c1\\u5356\\u70b9\", \"desc\": \"\\u6211\\u662f\\u5546\\u54c1\\u63cf\\u8ff0\", \"is_display\": 1, \"post_sale_param\": {\"refund_param\": {\"support_refund\": true}, \"is_support_barter\": 1}}"
}
响应:
{"trace_id":"yz7-0a34f830-1663901674617-795103","code":301000004,"success":false,"message":"请求参数非法 不支持的商品类型,该接口仅支持实物商品、虚拟商品、电子卡券、茶饮烘焙"}
店铺Id:225389384
店铺名称:云测试店铺wJsPy

本帖最后由 (@_@) 于 2022-9-23 15:33 编辑
用手机打开
收藏 ··· 回复
    y   有赞云团队   2022-09-23 | 只看该作者
    您好,item_type字段
    java.lang.Integer类型
    仅支持以下类型
    商品类型,0-实物商品,60-虚拟商品,61-电子卡劵,63-茶饮烘焙

    1跳至
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    复制链接
    新浪微博
    QQ空间
    微信扫码
    • 回复

    • 评分

    客服工作时间是9:00-18:00,客服妹子当前不在线,若不能及时回复请谅解。试试右上角的搜索吧,论坛有丰富的经验贴、公告贴,相信一定能够帮到您~

    复制成功