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

alibaba.rex.skyeye.shelf.layout.query (查询门店前场货架完整陈列数据)

查询门店前场货架完整陈列数据

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
shop_code String 必须 8028 门店编码
merchant_code String 必须 HM 商家编码
cabinet_code String 必须 AC00004 库位编码

响应参数

名称 类型 示例值 描述
result Result result
  • data
  • RexShelfDisplayResponseDTO
  • data
  • shelf_sku_detail_list
  • ShelfSkuDetailList []
  • 货架商品陈列详情列表
  • └ z_face_num
  • Number
  • 1
  • z面陈列量
  • └ layer_num
  • Number
  • 1
  • 层号
  • └ sku_name
  • String
  • 安格斯谷饲菲力牛排 120g
  • 商品名称
  • └ pic_url
  • String
  • https://img.alicdn.com/imgextra/i2/263685747/O1CN012ICNLI1sKBJXR0GWo_!!263685747.jpg
  • 图片URL
  • └ depth
  • String
  • 7
  • 深度
  • └ side_cap_x
  • String
  • 1
  • 侧挂X
  • └ hole_num
  • Number
  • 1
  • 孔号
  • └ x_face_num
  • Number
  • 1
  • x面陈列量
  • └ width
  • String
  • 22
  • 宽度
  • └ display_num
  • Number
  • 0
  • 陈列总量
  • └ stack_cap_y
  • String
  • 10
  • 堆叠Y
  • └ location_num
  • Number
  • 1
  • 位置号
  • └ y_face_num
  • Number
  • 1
  • y面陈列量
  • └ sku_code
  • String
  • 444574025
  • 商品编码
  • └ height
  • String
  • 16
  • 高度
  • shelf_detail_info
  • RexShelfDetailInfoDTO
  • 货架详情信息
  • └ shelf_code
  • String
  • LF4-B2
  • 货架编码
  • └ depth
  • String
  • 35
  • 深度
  • └ is_mirror
  • Boolean
  • false
  • 是否镜像
  • └ width
  • String
  • 200
  • 宽度
  • └ display_unit_code
  • String
  • WLD0006
  • 陈列单元编码
  • └ hole_distance
  • String
  • 5
  • 孔距
  • └ planogram_name
  • String
  • 12345
  • 陈列图名称
  • └ manage_shelf_code
  • Number
  • 3
  • 管理货架编码
  • └ device_code
  • String
  • 24
  • 设备编码
  • └ is_horizontal
  • Boolean
  • true
  • 是否水平
  • └ height
  • String
  • 60
  • 高度
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ msg_info
  • String
  • 入参错误
  • 错误信息
  • └ msg_code
  • String
  • PARAM_ERROR
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaRexSkyeyeShelfLayoutQueryRequest req = new AlibabaRexSkyeyeShelfLayoutQueryRequest();
req.setShopCode("8028");
req.setMerchantCode("HM");
req.setCabinetCode("AC00004");
AlibabaRexSkyeyeShelfLayoutQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_rex_skyeye_shelf_layout_query_response>
    <result>
        <data>
            <shelf_sku_detail_list>
                <shelf_sku_detail_list>
                    <z_face_num>1</z_face_num>
                    <layer_num>1</layer_num>
                    <sku_name>安格斯谷饲菲力牛排  120g</sku_name>
                    <pic_url>https://img.alicdn.com/imgextra/i2/263685747/O1CN012ICNLI1sKBJXR0GWo_!!263685747.jpg</pic_url>
                    <depth>7</depth>
                    <side_cap_x>1</side_cap_x>
                    <hole_num>1</hole_num>
                    <x_face_num>1</x_face_num>
                    <width>22</width>
                    <display_num>0</display_num>
                    <stack_cap_y>10</stack_cap_y>
                    <location_num>1</location_num>
                    <y_face_num>1</y_face_num>
                    <sku_code>444574025</sku_code>
                    <height>16</height>
                </shelf_sku_detail_list>
            </shelf_sku_detail_list>
            <shelf_detail_info>
                <shelf_code>LF4-B2</shelf_code>
                <depth>35</depth>
                <is_mirror>false</is_mirror>
                <width>200</width>
                <display_unit_code>WLD0006</display_unit_code>
                <hole_distance>5</hole_distance>
                <planogram_name>12345</planogram_name>
                <manage_shelf_code>3</manage_shelf_code>
                <device_code>24</device_code>
                <is_horizontal>true</is_horizontal>
                <height>60</height>
            </shelf_detail_info>
        </data>
        <success>true</success>
        <msg_info>入参错误</msg_info>
        <msg_code>PARAM_ERROR</msg_code>
    </result>
</alibaba_rex_skyeye_shelf_layout_query_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

返回
顶部