文档中心 > API类目 > 阿里健康API

alibaba.alihealth.brand.wms.outbound.query (阿里健康-品牌-自营-供应链-仓内作业-出库作业-出库明细)

阿里健康-品牌-自营-供应链-仓内作业-出库作业-出库明细

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param BrandOrderExternalReq 必须 系统自动生成
  • └ page_num
  • Number
  • 必须
  • 1
  • 页号
  • └ page_size
  • Number
  • 必须
  • 20
  • 页大小
  • └ brand_ids
  • String []
  • 必须
  • ["123","234"]
  • 品牌id列表
  • └ start_date
  • String
  • 必须
  • 20240701
  • 开始时间
  • └ end_date
  • String
  • 必须
  • 20240701
  • 结束时间
  • └ item_ids
  • String []
  • 可选
  • ["123","234"]
  • 货品id列表

响应参数

名称 类型 示例值 描述
result PagedResult 返回的分页信息
  • data_list
  • BrandWmsOutboundDfRes []
  • 数据列表
  • └ outbound_date
  • String
  • 2022-10-10
  • 出库时间
  • └ outbound_type
  • String
  • 2B销售
  • 出库类型
  • └ store_name
  • String
  • 华南仓
  • 出库仓库
  • └ custom_name
  • String
  • 收货对象
  • └ sc_item_id
  • String
  • 9892384009
  • 货品ID
  • └ basic_unit
  • String
  • 1
  • 单位
  • └ outbound_qty
  • Number
  • 100
  • 出库数量
  • └ lot_no
  • String
  • 123432423
  • 出库批号
  • └ produce_date
  • String
  • 2022-10-10
  • 生产日期
  • └ expiry_date
  • String
  • 2022-10-10
  • 有效期至
  • └ bar_code
  • String
  • SN1111111
  • 货品条码
  • └ sc_item_name
  • String
  • 999
  • 货品名称
  • └ spec
  • String
  • spec
  • 货品规格
  • └ brand_id
  • String
  • 999
  • 品牌ID
  • └ brand_name
  • String
  • 999
  • 品牌名称
  • └ manufacturer
  • String
  • 999
  • 生产厂家
  • └ purchase_ou
  • String
  • test
  • 业务主体
  • └ org_price
  • String
  • 20
  • 销售原价
  • └ error_message
  • String
  • error
  • 错误信息
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ total_count
  • Number
  • 12
  • 总条数
  • └ page_index
  • Number
  • 1
  • 页号
  • └ total_page
  • Number
  • 1
  • 总页数
  • └ error_code
  • String
  • 500
  • 错误码
  • └ current_page
  • Number
  • 1
  • 当前页号
  • └ page_size
  • Number
  • 20
  • 每页显示的条数
  • └ error_detail_msg
  • String
  • error msg
  • 详细错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthBrandWmsOutboundQueryRequest req = new AlibabaAlihealthBrandWmsOutboundQueryRequest();
AlibabaAlihealthBrandWmsOutboundQueryRequest.BrandOrderExternalReq obj1 = new AlibabaAlihealthBrandWmsOutboundQueryRequest.BrandOrderExternalReq();
obj1.setPageNum(1L);
obj1.setPageSize(20L);
obj1.setBrandIds(""123","234"");
obj1.setStartDate("20240701");
obj1.setEndDate("20240701");
obj1.setItemIds(""123","234"");
req.setParam(obj1);
AlibabaAlihealthBrandWmsOutboundQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_brand_wms_outbound_query_response>
    <result>
        <data_list>
            <brand_wms_outbound_df_res>
                <outbound_date>2022-10-10</outbound_date>
                <outbound_type>2B销售</outbound_type>
                <store_name>华南仓</store_name>
                <custom_name>空</custom_name>
                <sc_item_id>9892384009</sc_item_id>
                <basic_unit>1</basic_unit>
                <outbound_qty>100</outbound_qty>
                <lot_no>123432423</lot_no>
                <produce_date>2022-10-10</produce_date>
                <expiry_date>2022-10-10</expiry_date>
                <bar_code>SN1111111</bar_code>
                <sc_item_name>999</sc_item_name>
                <spec>spec</spec>
                <brand_id>999</brand_id>
                <brand_name>999</brand_name>
                <manufacturer>999</manufacturer>
                <purchase_ou>test</purchase_ou>
                <org_price>20</org_price>
            </brand_wms_outbound_df_res>
        </data_list>
        <error_message>error</error_message>
        <success>true</success>
        <total_count>12</total_count>
        <page_index>1</page_index>
        <total_page>1</total_page>
        <error_code>500</error_code>
        <current_page>1</current_page>
        <page_size>20</page_size>
        <error_detail_msg>error msg</error_detail_msg>
    </result>
</alibaba_alihealth_brand_wms_outbound_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

返回
顶部