文档中心 > API类目 > 淘宝服饰

taobao.cloth.inbound.get (淘宝服饰平台仓入库单获取)

淘宝服饰平台仓入库单获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
req InboundMainOrderQueryTopReq 必须 请求体
  • └ inbound_main_order_no
  • String
  • 必须
  • IN202501170001
  • 入库单单号

响应参数

名称 类型 示例值 描述
result TResult 返回值
  • data
  • Data
  • 业务数据
  • delivery_details
  • DeliveryDetails []
  • 发货单列表
  • └ delivery_company_name
  • String
  • 顺丰
  • 寄送公司名称
  • └ delivery_company_code
  • String
  • SF
  • 寄送公司编号
  • └ delivery_channel
  • String
  • EXPRESS
  • 寄送渠道
  • └ delivery_number
  • String
  • SF1030419570000
  • 寄送快递编号
  • sub_orders
  • InboundSubOrderTopDTO []
  • 子单列表
  • └ inbound_quantity_actual
  • Number
  • 8
  • 实际入库正品数量
  • └ goods_id
  • Number
  • 1
  • 货品id
  • └ goods_pict_url
  • String
  • https://img.alicdn.com/imgextra/i1/2207686705876/O1CN01XzF7fu1tHGMeWOVjb_!!2207686705876.jpg
  • 货品主图url
  • └ inbound_quantity_confirmed
  • Number
  • 10
  • 商家确认发货数量
  • └ goods_size_name
  • String
  • L
  • 货品尺码名称
  • └ owner_id
  • String
  • 1
  • 货主id
  • └ putaway_quantity_actual
  • Number
  • 8
  • 实际上架数量
  • └ goods_color_name
  • String
  • 黑色
  • 货品颜色
  • └ inbound_quantity_defective
  • Number
  • 2
  • 实际入库残品数量
  • └ inbound_sub_order_id
  • String
  • 1
  • 子单单号
  • └ goods_name
  • String
  • 春季冲锋衣
  • 货品名称
  • └ goods_barcode
  • String
  • 8000000001
  • 货品条码
  • └ inbound_main_order_no
  • String
  • IN202501170001
  • 入库单单号
  • └ warehouse_code
  • String
  • F88_GZ001_TEST
  • 仓库编码
  • └ success
  • Boolean
  • true
  • 调用是否成功
  • └ error_message
  • String
  • 授权异常
  • 错误信息
  • └ error_code
  • String
  • 401
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
ClothInboundGetRequest req = new ClothInboundGetRequest();
ClothInboundGetRequest.InboundMainOrderQueryTopReq obj1 = new ClothInboundGetRequest.InboundMainOrderQueryTopReq();
obj1.setInboundMainOrderNo("IN202501170001");
req.setReq(obj1);
ClothInboundGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cloth_inbound_get_response>
    <result>
        <data>
            <delivery_details>
                <delivery_details>
                    <delivery_company_name>顺丰</delivery_company_name>
                    <delivery_company_code>SF</delivery_company_code>
                    <delivery_channel>EXPRESS</delivery_channel>
                    <delivery_number>SF1030419570000</delivery_number>
                </delivery_details>
            </delivery_details>
            <sub_orders>
                <inbound_sub_order_top_d_t_o>
                    <inbound_quantity_actual>8</inbound_quantity_actual>
                    <goods_id>1</goods_id>
                    <goods_pict_url>https://img.alicdn.com/imgextra/i1/2207686705876/O1CN01XzF7fu1tHGMeWOVjb_!!2207686705876.jpg</goods_pict_url>
                    <inbound_quantity_confirmed>10</inbound_quantity_confirmed>
                    <goods_size_name>L</goods_size_name>
                    <owner_id>1</owner_id>
                    <putaway_quantity_actual>8</putaway_quantity_actual>
                    <goods_color_name>黑色</goods_color_name>
                    <inbound_quantity_defective>2</inbound_quantity_defective>
                    <inbound_sub_order_id>1</inbound_sub_order_id>
                    <goods_name>春季冲锋衣</goods_name>
                    <goods_barcode>8000000001</goods_barcode>
                </inbound_sub_order_top_d_t_o>
            </sub_orders>
            <inbound_main_order_no>IN202501170001</inbound_main_order_no>
            <warehouse_code>F88_GZ001_TEST</warehouse_code>
        </data>
        <success>true</success>
        <error_message>授权异常</error_message>
        <error_code>401</error_code>
    </result>
</cloth_inbound_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

返回
顶部