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/batch/create

请求参数

Header 参数

Body 参数application/json

示例
{
    "flow":"general",
    "addressParam": {
        "fullName": "zhang",
        "mobile": "18600888861",
        "phone": "18600888861",
        "postCode": "100000",
        "cityText": "杭州市",
        "provinceText": "浙江省",
        "areaText": "西湖区",
        "townText": "转塘",
        "address": "xxxxxxx"
    },
    "cargoParamList": [
        {
            "offerMapId": "L0PTnwSnx_dWNZWCtgK7Gg",
            "specId": "e61a85a671bb3d0301d0412b51641c6b",
            "quantity": 1,
            "sellerOpenId": "BBBgGWh2O6JFI6v1aQuZVgRIA"
        }
    ]
}

请求示例代码

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/batch/create' \
--header 'access-key;' \
--header 'timestamp;' \
--header 'user-id;' \
--header 'signature;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "flow":"general",
    "addressParam": {
        "fullName": "zhang",
        "mobile": "18600888861",
        "phone": "18600888861",
        "postCode": "100000",
        "cityText": "杭州市",
        "provinceText": "浙江省",
        "areaText": "西湖区",
        "townText": "转塘",
        "address": "xxxxxxx"
    },
    "cargoParamList": [
        {
            "offerMapId": "L0PTnwSnx_dWNZWCtgK7Gg",
            "specId": "e61a85a671bb3d0301d0412b51641c6b",
            "quantity": 1,
            "sellerOpenId": "BBBgGWh2O6JFI6v1aQuZVgRIA"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "requestId": "1a4cc8ca912144eb92e77ccfcf74fbe8",
    "code": 200,
    "developId": "1110890638347337996",
    "msg": "成功",
    "data": [
        {
            "guaranteesTerms": null,
            "internationalLogistics": null,
            "nativeLogistics": {
                "address": "转塘 xxxxxxx",
                "area": "西湖区",
                "areaCode": "330106",
                "city": "杭州市",
                "contactPerson": "zhang",
                "fax": null,
                "mobile": "18600888861",
                "province": "浙江省",
                "telephone": "18600888861",
                "zip": "100000",
                "logisticsItems": null,
                "townCode": null,
                "town": null,
                "caid": null,
                "realLogisticsCompanyNo": null
            },
            "productItems": [
                {
                    "cargoNumber": null,
                    "description": null,
                    "itemAmount": 19,
                    "name": "2024春季新款女包斜跨大容量包包女时尚手提托特包尼龙布单肩包潮",
                    "price": 19,
                    "productID": 743470146022,
                    "productImgUrl": [
                        "http://cbu01.alicdn.com/img/ibank/O1CN01XM0H0F1Bs32yWFMfl_!!0-0-cib.80x80.jpg",
                        "http://cbu01.alicdn.com/img/ibank/O1CN01XM0H0F1Bs32yWFMfl_!!0-0-cib.jpg"
                    ],
                    "productSnapshotUrl": "https://trade.1688.com/order/offer_snapshot.htm?order_entry_id=2540608320348880794",
                    "quantity": 1,
                    "refund": 0,
                    "skuID": 5129230517256,
                    "sort": null,
                    "status": "waitbuyerpay",
                    "subItemID": 2540608320348881000,
                    "type": "common",
                    "unit": "件",
                    "weight": null,
                    "weightUnit": null,
                    "guaranteesTerms": [
                        {
                            "assuranceInfo": "卖家承诺买家签收货物后7天内,在“商品完好”的情形下,向买家提供退货服务。",
                            "assuranceType": "qtwlybt",
                            "qualityAssuranceType": "7天无理由退货"
                        },
                        {
                            "assuranceInfo": "“满足相应条件时,用户在退货寄出后,享受极速退款到账。",
                            "assuranceType": "lsjst_s",
                            "qualityAssuranceType": "极速退款"
                        },
                        {
                            "assuranceInfo": "卖家在承诺买家保障服务的基础上,向买家提供“48小时发货延必赔”的服务。在买家通过支付宝担保交易完成付款或通过货到付款下单成功后,卖家承诺在买家支付成功起48小时内发货。如卖家未履行前述承诺,买家可在指定期限内发起维权,并申请赔付。",
                            "assuranceType": "ssbxsfh",
                            "qualityAssuranceType": "48小时发货"
                        }
                    ],
                    "productCargoNumber": "8089",
                    "skuInfos": [
                        {
                            "name": "颜色",
                            "value": "奶油紫"
                        }
                    ],
                    "entryDiscount": 0,
                    "specId": "e61a85a671bb3d0301d0412b51641c6b",
                    "quantityFactor": 1,
                    "statusStr": "等待买家付款",
                    "refundStatus": null,
                    "closeReason": null,
                    "logisticsStatus": 1,
                    "gmtCreate": "2025-04-23T14:13:44.000+08:00",
                    "gmtModified": "2025-04-23T14:13:45.000+08:00",
                    "gmtCompleted": null,
                    "gmtPayExpireTime": null,
                    "refundId": null,
                    "subItemIDString": "2540608320348880794",
                    "refundIdForAs": null,
                    "erpMaterialCode": null,
                    "itemDiscountFee": null,
                    "cantSendReason": null,
                    "canSendGoods": null,
                    "barCode": null,
                    "permitLogisticsCpCode": null,
                    "deliverGoodsOverdueRisk": null,
                    "relatedCode": null,
                    "freeEntryServiceInfo": null,
                    "payEntryServiceInfo": null,
                    "extAttributes": null
                }
            ],
            "tradeTerms": [],
            "extAttributes": [
                {
                    "key": "preSelectPayChannel",
                    "value": "alipay",
                    "description": null
                }
            ],
            "orderRateInfo": {
                "buyerRateStatus": 5,
                "sellerRateStatus": 5,
                "buyerRateList": null,
                "sellerRateList": null
            },
            "orderInvoiceInfo": null,
            "customs": null,
            "overseasExtraAddress": null,
            "baseInfo": {
                "allDeliveredTime": null,
                "businessType": "cb",
                "buyerID": "b2b-2217011889407ed2e0",
                "buyerMemo": null,
                "completeTime": null,
                "createTime": "2025-04-23T14:13:44.000+08:00",
                "currency": null,
                "id": 2540608320348881000,
                "modifyTime": "2025-04-23T14:13:45.000+08:00",
                "payTime": null,
                "receivingTime": null,
                "refund": 0,
                "remark": null,
                "sellerID": "b2b-2207770725121452b2",
                "sellerMemo": null,
                "shippingFee": 4,
                "status": "waitbuyerpay",
                "totalAmount": 23,
                "buyerRemarkIcon": null,
                "sellerRemarkIcon": null,
                "discount": 0,
                "buyerContact": {
                    "phone": "86-0571-17799847985",
                    "fax": null,
                    "email": "wanqing@pandapon.com",
                    "imInPlatform": "pandaponpp2023",
                    "name": "陈翠珍",
                    "mobile": "17799847985",
                    "companyName": "杭州花熊科技有限公司"
                },
                "tradeType": "50060",
                "refundStatus": null,
                "refundStatusForAs": null,
                "refundPayment": 0,
                "idOfStr": "2540608320348880794",
                "alipayTradeId": "UNCREATED",
                "receiverInfo": {
                    "toFullName": "zhang",
                    "toDivisionCode": "330106",
                    "toMobile": "18600888861",
                    "toPhone": "18600888861",
                    "toPost": "100000",
                    "toTownCode": null,
                    "toArea": "浙江省 杭州市 西湖区 转塘 xxxxxxx"
                },
                "buyerLoginId": "pandaponpp2023",
                "sellerLoginId": "广州市大榕树皮具",
                "buyerUserId": null,
                "sellerUserId": null,
                "buyerAlipayId": null,
                "sellerAlipayId": null,
                "confirmedTime": null,
                "closeReason": null,
                "sumProductPayment": 19,
                "stepOrderList": null,
                "stepAgreementPath": null,
                "stepPayAll": false,
                "buyerFeedback": null,
                "overSeaOrder": false,
                "subBuyerLoginId": "pandaponpp2023:uwebuy",
                "sellerOrder": false,
                "preOrderId": null,
                "refundId": null,
                "flowTemplateCode": "assureTrade",
                "buyerLevel": null,
                "sellerCreditLevel": null,
                "sellerContact": {
                    "phone": "86-",
                    "fax": null,
                    "email": null,
                    "imInPlatform": "广州市大榕树皮具",
                    "name": "廖腾飞",
                    "mobile": "13632968337",
                    "companyName": "广州市大榕树皮具有限公司",
                    "wgSenderName": null,
                    "wgSenderPhone": null
                },
                "newStepOrderList": [
                    {
                        "gmtStart": "2025-04-23T14:13:45.000+08:00",
                        "gmtPay": null,
                        "gmtEnd": null,
                        "stepNo": 1,
                        "lastStep": true,
                        "stepName": "全款交易",
                        "activeStatus": 1,
                        "payStatus": 1,
                        "logisticsStatus": 1,
                        "payFee": 23,
                        "paidFee": 0,
                        "goodsFee": null,
                        "adjustFee": 0,
                        "discountFee": 0,
                        "postFee": 4,
                        "paidPostFee": 0
                    }
                ],
                "closeRemark": null,
                "closeOperateType": "",
                "couponFee": 0,
                "tradeTypeDesc": "担保交易",
                "payChannelList": [],
                "tradeTypeCode": "assureTrade",
                "payTimeout": 432000,
                "payTimeoutType": 0,
                "payChannelCodeList": [],
                "ccid": null,
                "relatedCode": null,
                "buyerOpenUid": null,
                "buyerSubOpenUid": null,
                "inventoryMode": null,
                "outOrderId": 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
            },
            "quoteList": null,
            "fromEncryptOrder": false,
            "encryptOutOrderInfo": null,
            "outChannel": null,
            "sendGoodsOverdueRisk": null,
            "officialLogisticOrder": null,
            "sellerOpenId": "BBBgGWh2O6JFI6v1aQuZVgRIA",
            "success": true,
            "errorCode": null,
            "errorMsg": null
        }
    ]
}
修改于 2025-04-24 09:21:39
上一页
创建订单前预览数据接口(不同商家)
下一页
获取物流跟踪信息
Built with