文档中心 > API类目 > 五道口API

taobao.wdk.wmsgateway.layer.get (电子价签获取陈列信息)

门店电子价签获取商品摆放陈列信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
item_codes String [] 必须 010100100258,010100208153
  • 最大列表长度:1000
  • 商品CODE数组
    warehouse_code String 必须 33571001 仓库CODE

    响应参数

    名称 类型 示例值 描述
    singleresult SingleResultDo singleresult 返回的对象体
    • results
    • ExhibitInfoDto []
    • results
    • 具体商品对象列表
    • └ item_code
    • String
    • 010100208153
    • 商品CODE
    • └ warehouse_code
    • String
    • 33571001
    • 仓库CODE
    • └ floor_no
    • String
    • 12
    • 层号
    • └ position_no
    • String
    • 3
    • 位置号
    • └ x
    • Number
    • 12
    • 货位X面值
    • └ y
    • Number
    • 10
    • 货位Y面值
    • └ z
    • Number
    • 2
    • 货位Z面值
    • └ capacity
    • Number
    • 240
    • 陈列量
    • └ shelf
    • String
    • 1
    • 货架
    • └ cabinet_code
    • String
    • AP12001
    • 货位
    • └ totel_num
    • Number
    • 2
    • 返回的记录数
    • └ success
    • Boolean
    • true
    • success

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    WdkWmsgatewayLayerGetRequest req = new WdkWmsgatewayLayerGetRequest();
    req.setItemCodes("010100100258,010100208153");
    req.setWarehouseCode("33571001");
    WdkWmsgatewayLayerGetResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <wdk_wmsgateway_layer_get_response>
        <singleresult>
            <results>
                <exhibit_info_dto>
                    <item_code>010100208153</item_code>
                    <warehouse_code>33571001</warehouse_code>
                    <floor_no>12</floor_no>
                    <position_no>3</position_no>
                    <x>12</x>
                    <y>10</y>
                    <z>2</z>
                    <capacity>240</capacity>
                    <shelf>1</shelf>
                    <cabinet_code>AP12001</cabinet_code>
                </exhibit_info_dto>
            </results>
            <totel_num>2</totel_num>
            <success>true</success>
        </singleresult>
    </wdk_wmsgateway_layer_get_response>

    异常示例

    • XML示例
    • JSON示例
    <error_response>
        <code>50</code>
        <msg>Remote service error</msg>
        <sub_code>isv.invalid-parameter</sub_code>
        <sub_msg>非法参数</sub_msg>
    </error_response>

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部