iPaaS三方执行动作
首页自定义链接
多级目录
  • 子菜单1
  • 子菜单2
首页自定义链接
多级目录
  • 子菜单1
  • 子菜单2
  1. 订单通
  • iPaaS三方执行动作
    • 会员通
      • 等级查询
      • 会员创建
      • 会员信息更新
      • 暂存组件会员信息查询:会员拉取模式
      • 会员退会
      • 成长值查询
      • 等级更新
      • 会员合并
      • 会员信息查询
      • 成长值更新
      • 会员注销
      • 会员码查询
      • 会员换绑
      • 会员归属店铺更新
      • 暂存组件会员变更记录详情查询
    • 积分通
      • 积分查询
      • 积分变更
      • 积分日志查询
      • 暂存组件积分操作记录详情查询
    • 商品通
      • 分店商品同步
      • 商品同步(创建/更新)
      • 暂存组件商品详情查询:商品拉模式下使用
      • 删除三方商品
      • 商品查询
    • 导购通
      • 导购换绑
      • 导购信息更新
      • 客户导购关系查询
      • 客户导购关系更新
      • 暂存组件导购信息查询:导购档案拉取模式
      • 暂存组件客户导购关系查询:客户导购关系拉取模式
    • 电子卡券通
      • 电子卡券发放
      • 电子卡券禁用
    • 订单通
      • 订单创建
        POST
      • 退款单创建
        POST
      • 订单状态更新
        POST
      • 退款单状态更新
        POST
      • 订单信息更新
        POST
      • 暂存组件外部订单详情查询:外部订单同步拉取模式
        POST
      • 暂存组件外部订单发货详情查询:外部订单发货同步拉取模式
        POST
      • 暂存组件外部退款单详情查询:外部退单同步拉取模式
        POST
      • 暂存组件外部换货单详情查询:外部换货单同步拉取模式
        POST
      • 暂存组件外部不等价换货单详情查询:外部不等价换货单同步拉取模式
        POST
    • 储值通
      • 储值支付
      • 礼品卡赠送
      • 礼品卡领取
      • 储值退款
      • 礼品卡制卡
      • 礼品卡激活
      • 礼品卡兑换
      • 储值支付结果查询
      • 储值充值
      • 礼品卡购卡列表查询
      • 礼品卡购卡详情查询
      • 储值卡列表查询
      • 礼品卡取消赠送
      • 储值资金变动同步
      • 储值卡详情查询
      • 储值交易记录查询
      • 储值退款结果查询
      • 储值流水分页查询
      • 储值充值规则主卡查询
      • 储值充值赠送金发放
      • 储值充值结果查询
      • 储值单笔调账
      • 储值充值规则查询
    • 优惠券通
      • 优惠券列表查询
      • 优惠券发放
      • 优惠券禁用
      • 优惠券转赠
      • 优惠券退还
      • 优惠券核销
      • 优惠券回收
      • 优惠券详情查询
      • 优惠券状态同步
      • 优惠券模板创建
      • 优惠券模板更新
      • 优惠券模板分页查询
      • 暂存组件券详情查询:券列表拉取模式
    • 基础组件
      • 暂存组件
    • 库存通
      • 库存同步
      • 库存查询
      • 拉取三方库存数据
    • 标签通
      • 标签创建
      • 标签删除
      • 标签更新
      • 会员标签查询
      • 会员标签更新
    • 门店通
      • 店铺创建
      • 暂存组件外部门店详情查询:外部门店同步拉取模式
      • 店铺更新
    • 分销员通
      • 分销员客户关系查询
      • 分销员客户关系同步
      • 分销员档案同步
    • 权益卡通
      • 会员权益卡同步到三方
      • 会员权益卡详情查询
      • 权益卡模版同步三方
      • 权益卡模版查询
    • 试用单通
      • 试用单关单(未发货前,取消试用单)
      • 试用单创建
      • 试用单退货
      • 暂存组件试用单发货详情查询:试用单发货拉模式下使用
  1. 订单通

订单创建

POST
/OrderCreateExtension
特殊说明:该接口需保证幂等,执行异常时,上游会进行重试,可使用 tid 作为幂等键

请求参数

Body 参数application/json

示例
{
    "rootKdtId": 0,
    "appId": "string",
    "globalProps": {
        "key": {}
    },
    "extendMap": {
        "key": {}
    },
    "orderInfo": {
        "tid": "string",
        "outTid": "string",
        "payType": 0,
        "expressType": 0,
        "type": 0,
        "refundState": 0,
        "updateTime": "2019-08-24T14:15:22Z",
        "consignTime": "2019-08-24T14:15:22Z",
        "payTime": "2019-08-24T14:15:22Z",
        "successTime": "2019-08-24T14:15:22Z",
        "closeType": 0,
        "payTypeStr": "string",
        "channelType": 0,
        "status": "string",
        "created": "2019-08-24T14:15:22Z",
        "packingChargeInfo": {
            "name": "string",
            "realPay": 0,
            "pay": 0,
            "refundable": true,
            "originPay": 0,
            "extInfo": {
                "packagingFeeType": 0,
                "itemsFeeDetails": [
                    {
                        "price": 0,
                        "count": 0,
                        "name": "string"
                    }
                ]
            }
        }
    },
    "sellerInfo": {
        "nodeKdtId": 0,
        "shopDisplayNo": "string",
        "shopName": "string",
        "outStoreId": "string",
        "outStoreCode": "string",
        "tel": "string"
    },
    "buyerInfo": {
        "outerUserId": "string",
        "buyerPhone": "string",
        "buyerId": 0,
        "nickname": "string",
        "yzOpenId": "string",
        "outOpenId": "string"
    },
    "addressInfo": {
        "selfFetchInfo": "string",
        "outStoreId": "string",
        "deliveryStartTime": "2019-08-24T14:15:22Z",
        "deliveryEndTime": "2019-08-24T14:15:22Z",
        "receiverName": "string",
        "receiverTel": "string",
        "telephone": "string",
        "deliveryCountry": "string",
        "deliveryPostalCode": "string",
        "deliveryProvince": "string",
        "deliveryCity": "string",
        "deliveryDistrict": "string",
        "deliveryStreet": "string",
        "deliveryAddress": "string",
        "addressExtra": "string"
    },
    "payInfo": {
        "phasePayments": [
            {
                "payTime": "2019-08-24T14:15:22Z",
                "innerTransactionNo": "string",
                "payStartTime": "2019-08-24T14:15:22Z",
                "payWayStr": "string",
                "phase": 0,
                "realPrice": 0,
                "payEndTime": "2019-08-24T14:15:22Z",
                "payWayDesc": "string",
                "outerTransactionNo": "string"
            }
        ],
        "realPayment": 0,
        "totalFee": 0,
        "postFee": 0,
        "promotionAmount": 0,
        "payment": 0,
        "transaction": [
            "string"
        ],
        "outerTransactions": [
            "string"
        ],
        "deductionRealPay": 0,
        "deductionPay": 0,
        "cardVoucherPaySplit": {
            "balancePrincipal": 0,
            "balanceBonus": 0,
            "giftCardPrincipal": 0,
            "giftCardBonus": 0,
            "outerCardMoney": 0
        }
    },
    "subOrders": [
        {
            "itemIdentity": {
                "itemId": 0,
                "rootItemId": 0,
                "outItemId": "string",
                "itemNo": "string",
                "itemBarcode": "string",
                "skuNo": "string",
                "skuId": 0,
                "rootSkuId": 0,
                "outSkuId": "string",
                "skuBarcode": "string",
                "skuUniqueCode": "string"
            },
            "alias": "string",
            "totalFee": 0,
            "num": 0,
            "oid": "string",
            "outOid": "string",
            "buyerMessages": "string",
            "pointsPrice": "string",
            "price": 0,
            "isPresent": true,
            "promotionDiscount": "string",
            "goodsCostPrice": 0,
            "itemType": 0,
            "title": "string",
            "picPath": "string",
            "payment": 0,
            "discountPrice": 0,
            "weight": 0,
            "itemSalesStaffs": [
                {
                    "staffNo": "string",
                    "outGuideId": "string",
                    "yzGuideId": "string",
                    "rate": 0
                }
            ],
            "skuAttributes": [
                {
                    "value": "string",
                    "name": "string"
                }
            ],
            "itemProps": "string"
        }
    ],
    "orderPromotion": {
        "orderPaidPromotion": [
            {
                "promotionTypeId": 0,
                "coupons": [
                    {
                        "couponId": 0,
                        "buyerCouponId": 0
                    }
                ],
                "oids": [
                    {
                        "oid": "string"
                    }
                ],
                "promotionId": 0
            }
        ],
        "item": [
            {
                "skuId": 0,
                "isPresent": true,
                "oid": "string",
                "promotions": [
                    {
                        "promotionTitle": "string",
                        "promotionType": "string",
                        "cardNo": "string",
                        "couponId": "string",
                        "subPromotionType": "string",
                        "promotionContent": "string",
                        "promotionTypeName": "string",
                        "promotionId": 0,
                        "discountFee": 0,
                        "promotionTypeId": 0,
                        "promotionAlias": "string",
                        "promotionCondition": "string"
                    }
                ],
                "itemId": 0
            }
        ],
        "order": [
            {
                "promotionTypeName": "string",
                "promotionTitle": "string",
                "discountFee": 0,
                "itemInfo": [
                    {
                        "discountFee": "string",
                        "oid": "string"
                    }
                ],
                "subPromotionType": "string",
                "promotionType": "string",
                "couponId": "string",
                "promotionContent": "string",
                "promotionCondition": "string",
                "promotionTypeId": 0,
                "promotionId": 0
            }
        ],
        "orderDiscountFee": 0,
        "itemDiscountFee": 0,
        "adjustFee": 0
    },
    "remarkInfo": {
        "tradeMemo": "string",
        "star": 0,
        "buyerMessage": "string"
    },
    "invoiceInfo": {
        "taxpayerId": "string",
        "raiseType": "string",
        "userName": "string",
        "invoiceDetailType": "string",
        "email": "string"
    },
    "guideInfo": {
        "salesGuide": {
            "guideName": "string",
            "guideShopNo": "string",
            "guideStaff": "string",
            "guideId": "string",
            "outGuideId": "string"
        },
        "serviceGuide": {
            "guideName": "string",
            "guideShopNo": "string",
            "guideStaff": "string",
            "guideId": "string",
            "outGuideId": "string"
        },
        "salesman": {
            "salesmanNickName": "string",
            "salesmanMobile": "string",
            "outSalesmanId": "string",
            "yzSalesmanId": "string"
        }
    },
    "refundOrders": [
        {
            "refundTime": "2019-08-24T14:15:22Z",
            "refundId": "string",
            "refundFund": [
                {
                    "refundAccountTime": "string",
                    "refundFee": 0,
                    "refundNo": "string",
                    "status": 0,
                    "createTime": "string"
                }
            ],
            "oids": [
                {
                    "oid": "string"
                }
            ],
            "refundFee": 0,
            "refundState": 0,
            "refundType": 0
        }
    ],
    "deliveryOrders": [
        {
            "expressState": 0,
            "dists": [
                {
                    "expressInfo": {
                        "expressNo": "string",
                        "expressId": 0,
                        "expressName": "string"
                    },
                    "distId": "string",
                    "distItems": [
                        {
                            "oid": "string"
                        }
                    ]
                }
            ],
            "expressType": 0,
            "oids": [
                {
                    "oid": "string"
                }
            ]
        }
    ],
    "retailDeliveryOrders": [
        {
            "orderItems": [
                {
                    "itemIdentity": {
                        "itemId": 0,
                        "rootItemId": 0,
                        "outItemId": "string",
                        "itemNo": "string",
                        "itemBarcode": "string",
                        "skuNo": "string",
                        "skuId": 0,
                        "rootSkuId": 0,
                        "outSkuId": "string",
                        "skuBarcode": "string",
                        "skuUniqueCode": "string"
                    },
                    "alias": "string",
                    "totalFee": 0,
                    "num": 0,
                    "oid": "string",
                    "outOid": "string",
                    "buyerMessages": "string",
                    "pointsPrice": "string",
                    "price": 0,
                    "isPresent": true,
                    "promotionDiscount": "string",
                    "goodsCostPrice": 0,
                    "itemType": 0,
                    "title": "string",
                    "picPath": "string",
                    "payment": 0,
                    "discountPrice": 0,
                    "weight": 0,
                    "itemSalesStaffs": [
                        {
                            "staffNo": "string",
                            "outGuideId": "string",
                            "yzGuideId": "string",
                            "rate": 0
                        }
                    ],
                    "skuAttributes": [
                        {
                            "value": "string",
                            "name": "string"
                        }
                    ],
                    "itemProps": "string"
                }
            ],
            "deliveryEndTime": "string",
            "createTime": "string",
            "realSalesAmount": 0,
            "orderNo": "string",
            "updateTime": "string",
            "salesAmount": 0,
            "warehouseName": "string",
            "originOrderNo": "string",
            "warehouseCode": "string",
            "deliveryStartTime": "string",
            "stockUpStatus": 0,
            "deliveryOrderNo": "string",
            "distType": "string",
            "postage": 0,
            "deliverTime": "string",
            "warehouseKdtId": 0,
            "saleWay": "string",
            "warehouseType": 0,
            "status": "string",
            "tradeOrderPostage": 0,
            "remark": "string"
        }
    ],
    "orderExtra": {
        "isOfflineOrder": true,
        "isVirtual": true,
        "isFenxiaoOrder": true,
        "retailPickUpCode": "string",
        "orderMark": "string",
        "exchangeOriginOrder": "string",
        "isTrial": "string",
        "trialNo": "string",
        "isPointsOrder": "string",
        "openSource": "string",
        "sourcePlatform": "string",
        "fxZppOrder": "string"
    },
    "outOrderInfo": {
        "outOrderAgentServiceFee": 0,
        "outOrderPromotions": "string",
        "outOrderContainerFee": 0,
        "outOrderActivityFeeAgentPart": 0,
        "outOrderActivityFeeShopPart": 0,
        "income": 0
    },
    "customItemInfos": [
        {
            "info": {
                "comboGroupInfos": {
                    "comboType": 0,
                    "comboGroupInfos": [
                        {
                            "id": 0,
                            "comboSubItemInfos": [
                                {
                                    "id": "string",
                                    "goodsId": 0,
                                    "skuId": 0,
                                    "subPrice": 0,
                                    "num": 0,
                                    "goodsName": "string",
                                    "sName": "string",
                                    "ap": 0,
                                    "sKey": "string",
                                    "weight": 0,
                                    "pros": [
                                        {
                                            "id": null,
                                            "name": null,
                                            "price": null,
                                            "valId": null,
                                            "valName": null
                                        }
                                    ],
                                    "sCode": "string",
                                    "bCode": "string"
                                }
                            ]
                        }
                    ]
                },
                "kdtId": 0
            },
            "oid": 0
        }
    ]
}

返回响应

🟢200成功
application/json
Body

示例
{
  "success": false,
  "code": 0,
  "message": "",
  "requestId": "",
  "errorData": {
    "": {}
  },
  "data": {
    "outTid": "",
    "subOrderMappings": [
      {
        "oid": "",
        "outOid": ""
      }
    ]
  }
}
修改于 2025-07-10 09:52:07
上一页
电子卡券禁用
下一页
退款单创建
Built with