有赞新零售社区

发帖
API使用问题»查询店铺下会员卡商品列表

[API调用-商品/交易] 查询店铺下会员卡商品列表

刘振 11-01 270 浏览 1 评论 | 只看楼主 [打印]
目前查询店铺下所有的商品API:
      查询网店商品SPU信息列表:https://doc.youzanyun.com/detail/API/0/218


1.发现有的商品没有在这个接口返回,比如spu_id:3489245717, 3489238478, 3489216044
2.但是单独调用商品详情时,是可以查询商品信息的,出参中 item_type=20, is_virtual=2

商品详情:https://doc.youzanyun.com/detail/API/0/2783

出参:{"trace_id":"yz7-0ae85bdd-1730439397038-977090","code":200,"data":{"is_virtual":2,"template":{"template_title":"普通版","template_id":0},"hide_stock":1,"detail_url":"https://h5.youzan.com/v2/showcase/goods?alias=3nusy0f6bgqbyzh&from=wsc&kdtfrom=wsc","auto_listing_time":0,"post_sale_param":{"is_return_msg":false},"item_price_param":{"origin":""},"item_type":20,"channel":0,"category_properties":{"publics":[],"privates":[]},"title":"苏州年卡VIP","join_level_discount":false,"actual_tag_ids":[9938729592],"kdt_id":157592014,"is_serial_item":0,"alias":"3nusy0f6bgqbyzh","need_customs_info":false,"item_barcode":"","need_customs_check":false,"need_customs_info_with_picture":false,"created_time":1730372185000,"tag_ids":[9938729592],"images":[{"image_url":"https://img01.yzcdn.cn/upload_files/2024/10/31/Fv-GXg4r7glVrm7DwcEr2DQ4D7Yt.png","image_id":7319606411}],"biz_code":"000000000020","quantity":99994,"is_multi_unit_item":0,"item_id":3489245717,"sku_picture_display_config":false,"purchase_permission":{"quota_cycle":0,"purchase_right":false,"buy_quota":1},"stock_deduct_mode":0,"sku_value_props":[],"item_delivery_param":{"postage":0},"sold_num":6,"size_group":{"sizes":[]},"goods_platform":0,"channels":[],"sku_list":[{"sku_no":"","price":99900,"stock_num":99994,"sku_created_time":1730372185000,"sku_id":14789833832,"sku_barcode":"","sku_modified_time":1730433269000,"sku_props":[{"prop_name":"会员期限","prop_value_id":545042367,"prop_value_name":"苏州年卡VIP","prop_name_id":1}],"sold_num":6}],"spu":{"spu_id":14789833833},"messages":[],"root_item_id":0,"root_kdt_id":0,"extra_param":{"item_channel_extra":{}},"video_id":0,"is_display":1,"cid":13000001,"desc":"","ability_mark_codes":[40008,40016,10020,10023],"item_props":[]},"success":true,"message":"successful"}
本帖最后由 刘振 于 2024-11-1 14:02 编辑
用手机打开
收藏 ··· 回复
    查询店铺下所有的商品用这个接口获取:https://doc.youzanyun.com/detail/API/0/3561

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

      本版积分规则

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

      • 评分

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

      复制成功