有赞新零售社区

发帖
日常使用问题归档»有赞api获取数据时可以区分店铺吗

有赞api获取数据时可以区分店铺吗

bluesurfire 2016-04-25 1238 浏览 10 评论 | 只看楼主 [打印]
店铺&商品
店铺名称: 菜先森 深圳
微信公众号: icaixiansen
公众号昵称: 菜先森
隐私信息(如订单流水号等信息,只有客服能看见): 隐藏内容
我的账户中有多家店铺,店铺中都有商品,我在获取待售商品的时候,好像拿到的是所有店铺的待售商品,但我只想拿其中一家店铺的数据,请问如何传参?
用手机打开
收藏 ··· 回复
    有赞-云栖   黄金   2016-04-26 | 只看该作者
    您好,您是在哪里操作的,哪个接口取的数据呢?

      bluesurfire 青铜   2016-04-26 | 只看该作者
      有赞-云栖 发表于 2016-4-25 16:50
      您好,您是在哪里操作的,哪个接口取的数据呢?


      kdt.items.inventory.get 获取仓库中的商品列表

      kdt.items.onsale.get 获取出售中的商品列表

      就是这两个接口,拿到的数据好像是我所有商铺中的数据,没法指定某个店铺的吗?

        有赞-云栖   黄金   2016-04-26 | 只看该作者
        您好,请求返回的内容,麻烦提供一下。

          bluesurfire 青铜   2016-04-26 | 只看该作者
          有赞-云栖 发表于 2016-4-26 13:19
          您好,请求返回的内容,麻烦提供一下。


          你确定?所有商品的数据量很大的。。。
          能让你们技术回答一下吗?
          就是GoodDetails[] 数组中是所有商铺的商品,想只取某一个店铺的。。。

            bluesurfire 青铜   2016-04-26 | 只看该作者
            bluesurfire 发表于 2016-4-26 14:25
            你确定?所有商品的数据量很大的。。。
            能让你们技术回答一下吗?
            就是GoodDetails[] 数组中是所有商铺的 ...


            不是数据量,是字符串很长。。。

              有赞-云栖   黄金   2016-04-27 | 只看该作者
              您好,麻烦把请求贴出来哦~

                bluesurfire 青铜   2016-04-27 | 只看该作者
                有赞-云栖 发表于 2016-4-26 19:35
                您好,麻烦把请求贴出来哦~


                你好,请问你到底要什么请求啊,我就是调用的你们java api啊
                kdt.items.inventory.get 获取仓库中的商品列表

                kdt.items.onsale.get 获取出售中的商品列表
                就这两个接口,返回的数据?  怎么贴出来啊,几万个字符呢

                  bluesurfire 青铜   2016-04-27 | 只看该作者
                  实在没搞懂,你到底要我贴什么,返回的数据我按你说的贴出来吧,但是贴不全,提示(您的帖子长度不符合要求,当前长度197691字节,系统限制50000,),主要是你要这个数据 没用啊
                  {"response":{"items":[{"skus":[{"num_iid":196938210,"sku_id":35923332,"sku_unique_code":"19693821035923332","properties_name":"497:2461:\u51c0\u542b\u91cf:500g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2461,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"500g\"}]","with_hold_quantity":0,"price":"7.80","created":"2016-04-11 19:03:40","modified":"2016-04-11 19:03:40","quantity":"1000000","outer_id":"AXSCGC003"}],"num":"1000000","sold_num":8,"price":"7.80","is_listing":true,"order":0,"title":"\u767d\u6d0b\u8471 \u7ea6500g \u3010\u4e70\u4e00\u9001\u4e00\u3011\u9632\u764c\u6297\u764c\uff0c\u523a\u6fc0\u98df\u6b32","origin_price":"","outer_id":"AXSCGC003","created":"2015-12-20 12:45:57"},{"skus":[{"num_iid":196938482,"sku_id":35952350,"sku_unique_code":"19693848235952350","properties_name":"497:2461:\u51c0\u542b\u91cf:500g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2461,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"500g\"}]","with_hold_quantity":0,"price":"7.80","created":"2016-04-11 19:04:09","modified":"2016-04-11 19:04:09","quantity":"999995","outer_id":"AXSCGC004"}],"num":"999995","sold_num":24,"price":"7.80","is_listing":true,"order":0,"title":"\u7ea2\u6d0b\u8471 \u7ea6500g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u6740\u83cc\u6d88\u708e\uff0c\u4fdd\u62a4\u5fc3\u8840\u7ba1","origin_price":"","outer_id":"AXSCGC004","created":"2015-12-20 12:47:34"},{"skus":[{"num_iid":196767107,"sku_id":35928833,"sku_unique_code":"19676710735928833","properties_name":"497:2837:\u51c0\u542b\u91cf:600g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2837,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"600g\"}]","with_hold_quantity":0,"price":"5.80","created":"2016-04-11 17:26:16","modified":"2016-04-11 17:26:16","quantity":"999992","outer_id":"AXSCGenC001"}],"num":"999992","sold_num":34,"price":"5.80","is_listing":true,"order":0,"title":"\u8ff7\u4f60\u7d2b\u85af \u7ea6600g  \u6297\u764c\u98df\u7269\u9996\u9009 \u62a4\u773c\u62a4\u80a4 ","origin_price":"","outer_id":"AXSCGenC001","created":"2015-12-20 12:50:34"},{"skus":[{"num_iid":196768467,"sku_id":35916561,"sku_unique_code":"19676846735916561","properties_name":"497:1426:\u51c0\u542b\u91cf:400g","properties_name_json":"[{\"kid\":\"497\",\"vid\":\"1426\",\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"400g\"}]","with_hold_quantity":0,"price":"5.80","created":"2016-01-06 16:47:59","modified":"2016-01-06 16:47:59","quantity":"999982","outer_id":"AXSCGenC002"}],"num":"999982","sold_num":81,"price":"5.80","is_listing":true,"order":0,"title":"\u80e1\u841d\u535c 400g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u6ecb\u6da6\u808c\u80a4 \u6297\u8870\u8001","origin_price":"","outer_id":"AXSCGenC002","created":"2015-12-20 12:58:40"},{"skus":[{"num_iid":196770645,"sku_id":35931904,"sku_unique_code":"19677064535931904","properties_name":"497:498:\u51c0\u542b\u91cf:250g","properties_name_json":"[{\"kid\":\"497\",\"vid\":498,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"250g\"}]","with_hold_quantity":0,"price":"4.80","created":"2016-04-11 15:17:17","modified":"2016-04-11 15:17:17","quantity":"999997","outer_id":"AXSCGenC003"}],"num":"999997","sold_num":16,"price":"4.80","is_listing":true,"order":0,"title":"\u828b\u4ed4 \u7ea6250g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u53e3\u611f\u7ec6\u8f6f \u7ef5\u751c\u9999\u7cef","origin_price":"","outer_id":"AXSCGenC003","created":"2015-12-20 13:06:58"},{"skus":[{"num_iid":196771319,"sku_id":35912687,"sku_unique_code":"19677131935912687","properties_name":"497:670:\u51c0\u542b\u91cf:200g","properties_name_json":"[{\"kid\":\"497\",\"vid\":\"670\",\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"200g\"}]","with_hold_quantity":0,"price":"9.80","created":"2016-01-06 16:03:47","modified":"2016-01-06 16:03:47","quantity":"999987","outer_id":"AXSCTC001"}],"num":"999987","sold_num":21,"price":"9.80","is_listing":true,"order":0,"title":"\u7eff\u82a6\u7b0b 200g  \u4e70\u4e00\u9001\u4e00  \u9c9c\u5ae9\u5473\u7f8e \u8106\u5ae9\u53ef\u53e3","origin_price":"","outer_id":"AXSCTC001","created":"2015-12-20 13:08:20"},{"skus":[{"num_iid":196772661,"sku_id":35914091,"sku_unique_code":"19677266135914091","properties_name":"497:220:\u51c0\u542b\u91cf:300g","properties_name_json":"[{\"kid\":\"497\",\"vid\":\"220\",\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"300g\"}]","with_hold_quantity":0,"price":"6.80","created":"2016-01-06 16:06:04","modified":"2016-01-06 16:06:04","quantity":"997","outer_id":"AXSCTC015"}],"num":"997","sold_num":3,"price":"6.80","is_listing":true,"order":0,"title":"\u832d\u767d \u7ea6350g F.Q.T.\u8ba4\u8bc1 \u5473\u9053\u9c9c\u7f8e \u5bcc\u542b\u7ef4\u751f\u7d20","origin_price":"","outer_id":"AXSCTC015","created":"2015-12-20 13:15:07"},{"skus":[{"num_iid":196946640,"sku_id":35924392,"sku_unique_code":"19694664035924392","properties_name":"497:2461:\u51c0\u542b\u91cf:500g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2461,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"500g\"}]","with_hold_quantity":0,"price":"5.80","created":"2016-04-11 17:18:02","modified":"2016-04-11 17:18:02","quantity":"999990","outer_id":"AXSCGenC004"}],"num":"999990","sold_num":50,"price":"5.80","is_listing":true,"order":0,"title":"\u7ea2\u85af \u7ea6500g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u62a4\u773c\u536b\u751f \u6e05\u7406\u80a0\u9053","origin_price":"","outer_id":"AXSCGenC004","created":"2015-12-20 13:20:36"},{"skus":[{"num_iid":196947358,"sku_id":35926044,"sku_unique_code":"19694735835926044","properties_name":"497:498:\u51c0\u542b\u91cf:250g","properties_name_json":"[{\"kid\":\"497\",\"vid\":498,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"250g\"}]","with_hold_quantity":0,"price":"9.80","created":"2016-04-11 19:14:51","modified":"2016-04-11 19:14:51","quantity":"999992","outer_id":"AXSCGenC005"}],"num":"999992","sold_num":46,"price":"9.80","is_listing":true,"order":0,"title":"\u94c1\u68cd\u5c71\u836f \u7ea6250g \u3010\u4e70\u4e00\u9001\u4e00\u3011\u76ca\u80ba\u6b62\u54b3 \u5065\u813e\u76ca\u80c3","origin_price":"","outer_id":"AXSCGenC005","created":"2015-12-20 13:22:52"},{"skus":[{"num_iid":196948834,"sku_id":35922634,"sku_unique_code":"19694883435922634","properties_name":"497:2206:\u51c0\u542b\u91cf:450g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2206,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"450g\"}]","with_hold_quantity":0,"price":"6.80","created":"2016-04-11 18:03:40","modified":"2016-04-11 18:03:40","quantity":"999996","outer_id":"AXSCGenC006"}],"num":"999996","sold_num":21,"price":"6.80","is_listing":true,"order":0,"title":"\u897f\u82b9 \u7ea6400g  \u5e73\u809d\u964d\u538b \u5229\u5c3f\u6d88\u80bf","origin_price":"","outer_id":"AXSCGenC006","created":"2015-12-20 13:25:53"},{"skus":[{"num_iid":196950190,"sku_id":35924353,"sku_unique_code":"19695019035924353","properties_name":"497:3650716:\u51c0\u542b\u91cf:\u7ea675g","properties_name_json":"[{\"kid\":\"497\",\"vid\":3650716,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"\\u7ea675g\"}]","with_hold_quantity":0,"price":"3.80","created":"2016-04-11 14:11:30","modified":"2016-04-11 14:11:30","quantity":"999996","outer_id":"AXSCPC008"}],"num":"999996","sold_num":26,"price":"3.80","is_listing":true,"order":0,"title":"\u9999\u83dc \u7ea675g\u3010\u4e70\u4e00\u9001\u4e00\u3011 \u6027\u6e29\u5473\u7518\uff0c\u5065\u80c3\u6d88\u98df","origin_price":"","outer_id":"AXSCPC008","created":"2015-12-20 13:32:18"},{"skus":[{"num_iid":196780441,"sku_id":35927218,"sku_unique_code":"19678044135927218","properties_name":"497:65911:\u51c0\u542b\u91cf:\u7ea6100g","properties_name_json":"[{\"kid\":\"497\",\"vid\":65911,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"\\u7ea6100g\"}]","with_hold_quantity":0,"price":"3.80","created":"2016-04-11 14:52:49","modified":"2016-04-11 14:52:49","quantity":"99997","outer_id":"AXSCPC012"}],"num":"99997","sold_num":20,"price":"3.80","is_listing":true,"order":0,"title":"\u6307\u5929\u6912 100g \u3010\u4e70\u4e00\u9001\u4e00\u3011\u9999\u8fa3\u8bf1\u60d1","origin_price":"","outer_id":"AXSCPC012","created":"2015-12-20 13:36:56"},{"skus":[{"num_iid":196956438,"sku_id":35910040,"sku_unique_code":"19695643835910040","properties_name":"497:220:\u51c0\u542b\u91cf:300g","properties_name_json":"[{\"kid\":\"497\",\"vid\":\"220\",\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"300g\"}]","with_hold_quantity":1,"price":"7.80","created":"2016-01-06 13:41:59","modified":"2016-01-06 13:41:59","quantity":"999982","outer_id":"AXSCYC006"}],"num":"999982","sold_num":64,"price":"7.80","is_listing":true,"order":0,"title":"\u83dc\u5fc3 300g\u3010\u4e70\u4e00\u9001\u4e00\u3011 \u5ef6\u7f13\u8870\u8001 \u964d\u8840\u538b","origin_price":"","outer_id":"AXSCYC006","created":"2015-12-20 14:04:14"},{"skus":[{"num_iid":196957342,"sku_id":35922434,"sku_unique_code":"19695734235922434","properties_name":"497:2500:\u51c0\u542b\u91cf:350g","properties_name_json":"[{\"kid\":\"497\",\"vid\":2500,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"350g\"}]","with_hold_quantity":0,"price":"7.80","created":"2016-04-11 18:18:05","modified":"2016-04-11 18:18:05","quantity":"999999","outer_id":"AXSCYC007"}],"num":"999999","sold_num":21,"price":"7.80","is_listing":true,"order":0,"title":"\u82a5\u5170 \u7ea6300g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u6e05\u6de1\u8106\u723d \u8f6f\u5316\u8840\u7ba1 ","origin_price":"","outer_id":"AXSCYC007","created":"2015-12-20 14:08:16"},{"skus":[{"num_iid":196789945,"sku_id":35930804,"sku_unique_code":"19678994535930804","properties_name":"497:1315928:\u51c0\u542b\u91cf:\u7ea6150g","properties_name_json":"[{\"kid\":\"497\",\"vid\":1315928,\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"\\u7ea6150g\"}]","with_hold_quantity":0,"price":"3.80","created":"2016-04-11 14:16:00","modified":"2016-04-11 14:16:00","quantity":"999990","outer_id":"AXSCTC002"}],"num":"999990","sold_num":28,"price":"3.80","is_listing":true,"order":0,"title":"\u97ed\u83dc \u7ea6150g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u6740\u83cc\u6d88\u708e\uff0c\u4fdd\u62a4\u5fc3\u8840\u7ba1 ","origin_price":"","outer_id":"AXSCTC002","created":"2015-12-20 14:09:35"},{"skus":[{"num_iid":196790719,"sku_id":35914163,"sku_unique_code":"19679071935914163","properties_name":"14:220:\u89c4\u683c:300g","properties_name_json":"[{\"kid\":\"14\",\"vid\":\"220\",\"k\":\"\\u89c4\\u683c\",\"v\":\"300g\"}]","with_hold_quantity":0,"price":"7.80","created":"2016-02-24 21:33:25","modified":"2016-02-24 21:33:25","quantity":"999998","outer_id":"AXSCYC001"}],"num":"999998","sold_num":7,"price":"7.80","is_listing":true,"order":0,"title":"\u82e6\u82e3\uff08\u82b1\u53f6\u751f\u83dc\uff09 300g\u88c5\u3010\u4e70\u4e00\u9001\u4e00\u3011\u8865\u94c1\u8865\u8840\uff0c\u589e\u5f3a\u514d\u75ab\u529b ","origin_price":"","outer_id":"AXSCYC001","created":"2015-12-20 14:10:37"},{"skus":[{"num_iid":196958322,"sku_id":35915895,"sku_unique_code":"19695832235915895","properties_name":"497:220:\u51c0\u542b\u91cf:300g","properties_name_json":"[{\"kid\":\"497\",\"vid\":\"220\",\"k\":\"\\u51c0\\u542b\\u91cf\",\"v\":\"300g\"}]","with_hold_quantity":0,"price":"7.80","created":"2016-01-06 14:24:59","modified":"2016-01-06 14:24:59","quantity":"999992","outer_id":"AXSCYC023"}],"num":"999992","sold_num":13,"price":"7.80","is_listing":true,"order":0,"title":"\u7a7a\u5fc3\u83dc \u7ea6300g\u3010\u4e70\u4e00\u9001\u4e00\u3011\u6392\u6bd2\u517b\u989c \u964d\u4f4e\u8840\u7cd6","origin_price":"","outer_id":"AXSCYC023","created":"2015-12-20 14:13:55"},{"skus":[{"num_iid":196791885,"sku_id":35915391,"sku_unique_code":"19679188535915391","properties_name":"497:220:\u51c0\u542b\u91cf:300g","properties_name_json":"


                    bluesurfire 青铜   2016-04-27 | 只看该作者
                    有没有人回复一下这个问题啊~!

                      有赞-云栖   黄金   2016-04-28 | 只看该作者
                      您好,已经反馈技术GG看了,有结果回复您~

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

                        • 评分

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

                        复制成功