文档中心 > API类目 > 菜鸟集货API

cainiao.global.im.pickup.bigbag.content.cancel (进口大包取消)

进口大包取消

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
bigbag_cancel_request BigbagCancelRequest 必须 大包取消请求参数
  • └ seller_id
  • Number
  • 必须
  • 3
  • 商家id
  • └ bigbag_id
  • Number
  • 必须
  • 3
  • 大包id

响应参数

名称 类型 示例值 描述
hsf_result HsfResult 响应体
  • └ success
  • Boolean
  • false
  • 响应是否成功
  • └ error_code
  • String
  • xxxxx
  • 异常码
  • └ internal_error_code
  • String
  • xxxxx
  • 网略异常码
  • └ error_msg
  • String
  • xxxxx
  • 异常提示
  • bigbag_cancel_response
  • BigbagCancelResponse
  • 响应业务对象
  • └ cancel_flag
  • Boolean
  • false
  • 取消是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoGlobalImPickupBigbagContentCancelRequest req = new CainiaoGlobalImPickupBigbagContentCancelRequest();
CainiaoGlobalImPickupBigbagContentCancelRequest.BigbagCancelRequest obj1 = new CainiaoGlobalImPickupBigbagContentCancelRequest.BigbagCancelRequest();
obj1.setSellerId(3L);
obj1.setBigbagId(3L);
req.setBigbagCancelRequest(obj1);
CainiaoGlobalImPickupBigbagContentCancelResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_global_im_pickup_bigbag_content_cancel_response>
    <hsf_result>
        <success>false</success>
        <error_code>xxxxx</error_code>
        <internal_error_code>xxxxx</internal_error_code>
        <error_msg>xxxxx</error_msg>
        <bigbag_cancel_response>
            <cancel_flag>false</cancel_flag>
        </bigbag_cancel_response>
    </hsf_result>
</cainiao_global_im_pickup_bigbag_content_cancel_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

返回
顶部