您的位置 : 文档中心 -> API信息

com.alibaba.trade:alibaba.trade.get.sellerView-1
订单详情查看(卖家视角) 免费

获取单个交易明细信息,仅限卖家调用

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
webSite String 站点信息,指定调用的API是属于国际站(alibaba)还是1688网站(1688)
orderId Long 交易的订单id 123456
includeFields java.lang.String 查询结果中包含的域,GuaranteesTerms:保障条款,NativeLogistics:物流信息,RateDetail:评价详情,OrderInvoice:发票信息。默认返回GuaranteesTerms、NativeLogistics、OrderInvoice。 GuaranteesTerms,NativeLogistics,RateDetail,OrderInvoice GuaranteesTerms,NativeLogistics,OrderInvoice

返回结果

名称 类型 是否必须 描述 示例值
+ result alibaba.openplatform.trade.model.TradeInfo 返回结果
errorCode String 错误码
errorMessage String 错误信息

返回结果

订单详情出参示例

  {
    "result": {
        "baseInfo": {
            "allDeliveredTime": "20170913231916000-0700",
            "businessType": "cn",
            "buyerID": "b2b-2248544159",
            "createTime": "20170913231708000-0700",
            "id": 58218860983545944,
            "modifyTime": "20170913234725000-0700",
            "payTime": "20170913231727000-0700",
            "refund": 0,
            "sellerID": "b2b-2248564064",
            "shippingFee": 6,
            "status": "waitbuyerreceive",
            "totalAmount": 6.15,
            "discount": 0,
            "buyerContact": {
                "phone": "86-0571-81895955",
                "imInPlatform": "b测试账号002",
                "name": "乔的石",
                "mobile": "18668184036",
                "companyName": "阿里巴巴网络科技有限公司"
            },
            "sellerContact": {
                "phone": "86-0571-88881888",
                "email": "caigouwfw_1688@163.com",
                "imInPlatform": "b测试账号110",
                "name": "孟舒",
                "mobile": "13312919596",
                "companyName": "阿里巴巴网络有限公司"
            },
            "tradeType": "50060",
            "refundStatus": "waitselleragree",
            "refundPayment": 0,
            "idOfStr": "58218860983545941",
            "alipayTradeId": "2017091421001008480237437679",
            "receiverInfo": {
                "toFullName": "童恩杰",
                "toDivisionCode": "330108",
                "toPost": "312000",
                "toTownCode": "330108002",
                "toArea": "浙江省 杭州市 滨江区 长河街道"
            },
            "buyerLoginId": "b测试账号002",
            "sellerLoginId": "b测试账号110",
            "buyerUserId": 2248544159,
            "sellerUserId": 2248564064,
            "buyerAlipayId": "2088611489970483",
            "sellerAlipayId": "2088611383470360",
            "sumProductPayment": 0.3,
            "stepPayAll": false
        },
        "nativeLogistics": {
            "address": "杭州市滨江区网商路699号",
            "area": "滨江区",
            "areaCode": "330108",
            "city": "杭州市",
            "contactPerson": "童恩杰",
            "mobile": "13666836263",
            "province": "浙江省",
            "zip": "312000",
            "logisticsItems": [
                {
                    "deliveredTime": "20170913231917000-0700",
                    "logisticsCode": "BX107450035961376",
                    "type": "2",
                    "id": 107450035961376,
                    "status": "alreadysend",
                    "gmtModified": "20170913231916000-0700",
                    "gmtCreate": "20170913231916000-0700",
                    "fromPhone": "86-0571-88881888",
                    "fromMobile": "13312919596",
                    "logisticsBillNo": "不需要物流",
                    "subItemIds": "58218860984545941,58218860985545941,58218860986545941"
                }
            ],
            "townCode": "330108002",
            "town": "长河街道"
        },
        "productItems": [
            {
                "itemAmount": 0.05,
                "name": "这个一个很好看好看的鞋子用于服务测试(大家不要动)",
                "price": 0.1,
                "productID": 558700975520,
                "productImgUrl": [],
                "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=58218860984545941",
                "quantity": 1,
                "refund": 0,
                "skuID": 3638916762845,
                "status": "waitbuyerreceive",
                "subItemID": 58218860984545944,
                "type": "common",
                "unit": "双",
                "guaranteesTerms": [],
                "skuInfos": [
                    {
                        "name": "颜色",
                        "value": "白色"
                    },
                    {
                        "name": "尺码",
                        "value": "42"
                    }
                ],
                "entryDiscount": 0,
                "specId": "56b5771a6073ac50c9b770fba594ebec",
                "quantityFactor": 1,
                "statusStr": "等待买家收货",
                "refundStatus": "WAIT_SELLER_AGREE",
                "logisticsStatus": 2
            },
            {
                "itemAmount": 0.05,
                "name": "这个一个很好看好看的鞋子用于服务测试(大家不要动)",
                "price": 0.1,
                "productID": 558700975520,
                "productImgUrl": [],
                "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=58218860985545941",
                "quantity": 1,
                "refund": 0,
                "skuID": 3638916762844,
                "status": "waitbuyerreceive",
                "subItemID": 58218860985545944,
                "type": "common",
                "unit": "双",
                "guaranteesTerms": [],
                "skuInfos": [
                    {
                        "name": "颜色",
                        "value": "白色"
                    },
                    {
                        "name": "尺码",
                        "value": "38"
                    }
                ],
                "entryDiscount": 0,
                "specId": "6ff6071792c8ab520b9b867c61b990bd",
                "quantityFactor": 1,
                "statusStr": "等待买家收货",
                "refundStatus": "WAIT_SELLER_AGREE",
                "logisticsStatus": 2
            },
            {
                "itemAmount": 0.05,
                "name": "这个一个很好看好看的鞋子用于服务测试(大家不要动)",
                "price": 0.1,
                "productID": 558700975520,
                "productImgUrl": [],
                "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=58218860986545941",
                "quantity": 1,
                "refund": 0,
                "skuID": 3638916762843,
                "status": "waitbuyerreceive",
                "subItemID": 58218860986545944,
                "type": "common",
                "unit": "双",
                "guaranteesTerms": [],
                "skuInfos": [
                    {
                        "name": "颜色",
                        "value": "白色"
                    },
                    {
                        "name": "尺码",
                        "value": "34"
                    }
                ],
                "entryDiscount": 0,
                "specId": "8ecd5cb401df85d3f2485eb120f670df",
                "quantityFactor": 1,
                "statusStr": "等待买家收货",
                "refundStatus": "WAIT_SELLER_AGREE",
                "logisticsStatus": 2
            }
        ],
        "tradeTerms": [
            {
                "payStatus": "2",
                "payTime": "20170913231727000-0700",
                "payWay": "1",
                "phasAmount": 6.15,
                "phase": 655062941545941
            }
        ],
        "extAttributes": [],
        "orderRateInfo": {
            "buyerRateStatus": 5,
            "sellerRateStatus": 5
        }
    }
} 

API工具