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

修改退件单

POST
/open/return-order-data/update
用于修改退件单号对应的退件单的信息

请求参数

Header 参数

Body 参数application/json

示例
{
    "orderNo": "string",
    "referenceNo": "string",
    "signatureNo": "string",
    "outboundOrderNo": "string",
    "trackingNo": "string",
    "pickupType": "1",
    "pickupDate": "2019-08-24",
    "etaDate": "2019-08-24",
    "companyName": "string",
    "contactName": "string",
    "contactMobile": "string",
    "contactCellMobile": "string",
    "contactEmail": "string",
    "province": "string",
    "city": "string",
    "district": "string",
    "doorplate": "string",
    "address": "string",
    "postcode": "string",
    "returnType": "1",
    "isSplitAsn": "-1",
    "handleAdvice": "string",
    "remark": "string",
    "warehouseCode": "string",
    "code2": "string",
    "itemDTOs": [
        {
            "returnOrderId": 0,
            "productId": 0,
            "productSku": "string",
            "qty": "0",
            "receiveQty": "0",
            "productQuality": "-1",
            "handleType": "-1",
            "remark": "string"
        }
    ],
    "attachmentOpenDTOs": [
        {
            "attachmentType": "string",
            "base64": "string",
            "fileName": "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 '/open/return-order-data/update' \
--header 'Authorization: {{api_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderNo": "string",
    "referenceNo": "string",
    "signatureNo": "string",
    "outboundOrderNo": "string",
    "trackingNo": "string",
    "pickupType": "1",
    "pickupDate": "2019-08-24",
    "etaDate": "2019-08-24",
    "companyName": "string",
    "contactName": "string",
    "contactMobile": "string",
    "contactCellMobile": "string",
    "contactEmail": "string",
    "province": "string",
    "city": "string",
    "district": "string",
    "doorplate": "string",
    "address": "string",
    "postcode": "string",
    "returnType": "1",
    "isSplitAsn": "-1",
    "handleAdvice": "string",
    "remark": "string",
    "warehouseCode": "string",
    "code2": "string",
    "itemDTOs": [
        {
            "returnOrderId": 0,
            "productId": 0,
            "productSku": "string",
            "qty": "0",
            "receiveQty": "0",
            "productQuality": "-1",
            "handleType": "-1",
            "remark": "string"
        }
    ],
    "attachmentOpenDTOs": [
        {
            "attachmentType": "string",
            "base64": "string",
            "fileName": "string"
        }
    ]
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "20000",
    "success": true,
    "data": {
        "orderNo": "RO25102353783107",
        "referenceNo": "incididunt 1proident1",
        "signatureNo": "consequat mollit Lorem velit",
        "outboundOrderNo": "eiusmod magna",
        "trackingNo": "ipsum in eiusmod elit",
        "pickupType": 2,
        "pickupDate": "2025-10-25",
        "etaDate": "2025-10-25",
        "companyName": "褒天娇公司1",
        "contactName": "逯语桐",
        "contactMobile": "16284171365",
        "contactCellMobile": "13551590409",
        "contactEmail": "izh70@yahoo.com.cn",
        "province": "安徽省",
        "city": "衡码市",
        "district": "清徐县",
        "doorplate": "",
        "address": "查巷9号",
        "postcode": "135734",
        "qty": 94,
        "receiveQty": 0,
        "goodQty": 0,
        "badQty": 0,
        "putawayQty": 0,
        "putawayBadQty": 0,
        "destroyQty": 0,
        "returnType": 1,
        "status": 1,
        "isSplitAsn": 1,
        "handleAdvice": "labore velit quis in",
        "remark": "esse elit proident nisi",
        "cancelType": 1,
        "cancelRemark": "",
        "errorReason": ""
    },
    "message": "请求成功",
    "errors": [],
    "timestamp": "1761216008899",
    "duration": 0.451,
    "requestId": "79df6d8a0eeb49518df29742d59a6b1b"
}
修改于 2025-10-23 10:34:33
上一页
创建退件单
下一页
取消退件单
Built with