1. 订单通
iPaaS API
  • iPaaS API列表
    • 接入指南
    • 快速调试指南
    • 签名工具
    • 储值通
      • 储值卡充值
      • 查询储值卡充值结果
      • 查询储值卡退款结果
      • 储值卡支付
      • 查询储值卡支付结果
      • 查询可用储值卡列表
      • 储值卡退款
      • 储值调账
      • 查询储值卡
    • 导购通
      • 更新导购档案
      • 查询导购档案
      • 变更导购专属关系
    • 试用单通
      • 更新试用单发货状态
    • 积分通
      • 增加积分
      • 冻结积分
      • 回补积分
      • 消耗积分
      • 解冻积分
      • 查询积分
      • 减少积分
      • 查询积分日志
    • 会员通
      • 修改会员归属门店 Copy
      • 更新会员
      • 解密会员信息
      • 创建加密会员
      • 换绑会员手机号
      • 换绑加密会员
      • 查询会员
      • 创建会员
      • 修改会员归属门店
      • 注销会员
      • 修改会员禁用名单
      • 更新加密会员
      • 解密加密会员
      • 减少成长值
      • 查询成长值
      • 增加成长值
      • 更新等级
    • 标签通
      • 删除标签组
      • 更新标签组
      • 更新会员标签
      • 查询会员标签
      • 创建标签组
    • 订单通
      • 更新订单同城配送状态
        POST
      • 更新订单自提状态
        POST
      • 同步聚合外部订单
        POST
      • 查询订单详情
        POST
      • 同意退款单
        POST
      • 外部订单换货
        POST
      • 外部订单非等价换货
        POST
      • 创建外部订单
        POST
      • 更新订单发货状态
        POST
      • 查询订单同城配送状态
        POST
      • 外部订单退货
        POST
      • 拒绝退款单
        POST
      • 创建主动退款
        POST
    • 店铺通
      • 关闭门店
      • 修改门店
      • 修改自提点
      • 创建自提点
      • 更换门店
      • 关闭自提点
      • 创建门店
    • 权益卡通
      • 同步会员权益卡
      • 调整会员权益卡有效期
      • 删除会员权益卡
    • 商品通
      • 更新商品上下架状态
      • 更新商品分组
      • 查询商品分组
      • 同步商品信息
      • 删除商品分组
      • 创建商品分组
      • 同步商品信息(独立)
      • 更新商品价格
    • 电子卡券通
      • 核销电子卡券
    • 库存通
      • 已过时
        • 同步商品库存(已过时)
      • 同步商品库存
    • 优惠券通
      • 单通以有赞为准
        • 查询优惠券详情
        • 查询优惠券列表
        • 查询可用优惠券列表
        • 查询优惠券折扣
        • 发放优惠券
        • 核销优惠券
        • 退还优惠券
        • 转赠优惠券
        • 回收优惠券
      • 双通以三方为准
        • 发放优惠券
        • 核销优惠券
        • 退还优惠券
        • 转赠优惠券
        • 回收优惠券
        • 禁用优惠券
      • 已过时
        • 转赠优惠券(已过时)
        • 核销后退还优惠券(已过时)
        • 核销有赞优惠券(已过时)
        • 预核销优惠券(已过时)
        • 解冻优惠券(已过时)
        • 发放优惠券(已过时)
        • 冻结优惠券(已过时)
      • 创建优惠券模板
      • 更新优惠券模板
      • 失效优惠券模板
      • 删除优惠券模板
    • 设置环境变量
      POST
  1. 订单通

查询订单详情

测试环境
https://{{host}}
测试环境
https://{{host}}
POST
https://{{host}}
/open/gateway/OrderQueryReverseRest/v1

请求参数

Header 参数

Body 参数application/json

示例
{
    "requestId": "string",
    "extendMap": {
        "key": {}
    },
    "tid": "string",
    "outTid": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https:///open/gateway/OrderQueryReverseRest/v1' \
--header 'app-id;' \
--header 'ts;' \
--header 'sign-type;' \
--header 'sign;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "requestId": "string",
    "extendMap": {
        "key": {}
    },
    "tid": "string",
    "outTid": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
  "success": false,
  "code": 0,
  "message": "",
  "requestId": "",
  "data": {
    "appId": "",
    "rootKdtId": 0,
    "originalRequest": {},
    "extendMap": {
      "": {}
    },
    "orderInfo": {
      "tid": "",
      "outTid": "",
      "payType": 0,
      "expressType": 0,
      "type": 0,
      "refundState": 0,
      "updateTime": "",
      "consignTime": "",
      "payTime": "",
      "successTime": "",
      "closeType": 0,
      "payTypeStr": "",
      "channelType": 0,
      "status": "",
      "created": "",
      "packingCharge": {
        "name": "",
        "realPay": 0,
        "pay": 0,
        "refundable": false,
        "originPay": 0,
        "extInfo": {
          "packagingFeeType": 0,
          "itemsFeeDetails": [
            {
              "p": 0,
              "c": 0,
              "n": ""
            }
          ]
        },
        "desc": ""
      }
    },
    "sellerInfo": {
      "nodeKdtId": 0,
      "shopDisplayNo": "",
      "shopName": "",
      "outStoreId": "",
      "outStoreCode": "",
      "tel": ""
    },
    "buyerInfo": {
      "outerUserId": "",
      "buyerPhone": "",
      "buyerId": 0,
      "nickname": "",
      "yzOpenId": "",
      "outOpenId": ""
    },
    "addressInfo": {
      "selfFetchInfo": "",
      "outStoreId": "",
      "deliveryStartTime": "",
      "deliveryEndTime": "",
      "receiverName": "",
      "receiverTel": "",
      "telephone": "",
      "deliveryCountry": "",
      "deliveryPostalCode": "",
      "deliveryProvince": "",
      "deliveryCity": "",
      "deliveryDistrict": "",
      "deliveryStreet": "",
      "deliveryAddress": "",
      "addressExtra": "",
      "yzSelfFetchId": 0
    },
    "payInfo": {
      "phasePayments": [
        {
          "payTime": "",
          "innerTransactionNo": "",
          "payStartTime": "",
          "payWayStr": "",
          "phase": 0,
          "realPrice": 0,
          "payEndTime": "",
          "payWayDesc": "",
          "outerTransactionNo": ""
        }
      ],
      "realPayment": 0,
      "totalFee": 0,
      "postFee": 0,
      "promotionAmount": 0,
      "payment": 0,
      "transaction": [
        ""
      ],
      "outerTransactions": [
        ""
      ],
      "deductionRealPay": 0,
      "deductionPay": 0,
      "cardVoucherPaySplit": {
        "balancePrincipal": 0,
        "balanceBonus": 0,
        "giftCardPrincipal": 0,
        "giftCardBonus": 0,
        "outerCardMoney": 0
      }
    },
    "subOrders": [
      {
        "itemIdentity": {
          "itemId": 0,
          "rootItemId": 0,
          "outItemId": "",
          "itemNo": "",
          "itemBarcode": "",
          "skuNo": "",
          "skuId": 0,
          "rootSkuId": 0,
          "outSkuId": "",
          "skuBarcode": "",
          "skuUniqueCode": ""
        },
        "alias": "",
        "totalFee": 0,
        "num": 0,
        "oid": "",
        "outOid": "",
        "buyerMessages": "",
        "pointsPrice": "",
        "price": 0,
        "isPresent": false,
        "promotionDiscount": "",
        "goodsCostPrice": 0,
        "itemType": 0,
        "title": "",
        "picPath": "",
        "payment": 0,
        "discountPrice": 0,
        "weight": 0.0,
        "itemSalesStaffs": [
          {
            "staffNo": "",
            "outGuideId": "",
            "mobile": "",
            "yzGuideId": "",
            "rate": 0.0
          }
        ],
        "skuAttributes": [
          {
            "value": "",
            "name": ""
          }
        ],
        "itemProps": "",
        "unit": ""
      }
    ],
    "orderPromotion": {
      "orderPaidPromotion": [
        {
          "promotionTypeId": 0,
          "coupons": [
            {
              "couponId": 0,
              "buyerCouponId": 0
            }
          ],
          "oids": [
            {
              "oid": ""
            }
          ],
          "promotionId": 0
        }
      ],
      "item": [
        {
          "skuId": 0,
          "isPresent": false,
          "oid": "",
          "promotions": [
            {
              "promotionTitle": "",
              "promotionType": "",
              "cardNo": "",
              "couponId": "",
              "subPromotionType": "",
              "promotionContent": "",
              "promotionTypeName": "",
              "promotionId": 0,
              "discountFee": 0,
              "promotionTypeId": 0,
              "promotionAlias": "",
              "promotionCondition": ""
            }
          ],
          "itemId": 0
        }
      ],
      "order": [
        {
          "promotionTypeName": "",
          "promotionTitle": "",
          "discountFee": 0,
          "itemInfo": [
            {
              "discountFee": "",
              "oid": ""
            }
          ],
          "subPromotionType": "",
          "promotionType": "",
          "couponId": "",
          "outCouponNo": "",
          "outCouponId": "",
          "promotionContent": "",
          "promotionCondition": "",
          "promotionTypeId": 0,
          "promotionId": 0
        }
      ],
      "orderDiscountFee": 0,
      "itemDiscountFee": 0,
      "adjustFee": 0
    },
    "remarkInfo": {
      "tradeMemo": "",
      "star": 0,
      "buyerMessage": ""
    },
    "invoiceInfo": {
      "taxpayerId": "",
      "raiseType": "",
      "userName": "",
      "invoiceDetailType": "",
      "email": ""
    },
    "guideInfo": {
      "salesGuide": {
        "guideName": "",
        "guideShopNo": "",
        "guideStaff": "",
        "guideMobile": "",
        "guideId": "",
        "outGuideId": ""
      },
      "serviceGuide": {
        "guideName": "",
        "guideShopNo": "",
        "guideStaff": "",
        "guideMobile": "",
        "guideId": "",
        "outGuideId": ""
      },
      "salesman": {
        "salesmanNickName": "",
        "salesmanMobile": "",
        "outSalesmanId": "",
        "yzSalesmanId": ""
      }
    },
    "refundOrders": [
      {
        "refundTime": "",
        "refundId": "",
        "refundFund": [
          {
            "refundAccountTime": "",
            "refundFee": 0,
            "refundNo": "",
            "status": 0,
            "createTime": ""
          }
        ],
        "oids": [
          {
            "oid": ""
          }
        ],
        "refundFee": 0,
        "refundState": 0,
        "refundType": 0
      }
    ],
    "deliveryOrders": [
      {
        "expressState": 0,
        "dists": [
          {
            "expressInfo": {
              "expressNo": "",
              "expressId": 0,
              "expressName": ""
            },
            "distId": "",
            "distItems": [
              {
                "oid": ""
              }
            ]
          }
        ],
        "expressType": 0,
        "oids": [
          {
            "oid": ""
          }
        ]
      }
    ],
    "retailDeliveryOrders": [
      {
        "orderItems": [
          {
            "itemIdentity": {
              "itemId": 0,
              "rootItemId": 0,
              "outItemId": "",
              "itemNo": "",
              "itemBarcode": "",
              "skuNo": "",
              "skuId": 0,
              "rootSkuId": 0,
              "outSkuId": "",
              "skuBarcode": "",
              "skuUniqueCode": ""
            },
            "alias": "",
            "totalFee": 0,
            "num": 0,
            "oid": "",
            "outOid": "",
            "buyerMessages": "",
            "pointsPrice": "",
            "price": 0,
            "isPresent": false,
            "promotionDiscount": "",
            "goodsCostPrice": 0,
            "itemType": 0,
            "title": "",
            "picPath": "",
            "payment": 0,
            "discountPrice": 0,
            "weight": 0.0,
            "itemSalesStaffs": [
              {
                "staffNo": "",
                "outGuideId": "",
                "mobile": "",
                "yzGuideId": "",
                "rate": 0.0
              }
            ],
            "skuAttributes": [
              {
                "value": "",
                "name": ""
              }
            ],
            "itemProps": "",
            "unit": ""
          }
        ],
        "deliveryEndTime": "",
        "createTime": "",
        "realSalesAmount": 0,
        "orderNo": "",
        "updateTime": "",
        "salesAmount": 0,
        "warehouseName": "",
        "originOrderNo": "",
        "warehouseCode": "",
        "deliveryStartTime": "",
        "stockUpStatus": 0,
        "deliveryOrderNo": "",
        "distType": "",
        "postage": 0,
        "deliverTime": "",
        "warehouseKdtId": 0,
        "saleWay": "",
        "warehouseType": 0,
        "status": "",
        "tradeOrderPostage": 0,
        "remark": ""
      }
    ],
    "orderExtra": {
      "isOfflineOrder": false,
      "isVirtual": false,
      "isFenxiaoOrder": false,
      "retailPickUpCode": "",
      "orderMark": "",
      "exchangeOriginOrder": "",
      "isTrial": "",
      "trialNo": "",
      "isPointsOrder": "",
      "openSource": "",
      "sourcePlatform": "",
      "fxZppOrder": ""
    },
    "outOrderInfo": {
      "outOrderAgentServiceFee": 0,
      "outOrderPromotions": "",
      "outOrderContainerFee": 0,
      "outOrderActivityFeeAgentPart": 0,
      "outOrderActivityFeeShopPart": 0,
      "income": 0
    },
    "customItemInfos": [
      {
        "info": {
          "comboGroupInfos": {
            "type": 0,
            "groups": [
              {
                "groupId": 0,
                "combos": [
                  {
                    "id": "",
                    "gId": 0,
                    "sId": 0,
                    "sp": 0,
                    "n": 0,
                    "gName": "",
                    "sName": "",
                    "ap": 0,
                    "sKey": "",
                    "weight": 0,
                    "pros": [
                      {
                        "id": 0,
                        "name": "",
                        "price": 0,
                        "valId": 0,
                        "valName": ""
                      }
                    ],
                    "sCode": "",
                    "bCode": ""
                  }
                ]
              }
            ]
          },
          "kdtId": 0
        },
        "oid": 0
      }
    ]
  }
}
修改于 2026-03-10 16:55:18
上一页
同步聚合外部订单
下一页
同意退款单
Built with