Skip to content

修改已发货订单的物流信息

拥有此API的权限集
物流管理-增删改

请求方式及url

  • 请求方式:POST
  • 请求头:Content-Type:application/json
  • 接口地址:https://api.xiaoe-tech.com/xe.ecommerce.order.modify_logistics/1.0.0
  • 频率限制:10秒500次

接口调试

请求参数
响应结果
暂无响应数据

请求参数

参数名必填类型说明
access_tokenstring专属token
order_idstring订单号,示例:o_1657532578_62cbf0a27b7b1_313860000
ship_arrayarray物流数据列表(对象列表)
ship_array[].parcel_idstring需要修改的包裹ID,若传了多个包裹,其中一个包裹校验失败,则全部包裹修改失败 示例:parcel_1668666954_6375d64ac6aa9_20631405
ship_array[].companystring快递公司名,示例:申通快递
ship_array[].express_idstring修改后的物流单号,示例:ST1234567

请求示例

{
    "access_token":"xxxxxxx",
    "order_id": "E2022112317004890871056",
    "ship_array": [
        {
            "parcel_id": "parcel_1669194099_637de173a7498_72556907",
            "company": "中通快递",
            "express_id": "ZT666666666"
        }
    ]
}

返回参数

参数名类型说明
codeint返回码
msgstring消息详情
dataobject返回数据
data.successint枚举:1-成功,0-失败

返回示例

成功:

{
    "code": 0,
    "msg": "SUCCESS",
    "data": {
        "success": 1
    }
}

失败:

{
    "code": 500,
    "msg": "parcel_1668666954_6375d64ac6aa9_20631405111不存在",
    "data": []
}