首页API 服务采购服务解决方案接口文档接口演示
首页API 服务采购服务解决方案接口文档接口演示
中文
|
EN
  1. 1688 订单管理
  • API 签名集成
    • PHP 版本
    • JAVA 版本
    • Golang 版本
  • 1688开放平台 API
    • 1688 商品搜索
      • 相似商品以图搜图 API
        • 图片上传 API
        • 相似商品以图搜图 API
      • 商品关键词搜索 API
      • 商品详情查询 API
      • 店铺内商品搜索 API
      • 1688 推荐商品 API
    • 1688 商机
      • 1688 热销商品 API
      • 1688 热搜关键词 API
    • 1688 物流
      • 中国国内运费 API
      • 物流公司列表 API
    • 1688 类目
      • 1688 类目搜索 API
    • 1688 订单管理
      • 创建预览订单 API
        POST
      • 创建正式订单 API
        POST
      • 取消正式订单 API
        POST
      • 订单详情查询 API
        POST
      • 确认收货 API
        POST
      • 获取支付链接 API
        GET
      • 订单自动支付 API
        POST
    • 1688 工具
      • Openuid 查询 API
      • 获取旺旺聊天链接 API
    • 1688 退款订单管理
      • 退款单查询 API
        • 按订单 ID 查询详情
        • 按退款单 ID 查询详情
      • 退款退货原因查询 API
      • 商家退货地址查询 API
      • 最大可退金额查询 API
      • 提交退款申请 API
      • 提交退货物流信息 API
    • 1688 消息服务
      • 回调消息签名校验规范
      • 订单创建消息
      • 订单价格修改消息
      • 交易付款消息
      • 订单发货消息
      • 物流状态变更消息
      • 订单确认收货消息
      • 交易完成消息
  • 淘宝开放平台 API
    • 淘宝商品搜索
      • 相似商品以图搜图 API
        • 图片上传 API
        • 相似商品以图搜图 API
      • 商品关键词搜索 API
      • 商品详情查询 API
      • 店铺内商品搜索 API
    • 淘宝物流
      • 中国国内运费 API
    • 淘宝订单管理
      • 商品撞库API
      • 创建预览订单 API
      • 创建正式订单 API
      • 取消正式订单 API
      • 订单详情查询 API
      • 订单自动支付 API
    • 淘宝消息服务
      • 回调消息签名校验规范
      • 订单状态更新消息
      • 订单价格变更消息
  • 得物开放平台 API
    • 得物商品搜索
      • 商品搜索 API
      • SKU 价格批量查询 API
    • 得物订单管理
      • 创建订单并支付订单 API
      • 取消正式订单 API
      • 订单详情查询 API
      • 查询物流轨迹信息
    • 得物余额查询 API
      • 得物余额查询 API
  1. 1688 订单管理

订单详情查询 API

POST
/alibaba/trade/get/buyerView
该 API 用于获取单笔交易的详细信息.

请求参数

Body 参数application/json

示例

返回响应

🟢200成功
application/json
Bodyapplication/json

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/alibaba/trade/get/buyerView' \
--header 'Content-Type: application/json' \
--data '{
  "appKey": "",
  "appSecret": "",
  "webSite": "1688",
  "orderId": "3313431519073015669"
}'
响应示例响应示例
{
    "code": 200,
    "message": "操作成功",
    "data": {
        "guaranteesTerms": null,
        "internationalLogistics": null,
        "nativeLogistics": {
            "address": "网商路699号",
            "area": "滨江区",
            "city": "杭州市",
            "contactPerson": "张三",
            "fax": null,
            "mobile": "12345678901",
            "province": "浙江省",
            "telephone": "12345678901",
            "zip": "000000",
            "logisticsItems": null,
            "townCode": null,
            "town": "长河镇",
            "caid": null,
            "realLogisticsCompanyNo": null
        },
        "productItems": [
            {
                "cargoNumber": null,
                "description": null,
                "itemAmount": 4,
                "name": "新款2023沃凯wokai商务腕表石英运动表休闲皮带男士手表",
                "price": 4,
                "productID": 698925528268,
                "productImgUrl": [
                    "http://cbu01.alicdn.com/img/ibank/O1CN01dFQp7M1JFanAq6Z3D_!!6000000000999-0-cib.80x80.jpg",
                    "http://cbu01.alicdn.com/img/ibank/O1CN01dFQp7M1JFanAq6Z3D_!!6000000000999-0-cib.jpg"
                ],
                "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=3314022960885106870",
                "quantity": 1,
                "refund": 0,
                "skuID": 4941178924537,
                "sort": null,
                "status": "cancel",
                "subItemID": 3314022960885106870,
                "type": "common",
                "unit": "个",
                "weight": null,
                "weightUnit": null,
                "guaranteesTerms": [
                    {
                        "assuranceInfo": "卖家承诺买家签收货物后7天内,在“商品完好”的情形下,向买家提供退货服务。",
                        "assuranceType": "qtwlybt",
                        "qualityAssuranceType": "7天无理由退货",
                        "value": null
                    },
                    {
                        "assuranceInfo": "“满足相应条件时,用户在退货寄出后,享受极速退款到账。",
                        "assuranceType": "lsjst_s",
                        "qualityAssuranceType": "极速退款",
                        "value": null
                    },
                    {
                        "assuranceInfo": "卖家在承诺买家保障服务的基础上,向买家提供“48小时发货延必赔”的服务。在买家通过支付宝担保交易完成付款或通过货到付款下单成功后,卖家承诺在买家支付成功起48小时内发货。如卖家未履行前述承诺,买家可在指定期限内发起维权,并申请赔付。",
                        "assuranceType": "ssbxsfh",
                        "qualityAssuranceType": "48小时发货",
                        "value": null
                    }
                ],
                "productCargoNumber": null,
                "skuInfos": [
                    {
                        "name": "颜色",
                        "value": "咖啡色"
                    }
                ],
                "entryDiscount": 0,
                "specId": "7b284edcb7275776d92416f1220d1000",
                "quantityFactor": 1,
                "statusStr": "交易取消",
                "refundStatus": null,
                "closeReason": "no longer want to purchase.",
                "logisticsStatus": 1,
                "gmtCreate": "2019-07-21T15:43:09.000+00:00",
                "gmtModified": "2019-07-21T15:47:19.000+00:00",
                "gmtCompleted": "2019-07-21T15:47:20.000+00:00",
                "gmtPayExpireTime": null,
                "refundId": null,
                "subItemIDString": "3314022960885106870",
                "refundIdForAs": null,
                "erpMaterialCode": null,
                "itemDiscountFee": null,
                "cantSendReason": null,
                "canSendGoods": null,
                "barCode": null,
                "permitLogisticsCpCode": null,
                "deliverGoodsOverdueRisk": null,
                "relatedCode": null,
                "freeEntryServiceInfo": null,
                "payEntryServiceInfo": null,
                "extAttributes": null,
                "sharePostage": 5
            }
        ],
        "tradeTerms": [],
        "extAttributes": [],
        "orderRateInfo": {
            "buyerRateStatus": 5,
            "sellerRateStatus": 5,
            "buyerRateList": null,
            "sellerRateList": null
        },
        "orderInvoiceInfo": null,
        "customs": null,
        "overseasExtraAddress": null,
        "baseInfo": {
            "allDeliveredTime": null,
            "businessType": "cn",
            "buyerID": "********",
            "buyerMemo": null,
            "completeTime": "2019-07-21T15:47:20.000+00:00",
            "createTime": "2019-07-21T15:43:09.000+00:00",
            "currency": null,
            "id": 3314022960885106870,
            "modifyTime": "2019-07-21T15:47:19.000+00:00",
            "payTime": null,
            "receivingTime": null,
            "refund": 0,
            "remark": "message",
            "sellerID": "*******",
            "sellerMemo": null,
            "shippingFee": 5,
            "status": "cancel",
            "totalAmount": 9,
            "buyerRemarkIcon": null,
            "sellerRemarkIcon": null,
            "discount": 0,
            "buyerContact": {
                "phone": "",
                "fax": null,
                "email": null,
                "imInPlatform": "******",
                "name": "Vidon",
                "mobile": "********",
                "companyName": "*********"
            },
            "tradeType": "50060",
            "refundStatus": null,
            "refundStatusForAs": null,
            "refundPayment": 0,
            "idOfStr": "3314022960885106870",
            "alipayTradeId": "UNCREATED",
            "receiverInfo": {
                "toFullName": "张三",
                "toDivisionCode": "310107",
                "toMobile": "12345678901",
                "toPhone": "12345678901",
                "toPost": "000000",
                "toTownCode": null,
                "toArea": "浙江省 杭州市 滨江区 长河镇 网商路699号"
            },
            "buyerLoginId": "********",
            "sellerLoginId": "皓睿百货",
            "buyerUserId": null,
            "sellerUserId": null,
            "buyerAlipayId": null,
            "sellerAlipayId": null,
            "confirmedTime": null,
            "closeReason": "no longer want to purchase.",
            "sumProductPayment": 4,
            "stepOrderList": null,
            "stepAgreementPath": null,
            "stepPayAll": false,
            "buyerFeedback": "message",
            "overSeaOrder": false,
            "subBuyerLoginId": null,
            "sellerOrder": false,
            "preOrderId": null,
            "refundId": null,
            "flowTemplateCode": "assureTrade",
            "buyerLevel": null,
            "sellerCreditLevel": null,
            "sellerContact": {
                "phone": "86-",
                "fax": null,
                "email": null,
                "imInPlatform": "皓睿百货",
                "name": "*****",
                "mobile": "*********",
                "companyName": "深圳市龙岗区皓睿百货商行",
                "wgSenderName": null,
                "wgSenderPhone": null,
                "shopName": "深圳市龙岗区皓睿百货商行"
            },
            "newStepOrderList": [
                {
                    "gmtStart": "2019-07-21T15:43:10.000+00:00",
                    "gmtPay": null,
                    "gmtEnd": "2019-07-21T15:47:20.000+00:00",
                    "stepNo": 1,
                    "lastStep": true,
                    "stepName": "全款交易",
                    "activeStatus": 1,
                    "payStatus": 8,
                    "logisticsStatus": 1,
                    "payFee": 9,
                    "paidFee": 0,
                    "goodsFee": null,
                    "adjustFee": 0,
                    "discountFee": 0,
                    "postFee": 5,
                    "paidPostFee": 0
                }
            ],
            "closeRemark": "remark",
            "closeOperateType": "CLOSE_TRADE_BY_BUYER",
            "couponFee": 0,
            "tradeTypeDesc": "担保交易",
            "payChannelList": [],
            "tradeTypeCode": "assureTrade",
            "payTimeout": 432000,
            "payTimeoutType": 0,
            "payChannelCodeList": [],
            "ccid": null,
            "relatedCode": null,
            "buyerOpenUid": null,
            "buyerSubOpenUid": null,
            "inventoryMode": null,
            "outOrderId": "A001",
            "officialSolutionOrderId": null,
            "officialSolutionCost": null,
            "buyerSubID": null,
            "sellerSubID": null
        },
        "orderBizInfo": {
            "odsCyd": false,
            "accountPeriodTime": null,
            "creditOrder": false,
            "creditOrderDetail": null,
            "preOrderInfo": null,
            "lstOrderInfo": null,
            "erpBuyerUserId": null,
            "erpOrderId": null,
            "erpBuyerOrgId": null,
            "isCz": null,
            "isDz": null,
            "dz": null,
            "dropshipping": false,
            "shippingInsurance": "givenByAnXinGou",
            "hyperLinkCangFaOrder": null,
            "hyperLinkOrder": null,
            "hyperLinkSecondStepOrder": null,
            "hyperLinkShipType": null,
            "lightningWarehouse": null,
            "aeDoorPickUp": null,
            "aeSelfSend": null,
            "officialPickUp": false,
            "fz": false,
            "tgOfficialPickUp": false
        },
        "quoteList": null,
        "fromEncryptOrder": false,
        "encryptOutOrderInfo": null,
        "outChannel": null,
        "sendGoodsOverdueRisk": null,
        "officialLogisticOrder": null,
        "overseaLogisticsInfo": null
    },
    "timestamp": 1784649014429,
    "traceId": "8aab4cb224b3",
    "cost": 0
}
上一页
取消正式订单 API
下一页
确认收货 API
Built with