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

taobao.wdk.ums.btoc.inbound.onshelf (大仓上架单下发)

大仓上架单下发

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
warehouse_code String 可选 warehouseCode warehouseCode

响应参数

名称 类型 示例值 描述
result UtmsResult 11 result
  • └ code
  • String
  • 11
  • code
  • list
  • UmsStockInOrder []
  • 11
  • list
  • └ attributes
  • String
  • 11
  • attributes
  • └ container_code
  • String
  • 11
  • containerCode
  • └ stock_in_order_code
  • String
  • 11
  • stockInOrderCode
  • └ stock_in_time
  • Date
  • 11
  • stockInTime
  • └ stock_in_type
  • Number
  • 1
  • stockInType
  • sub_orders
  • UmsSubStockInOrder []
  • 11
  • subOrders
  • └ attributes
  • String
  • 11
  • attributes
  • └ inventory_batch
  • String
  • 11
  • inventoryBatch
  • └ item_code
  • String
  • 11
  • itemCode
  • └ should_stock_in_num
  • String
  • 1
  • shouldStockInNum
  • └ uuid
  • String
  • uuid
  • uuid
  • └ owner_code
  • String
  • ownerCode
  • ownerCode
  • └ model
  • String
  • 11
  • model
  • └ msg
  • String
  • 11
  • msg
  • └ success
  • Boolean
  • 11
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkUmsBtocInboundOnshelfRequest req = new WdkUmsBtocInboundOnshelfRequest();
req.setWarehouseCode("warehouseCode");
WdkUmsBtocInboundOnshelfResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_ums_btoc_inbound_onshelf_response>
    <result>
        <code>11</code>
        <list>
            <ums_stock_in_order>
                <attributes>11</attributes>
                <container_code>11</container_code>
                <stock_in_order_code>11</stock_in_order_code>
                <stock_in_time>11</stock_in_time>
                <stock_in_type>1</stock_in_type>
                <sub_orders>
                    <ums_sub_stock_in_order>
                        <attributes>11</attributes>
                        <inventory_batch>11</inventory_batch>
                        <item_code>11</item_code>
                        <should_stock_in_num>1</should_stock_in_num>
                    </ums_sub_stock_in_order>
                </sub_orders>
                <uuid>uuid</uuid>
                <owner_code>ownerCode</owner_code>
            </ums_stock_in_order>
        </list>
        <model>11</model>
        <msg>11</msg>
        <success>11</success>
    </result>
</wdk_ums_btoc_inbound_onshelf_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

返回
顶部