优品系统对接文档
  1. 订单推送
  • 对接前必看
  • 获取系统参数
    • 获取揽收仓库Id
      GET
    • 获取服务渠道Id
      GET
    • 获取地址类型
      GET
  • 订单推送
    • 创建订单
      POST
    • 清单发票信息/批量新增
      POST
    • 删除订单
      POST
  • 订单信息获取
    • 获取入库信息
      GET
    • 获取入库转运/路由信息
      GET
    • 获取箱唛标签、快递面单
      POST
  1. 订单推送

清单发票信息/批量新增

POST
/api/parse/batchInsert
本接口用于对已经成功推送到本系统的订单,添加货物清单信息
1.
一次性最多可推送30个订单的发票信息数据。
2.
该接口调用时直接删除以前的数据,然后把新数据插入
3.
订单入库之后,无法通过本接口覆盖旧的清单数据

请求参数

Authorization
在 header 添加参数
apiKey
示例:
apiKey: ********************
Body 参数application/json必填

示例

返回响应

🟢200成功
application/json
Bodyapplication/json

请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/parse/batchInsert' \
--header 'apiKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '[
    {
        "inputId": 11089590,
        "actualType": 0,
        "actualWeight": 50,
        "actualVolume": null,
        "parseItemList": [
            {
                "fbaCode": "YOW1",
                "goodsCn": "珍珠羊绒衫针织衫",
                "goodsEn": "Pearl cashmere sweater knit",
                "shipmentId": "FBA111AAAAAA",
                "referenceId": "4M2CAAAAA",
                "hsCode": "000000000",
                "material": "QY9515C洗唛",
                "use": "Accommodate items盛装物品",
                "brand": "AAA",
                "brandType": "AAA_TYPE",
                "type": "SYR2815",
                "unitPrice": 20.00,
                "totalPrice": 200.00,
                "quantity": 5,
                "grossWeight": 45.55,
                "packages": 2,
                "length": 20.00,
                "width": 20.00,
                "height": 15.50,
                "isDd": "F",
                "isDc": "F",
                "fbaAddress": "PRG2 8050 Heritage RoadBrampton, ON L6Y 0C9 CA (PRG2",
                "privateAddress": "address",
                "url": "https://xxx",
                "country": "CA",
                "sku": "KFR217707",
                "volume": 35.50,
                "model": "MODEL",
                "currency": "USD",
                "clinchDeal": "件",
                "totalQuantity": 10,
                "vatInfo": "",
                "imageList": [
                    "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F1113%2F041620104229%2F200416104229-8-1200.jpg",
                    "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.redocn.com%2Fsheying%2F20150507%2Fpugongying_4267498.jpg"
                ]
            }
        ]
    }
]'
响应示例响应示例
{
    "code": 200,
    "message": "OK",
    "data": null
}
上一页
创建订单
下一页
删除订单
Built with