注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 天猫汽车

tmall.aliauto.receipt.order.check (查看工单查询订单是否已付款)

查看工单查询订单是否已付款

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
outer_shop_id String 可选 AM123456 服务商自定义门店编码
receipt_id Number 可选 1234 工单号

响应参数

名称 类型 示例值 描述
data CheckReceiptOrderIsPaid4IsvDto true 返回的数据实体
  • └ outer_shop_id
  • String
  • AM123455
  • 门店自定义编码
  • paid_order_items
  • OrderItem4IsvDto []
  • └ actual_total_fee
  • String
  • 12.34
  • 实际支付金额
  • └ extension
  • String
  • 扩展属性
  • └ in_guarantee
  • Boolean
  • true
  • 是否在三包期内
  • └ item_head_img
  • String
  • http://www.a.com
  • 商品头图
  • └ item_id
  • Number
  • 123
  • 商品id
  • └ item_name
  • String
  • 安装服务商品
  • 商品名称
  • └ total_fee
  • String
  • 订单商品原价
  • └ receipt_id
  • Number
  • 1234
  • 工单id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallAliautoReceiptOrderCheckRequest req = new TmallAliautoReceiptOrderCheckRequest();
req.setOuterShopId("AM123456");
req.setReceiptId(1234L);
TmallAliautoReceiptOrderCheckResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_aliauto_receipt_order_check_response>
    <data>
        <outer_shop_id>AM123455</outer_shop_id>
        <paid_order_items>
            <order_item4_isv_dto>
                <actual_total_fee>12.34</actual_total_fee>
                <extension></extension>
                <in_guarantee>true</in_guarantee>
                <item_head_img>http://www.a.com</item_head_img>
                <item_id>123</item_id>
                <item_name>安装服务商品</item_name>
                <total_fee></total_fee>
            </order_item4_isv_dto>
        </paid_order_items>
        <receipt_id>1234</receipt_id>
    </data>
</tmall_aliauto_receipt_order_check_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

返回
顶部