OMS开放接口文档
  1. 快递面单模块
OMS开放接口文档
  • 用户认证说明
  • 返回代码说明
  • 公共模块
    • 欢迎入口
      GET
    • 返回代码
      GET
    • 沙盒ApiToken生成
      GET
  • 通用数据模块
    • 仓库列表
      POST
    • 物流渠道列表
      POST
    • 查询产品分类
      POST
    • 国家列表
      POST
  • 产品模块
    • 产品列表
      POST
    • 创建产品
      POST
    • 修改产品
      POST
  • 入库单模块
    • 入库单列表
    • 创建入库单
    • 修改入库单
    • 取消入库单
    • 下载箱唛
    • 下载关联SKU条码
  • 出库单模块
    • B2C订单模块
      • B2C订单列表
      • 创建B2C订单
      • 修改B2C订单
    • B2B订单模块
      • B2B订单列表
      • 创建B2B订单
      • 修改B2B订单
    • 上传附件
    • 下载附件
    • 取消出库单
  • 退件模块
    • 退件单列表
    • 创建退件单
    • 修改退件单
    • 取消退件单
  • 库存模块
    • 库存列表
    • 库存流水列表
    • 库龄列表
  • 快递面单模块
    • 对接说明
    • 面单物流渠道列表
      POST
    • 面单列表
      POST
    • 面单信息
      POST
    • 创建面单
      POST
    • 创建并审核面单
      POST
    • 修改面单
      POST
    • 提交审核面单
      POST
    • 取消面单
      POST
    • 审核面单
      POST
    • 面单退款
      POST
    • 驳回面单
      POST
    • 激活面单
      POST
    • 重试制单
      POST
  1. 快递面单模块

创建面单

POST
/open/label-data/create
用于创建面单

请求参数

Header 参数

Body 参数application/json

示例
{
    "orderType": 1,
    "referenceNo": "referenceNo",
    "shippingMethodCode": "shippingMethodCode",
    "trackingNo": "trackingNo",
    "length": 60,
    "width": 67,
    "height": 58,
    "weight": 26,
    "packageQty": 80,
    "isSign": 1,
    "signType": 1,
    "isInsure": 1,
    "insurePrice": 17.45,
    "remark": "remark",
    "fromAddress": {
        "companyName": "companyName",
        "contactName": "contactName",
        "contactMobile": "contactMobile",
        "contactCellMobile": "contactCellMobile",
        "contactEmail": "tbfv9r_q98@139.com",
        "countryCode2": "countryCode2",
        "province": "province",
        "city": "city",
        "district": "district",
        "doorplate": "doorplate",
        "address": "address",
        "postcode": "postcode"
    },
    "toAddress": {
        "companyName": "companyName",
        "contactName": "contactName",
        "contactMobile": "contactMobile",
        "contactCellMobile": "contactCellMobile",
        "contactEmail": "contactEmail",
        "countryCode2": "countryCode2",
        "province": "province",
        "city": "city",
        "district": "district",
        "doorplate": "doorplate",
        "address": "address",
        "postcode": "postcode"
    },
    "itemDTOs": [
        {
            "productSku": "productSku",
            "declareName": "declareName",
            "declareNameEn": "declareNameEn",
            "declareValue": 9991,
            "qty": 12,
            "weight": 1
        }
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/label-data/create' \
--header 'Authorization: {{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderType": 1,
    "referenceNo": "referenceNo",
    "shippingMethodCode": "shippingMethodCode",
    "trackingNo": "trackingNo",
    "length": 60,
    "width": 67,
    "height": 58,
    "weight": 26,
    "packageQty": 80,
    "isSign": 1,
    "signType": 1,
    "isInsure": 1,
    "insurePrice": 17.45,
    "remark": "remark",
    "fromAddress": {
        "companyName": "companyName",
        "contactName": "contactName",
        "contactMobile": "contactMobile",
        "contactCellMobile": "contactCellMobile",
        "contactEmail": "tbfv9r_q98@139.com",
        "countryCode2": "countryCode2",
        "province": "province",
        "city": "city",
        "district": "district",
        "doorplate": "doorplate",
        "address": "address",
        "postcode": "postcode"
    },
    "toAddress": {
        "companyName": "companyName",
        "contactName": "contactName",
        "contactMobile": "contactMobile",
        "contactCellMobile": "contactCellMobile",
        "contactEmail": "contactEmail",
        "countryCode2": "countryCode2",
        "province": "province",
        "city": "city",
        "district": "district",
        "doorplate": "doorplate",
        "address": "address",
        "postcode": "postcode"
    },
    "itemDTOs": [
        {
            "productSku": "productSku",
            "declareName": "declareName",
            "declareNameEn": "declareNameEn",
            "declareValue": 9991,
            "qty": 12,
            "weight": 1
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "20000",
    "success": true,
    "data": {
        "orderNo": "LO25090906605685",
        "referenceNo": "LO25090906605685",
        "trackingNo": "",
        "length": 1.00,
        "width": 1.00,
        "height": 1.00,
        "weight": 1.000,
        "isSign": -1,
        "isInsure": -1,
        "insurePrice": 0.00,
        "status": 1,
        "isSyncToSupplier": -1,
        "remark": ""
    },
    "message": "请求成功",
    "errors": [],
    "timestamp": "1757406602853",
    "duration": 0.508,
    "requestId": "3cad747f158448f6949d504ee70d5a72"
}
修改于 2025-09-12 03:42:58
上一页
面单信息
下一页
创建并审核面单
Built with