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

alibaba.wdk.wholesale.inboundorder.commit (盒马帮退货信息回传接口)

盒马帮退货信息回传接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
inbound_info_commit_req InboundInfoCommitReq 必须 退货信息参数
  • inbound_item_infos
  • InboundItemInfo []
  • 必须
  • 入库商品明细
  • └ inbound_quantity
  • String
  • 必须
  • 2
  • 收货数量
  • └ sku_code
  • String
  • 必须
  • 123456789
  • 商品编码
  • └ inbound_order_no
  • String
  • 必须
  • 11111111111
  • 收货入库单号
  • └ received_time
  • Date
  • 必须
  • 2018-04-08 13:26:18
  • 收货时间
  • └ return_order_no
  • String
  • 必须
  • 1234566666
  • 采购退货单单号
  • └ merchant_code
  • String
  • 必须
  • DUXXX
  • 商家编码

响应参数

名称 类型 示例值 描述
result ApiResult result
  • └ err_msg
  • String
  • xx异常
  • errMsg
  • └ err_code
  • String
  • 1
  • errCode
  • └ success
  • Boolean
  • false
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaWdkWholesaleInboundorderCommitRequest req = new AlibabaWdkWholesaleInboundorderCommitRequest();
AlibabaWdkWholesaleInboundorderCommitRequest.InboundInfoCommitReq obj1 = new AlibabaWdkWholesaleInboundorderCommitRequest.InboundInfoCommitReq();
List<AlibabaWdkWholesaleInboundorderCommitRequest.InboundItemInfo> list3 = new ArrayList<AlibabaWdkWholesaleInboundorderCommitRequest.InboundItemInfo>();
AlibabaWdkWholesaleInboundorderCommitRequest.InboundItemInfo obj4 = new AlibabaWdkWholesaleInboundorderCommitRequest.InboundItemInfo();
list3.add(obj4);
obj4.setInboundQuantity("2");
obj4.setSkuCode("123456789");
obj1.setInboundItemInfos(list3);
obj1.setInboundOrderNo("11111111111");
obj1.setReceivedTime(StringUtils.parseDateTime("2018-04-08 13:26:18"));
obj1.setReturnOrderNo("1234566666");
obj1.setMerchantCode("DUXXX");
req.setInboundInfoCommitReq(obj1);
AlibabaWdkWholesaleInboundorderCommitResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_wdk_wholesale_inboundorder_commit_response>
    <result>
        <err_msg>xx异常</err_msg>
        <err_code>1</err_code>
        <success>false</success>
    </result>
</alibaba_wdk_wholesale_inboundorder_commit_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

返回
顶部