PandaPon OpenAPI
产品文档API参考
中文简体
  • English
  • ภาษาไทย
产品文档API参考
中文简体
  • English
  • ภาษาไทย
返回PandaPon官网
  1. 订单
  • 淘宝
    • 商品
      • 根据淘宝商品Id查询
      • 根据淘宝商品id批量查询商品
      • 淘宝商品搜索接口
      • 淘宝图片搜索接口
    • 订单
      • 淘宝订单创建
      • 淘宝订单分页查询
      • 取消订单
      • 修改订单前置仓信息
      • 支付订单
      • 获取IM链接
      • 根据订单ID获取订单详情
      • 获取物流详情
    • 购物车
      • 生成订单预览
      • 创建订单
      • 购物车列表
      • 删除购物车商品
      • 新增购物车商品
      • 编辑商品数量
    • 售后
      • 获取逆向单列表接口
      • 逆向单渲染接口
      • 退货物流渲染
      • 退货物流提交
      • 逆向单撤销
      • 提交逆向留言
      • 逆向单提交
      • 留言列表查询
      • 逆向单修改
      • 逆向单详情接口
    • 消息回调
      • 订单价格修改回调
      • 订单状态修改回调
      • 订单售后退款
  • 1688
    • 商品
      • 1688商品详情查询
      • 1688商品关键词查询
      • 1688商品图片搜索
      • 1688多语言商品店搜
      • 根据类目ID查询多语言类目
      • 商品推荐
      • 相关性商品推荐
      • 全球严选关键词查询
      • 1688严选关键词查询
      • 热销榜单查询
    • 购物车
      • 购物车列表
      • 新增购物车商品
      • 删除购物车商品
      • 编辑商品数量
      • 创建订单前预览数据接口
      • 创建订单
    • 订单
      • 开发者批量提交支付 1688订单
        POST
      • 创建订单前预览数据接口(不同商家)
        POST
      • 批量创建创建订单接口(不同商家)
        POST
      • 获取物流跟踪信息
        GET
      • 订单列表
        POST
      • 创建订单前预览数据接口
        POST
      • 创建订单接口
        POST
      • 支付前取消订单接口
        POST
      • 订单支付
        GET
      • 买家确认收货
        POST
      • 1688转换解密为旺旺昵称接口
        POST
    • 售后
      • 1688查询退款单详情
      • 1688查询退款退货原因(用于创建退款退货)
      • 1688上传退款退货凭证
      • 1688创建退款退货申请
      • 1688买家提交退款货信息
      • 物流公司列表-所有的物流公司
    • 消息回调
      • 订单价格修改回调
      • 订单状态修改接口
      • 1688订单售后退款
  • 基础
    • 获取用户地址信息
      POST
    • 地址新增与更新
      POST
  • 仓库物流
    • 商详海外运费预估
      POST
    • 订单海外运费预览
      POST
    • 更新国内物流信息
      POST
    • 创建国际物流订单
      POST
  1. 订单

创建订单接口

POST
/v2/alibaba/order/create

请求参数

Header 参数

Body 参数application/json

示例
{
    "flow": "string",
    "message": "string",
    "shopPromotionId": "string",
    "tradeType": "string",
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "sellerOpenId": "string",
            "offerMapId": "string",
            "specId": "string",
            "quantity": 0,
            "productNo": "string",
            "container": "string"
        }
    ],
    "userId": "string",
    "staffName": "string",
    "platformOrder": 0,
    "transferAccountImgs": "string",
    "transferAccountRemark": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/alibaba/order/create' \
--header 'access-key;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "flow": "string",
    "message": "string",
    "shopPromotionId": "string",
    "tradeType": "string",
    "addressParam": {
        "fullName": "string",
        "mobile": "string",
        "phone": "string",
        "postCode": "string",
        "cityText": "string",
        "provinceText": "string",
        "areaText": "string",
        "townText": "string",
        "address": "string",
        "districtCode": "string"
    },
    "cargoParamList": [
        {
            "sellerOpenId": "string",
            "offerMapId": "string",
            "specId": "string",
            "quantity": 0,
            "productNo": "string",
            "container": "string"
        }
    ],
    "userId": "string",
    "staffName": "string",
    "platformOrder": 0,
    "transferAccountImgs": "string",
    "transferAccountRemark": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
  "requestId": "",
  "code": 0,
  "developId": 0,
  "msg": "",
  "data": {
    "guaranteesTerms": {
      "assuranceInfo": "",
      "assuranceType": "",
      "qualityAssuranceType": ""
    },
    "internationalLogistics": {
      "address": "",
      "allDeliveredTime": "",
      "alternateAddress": "",
      "carrier": "",
      "city": "",
      "cityCode": "",
      "contactPerson": "",
      "country": "",
      "countryCode": "",
      "fax": "",
      "faxArea": "",
      "faxCountry": "",
      "insuranceFee": 0.0,
      "logisticsCode": "",
      "logisticsFee": 0.0,
      "mobile": "",
      "mobileArea": "",
      "mobileCountry": "",
      "port": "",
      "portCode": "",
      "province": "",
      "provinceCode": "",
      "shipmentAbsoluteDate": "",
      "shipmentAbsoluteZone": "",
      "shipmentDateType": "",
      "shipmentMethod": "",
      "shipmentRelativeDuration": "",
      "shipmentRelativeField": "",
      "shipmentRelativeStart": "",
      "telephone": "",
      "telephoneArea": "",
      "telephoneCountryv": "",
      "tradeTerm": ""
    },
    "nativeLogistics": {
      "address": "",
      "area": "",
      "areaCode": "",
      "city": "",
      "contactPerson": "",
      "fax": "",
      "mobile": "",
      "province": "",
      "telephone": "",
      "zip": "",
      "logisticsItems": [
        {
          "deliveredTime": "",
          "logisticsCode": "",
          "type": "",
          "id": 0,
          "status": "",
          "gmtModified": "",
          "gmtCreate": "",
          "carriage": 0.0,
          "fromProvince": "",
          "fromCity": "",
          "fromArea": "",
          "fromAddress": "",
          "fromPhone": "",
          "fromMobile": "",
          "fromPost": "",
          "logisticsCompanyId": 0,
          "logisticsCompanyNo": "",
          "logisticsCompanyName": "",
          "logisticsBillNo": "",
          "subItemIds": "",
          "toProvince": "",
          "toCity": "",
          "toArea": "",
          "toAddress": "",
          "toPhone": "",
          "toMobile": "",
          "toPost": "",
          "noLogisticsCondition": "",
          "noLogisticsName": "",
          "noLogisticsTel": "",
          "noLogisticsBillNo": "",
          "isTimePromise": false,
          "arriveTime": ""
        }
      ],
      "townCode": "",
      "town": "",
      "caid": "",
      "realLogisticsCompanyNo": ""
    },
    "productItems": [
      {
        "cargoNumber": "",
        "description": "",
        "itemAmount": 0.0,
        "name": "",
        "price": 0.0,
        "productID": "",
        "productImgUrl": [
          ""
        ],
        "productSnapshotUrl": "",
        "quantity": 0.0,
        "refund": 0.0,
        "skuID": 0,
        "sort": 0,
        "status": "",
        "subItemID": 0,
        "type": "",
        "unit": "",
        "weight": "",
        "weightUnit": "",
        "guaranteesTerms": [
          {
            "assuranceInfo": "",
            "assuranceType": "",
            "qualityAssuranceType": ""
          }
        ],
        "productCargoNumber": "",
        "skuInfos": [
          {
            "name": "",
            "value": ""
          }
        ],
        "entryDiscount": 0,
        "specId": "",
        "quantityFactor": 0.0,
        "statusStr": "",
        "refundStatus": "",
        "closeReason": "",
        "logisticsStatus": 0,
        "gmtCreate": "",
        "gmtModified": "",
        "gmtCompleted": "",
        "gmtPayExpireTime": "",
        "refundId": "",
        "subItemIDString": "",
        "refundIdForAs": "",
        "erpMaterialCode": "",
        "itemDiscountFee": "",
        "cantSendReason": "",
        "canSendGoods": false,
        "barCode": "",
        "permitLogisticsCpCode": "",
        "deliverGoodsOverdueRisk": "",
        "relatedCode": "",
        "freeEntryServiceInfo": "",
        "payEntryServiceInfo": [
          {
            "serviceAttriribute": "",
            "serviceName": "",
            "servicePrice": 0.0
          }
        ],
        "extAttributes": [
          {
            "key": "",
            "value": "",
            "description": ""
          }
        ]
      }
    ],
    "tradeTerms": [
      {
        "payStatus": "",
        "payTime": "",
        "payWay": "",
        "phasAmount": 0.0,
        "phase": 0,
        "phaseCondition": "",
        "phaseDate": "",
        "cardPay": false,
        "expressPay": false,
        "payWayDesc": ""
      }
    ],
    "extAttributes": [
      {
        "key": "",
        "value": "",
        "description": ""
      }
    ],
    "orderRateInfo": {
      "buyerRateStatus": 0,
      "sellerRateStatus": 0,
      "buyerRateList": [
        {
          "starLevel": 0,
          "content": "",
          "receiverNick": "",
          "posterNick": "",
          "publishTime": ""
        }
      ],
      "sellerRateList": [
        {
          "starLevel": 0,
          "content": "",
          "receiverNick": "",
          "posterNick": "",
          "publishTime": ""
        }
      ]
    },
    "orderInvoiceInfo": {
      "invoiceCompanyName": "",
      "invoiceType": 0,
      "localInvoiceId": 0,
      "orderId": 0,
      "receiveCode": "",
      "receiveCodeText": "",
      "receiveMobile": "",
      "receiveName": "",
      "receivePhone": "",
      "receivePost": "",
      "receiveStreet": "",
      "registerAccountId": "",
      "registerBank": "",
      "registerCode": "",
      "registerCodeText": "",
      "registerPhone": "",
      "registerStreet": "",
      "taxpayerIdentify": ""
    },
    "customs": {
      "id": 0,
      "gmtCreate": "",
      "gmtModified": "",
      "buyerId": 0,
      "orderId": "",
      "type": 0,
      "attributes": [
        {
          "sku": "",
          "cName": "",
          "enName": "",
          "amount": 0.0,
          "quantity": 0.0,
          "weight": 0.0,
          "currency": ""
        }
      ]
    },
    "overseasExtraAddress": {
      "channelName": "",
      "channelId": "",
      "shippingCompanyId": "",
      "shippingCompanyName": "",
      "countryCode": "",
      "country": "",
      "email": ""
    },
    "baseInfo": {
      "allDeliveredTime": "",
      "businessType": "",
      "buyerID": "",
      "buyerMemo": "",
      "completeTime": "",
      "createTime": "",
      "currency": "",
      "id": 0,
      "modifyTime": "",
      "payTime": "",
      "receivingTime": "",
      "refund": 0.0,
      "remark": "",
      "sellerID": "",
      "sellerMemo": "",
      "shippingFee": 0.0,
      "status": "",
      "totalAmount": 0.0,
      "buyerRemarkIcon": "",
      "sellerRemarkIcon": "",
      "discount": 0,
      "buyerContact": {
        "phone": "",
        "fax": "",
        "email": "",
        "imInPlatform": "",
        "name": "",
        "mobile": "",
        "companyName": ""
      },
      "tradeType": "",
      "refundStatus": "",
      "refundStatusForAs": "",
      "refundPayment": 0,
      "idOfStr": "",
      "alipayTradeId": "",
      "receiverInfo": {
        "toFullName": "",
        "toDivisionCode": "",
        "toMobile": "",
        "toPhone": "",
        "toPost": "",
        "toTownCode": "",
        "toArea": ""
      },
      "buyerLoginId": "",
      "sellerLoginId": "",
      "buyerUserId": 0,
      "sellerUserId": 0,
      "buyerAlipayId": "",
      "sellerAlipayId": "",
      "confirmedTime": "",
      "closeReason": "",
      "sumProductPayment": 0.0,
      "stepOrderList": [
        {
          "stepOrderId": 0,
          "stepOrderStatus": "",
          "stepPayStatus": 0,
          "stepNo": 0,
          "lastStep": false,
          "hasDisbursed": false,
          "payFee": 0.0,
          "actualPayFee": 0.0,
          "discountFee": 0.0,
          "itemDiscountFee": 0.0,
          "price": 0.0,
          "amount": 0,
          "postFee": 0.0,
          "adjustFee": 0.0,
          "gmtCreate": "",
          "gmtModified": "",
          "enterTime": "",
          "payTime": "",
          "sellerActionTime": "",
          "endTime": "",
          "messagePath": "",
          "picturePath": "",
          "message": "",
          "templateId": 0,
          "stepName": "",
          "sellerActionName": "",
          "buyerPayTimeout": 0,
          "buyerConfirmTimeout": 0,
          "needLogistics": false,
          "needSellerAction": false,
          "transferAfterConfirm": false,
          "needSellerCallNext": false,
          "instantPay": false
        }
      ],
      "stepAgreementPath": "",
      "stepPayAll": false,
      "buyerFeedback": "",
      "overSeaOrder": false,
      "subBuyerLoginId": "",
      "sellerOrder": false,
      "preOrderId": 0,
      "refundId": "",
      "flowTemplateCode": "",
      "buyerLevel": "",
      "sellerCreditLevel": "",
      "sellerContact": {
        "phone": "",
        "fax": "",
        "email": "",
        "imInPlatform": "",
        "name": "",
        "mobile": "",
        "companyName": "",
        "wgSenderName": "",
        "wgSenderPhone": ""
      },
      "newStepOrderList": [
        {
          "gmtStart": "",
          "gmtPay": "",
          "gmtEnd": "",
          "stepNo": 0,
          "lastStep": false,
          "stepName": "",
          "activeStatus": 0,
          "payStatus": 0,
          "logisticsStatus": 0,
          "payFee": 0.0,
          "paidFee": 0.0,
          "goodsFee": 0.0,
          "adjustFee": 0.0,
          "discountFee": 0.0,
          "postFee": 0.0,
          "paidPostFee": 0.0
        }
      ],
      "closeRemark": "",
      "closeOperateType": "",
      "couponFee": 0.0,
      "tradeTypeDesc": "",
      "payChannelList": [
        ""
      ],
      "tradeTypeCode": "",
      "payTimeout": 0,
      "payTimeoutType": 0,
      "payChannelCodeList": [
        ""
      ],
      "ccid": "",
      "relatedCode": "",
      "buyerOpenUid": "",
      "buyerSubOpenUid": "",
      "inventoryMode": "",
      "outOrderId": ""
    },
    "orderBizInfo": {
      "odsCyd": false,
      "accountPeriodTime": "",
      "creditOrder": false,
      "creditOrderDetail": {
        "payAmount": 0,
        "createTime": "",
        "status": "",
        "gracePeriodEndTime": "",
        "statusStr": "",
        "restRepayAmount": 0
      },
      "preOrderInfo": {
        "appkey": "",
        "marketName": "",
        "createPreOrderApp": false
      },
      "lstOrderInfo": {
        "lstWarehouseType": ""
      },
      "erpBuyerUserId": "",
      "erpOrderId": "",
      "erpBuyerOrgId": "",
      "isCz": false,
      "isDz": false,
      "dz": false,
      "dropshipping": false,
      "shippingInsurance": "",
      "hyperLinkCangFaOrder": false,
      "hyperLinkOrder": false,
      "hyperLinkSecondStepOrder": false,
      "hyperLinkShipType": "",
      "lightningWarehouse": false
    },
    "quoteList": [
      {
        "productQuoteName": "",
        "price": 0.0,
        "count": 0.0
      }
    ],
    "fromEncryptOrder": false,
    "encryptOutOrderInfo": {
      "outPlatformOrderNo": "",
      "outPlatformCode": "",
      "outPlatformAppkey": "",
      "oaid": "",
      "encryptReceiverName": "",
      "encryptReceiverMobile": "",
      "encryptReceiverAddress": "",
      "outPatformExtraInfo": "",
      "outShopId": "",
      "outOriginAddress": {
        "province": {
          "code": "",
          "name": ""
        },
        "city": {
          "code": "",
          "name": ""
        },
        "area": {
          "code": "",
          "name": ""
        },
        "town": {
          "code": "",
          "name": ""
        },
        "address": "",
        "postCode": ""
      },
      "outShopName": "",
      "outPlatformSubCode": "",
      "outPlatformSupplyOrderNo": "",
      "outSupplierId": ""
    },
    "outChannel": "",
    "sendGoodsOverdueRisk": "",
    "officialLogisticOrder": false
  }
}
修改于 2025-04-24 09:20:36
上一页
创建订单前预览数据接口
下一页
支付前取消订单接口
Built with