文档中心 > API类目 > 菜鸟无线API

cainiao.guoguo.courier.graborder.queryorderbilldetailinfo (查询小件员端账单详情)

查询小件员端账单详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user_id Number 必须 1 菜鸟小件员id
session_code String 必须 1 sessionCode
order_id Number 必须 1 订单id

响应参数

名称 类型 示例值 描述
status_code String demo 状态编码
data ProcessingOrderInfoDto 结果集
  • └ continued_heavy_price
  • String
  • 1
  • 续重价格
  • └ continued_heavy
  • String
  • 1
  • 续重重量
  • └ goods_continued_price
  • String
  • 1
  • 货物续重价格
  • └ goods_continued_heavy
  • String
  • 1
  • 货物续重
  • └ start_price
  • String
  • 1
  • 首重价格
  • └ start_weight
  • String
  • 1
  • 首重
  • └ order_insured_value
  • String
  • 1
  • 保价费
  • └ goods_weight
  • String
  • 1
  • 重量
  • └ insurance_fee
  • String
  • 1
  • 货物申明价
  • └ adjust_fee
  • String
  • 1
  • 调价
  • └ order_total_price
  • String
  • 1
  • 账单应付价格
  • └ status_desc
  • String
  • 1
  • 状态描述
  • └ status_code
  • String
  • 1
  • 状态编码
  • └ order_status
  • String
  • 1
  • 订单状态
  • └ take_package_spend_time
  • Number
  • 1
  • 取件码
  • └ payment_q_r_code
  • String
  • 1
  • 二维码图片
  • └ receiver_address
  • String
  • 1
  • 收件人地址省份
  • └ sender_address
  • String
  • 1
  • 寄件人地址市
  • └ show_cash_pay
  • Boolean
  • false
  • 是否显示
  • └ goods_width
  • String
  • 200
  • 物品的宽,单位厘米
  • └ goods_length
  • String
  • 300
  • 物品的长,单位厘米
  • └ volume_to_weight_rate_json
  • String
  • {"default":6000}
  • 重量=体积/rate,rate默认6000
  • └ must_bill
  • Boolean
  • true
  • 是否必须核价
  • └ goods_height
  • String
  • 100
  • 物品的高,单位厘米
  • └ cash_pay_tips
  • String
  • 确定客户已现金支付?
  • 现金支付时二次确认内容
  • └ show_edit_bill
  • String
  • 是否展示编辑账单入口
  • showEditBill
is_success Boolean false 是否成功
status_message String demo 状态信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CainiaoGuoguoCourierGraborderQueryorderbilldetailinfoRequest req = new CainiaoGuoguoCourierGraborderQueryorderbilldetailinfoRequest();
req.setUserId(1L);
req.setSessionCode("1");
req.setOrderId(1L);
CainiaoGuoguoCourierGraborderQueryorderbilldetailinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<cainiao_guoguo_courier_graborder_queryorderbilldetailinfo_response>
    <status_code>demo</status_code>
    <data>
        <continued_heavy_price>1</continued_heavy_price>
        <continued_heavy>1</continued_heavy>
        <goods_continued_price>1</goods_continued_price>
        <goods_continued_heavy>1</goods_continued_heavy>
        <start_price>1</start_price>
        <start_weight>1</start_weight>
        <order_insured_value>1</order_insured_value>
        <goods_weight>1</goods_weight>
        <insurance_fee>1</insurance_fee>
        <adjust_fee>1</adjust_fee>
        <order_total_price>1</order_total_price>
        <status_desc>1</status_desc>
        <status_code>1</status_code>
        <order_status>1</order_status>
        <take_package_spend_time>1</take_package_spend_time>
        <payment_q_r_code>1</payment_q_r_code>
        <receiver_address>1</receiver_address>
        <sender_address>1</sender_address>
        <show_cash_pay>false</show_cash_pay>
        <goods_width>200</goods_width>
        <goods_length>300</goods_length>
        <volume_to_weight_rate_json>{&quot;default&quot;:6000}</volume_to_weight_rate_json>
        <must_bill>true</must_bill>
        <goods_height>100</goods_height>
        <cash_pay_tips>确定客户已现金支付?</cash_pay_tips>
        <show_edit_bill>是否展示编辑账单入口</show_edit_bill>
    </data>
    <is_success>false</is_success>
    <status_message>demo</status_message>
</cainiao_guoguo_courier_graborder_queryorderbilldetailinfo_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

返回
顶部