https://www.westmonth.com/openapi/order/storeDeliveryReceipthttps://testing.westmonth.com/openapi/order/storeDeliveryReceipt| 参数名 | 类型 | 必填 | 示例值 | 说明 |
|---|---|---|---|---|
| Authorization | string | 是 | authorization | 身份验证Token |
| Content-Type | string | 是 | application/json | 建议固定传此值 |
| 参数名 | 类型 | 必填 | 默认值 | 可选值 | 说明 |
|---|---|---|---|---|---|
| order_nos | array | 是 | - | - | 订单号列表(西月订单号,俄罗斯订单) |
| file_id | integer | 是 | - | - | 上传交接单文件后返回的file_id(通过/openapi/order/uploadDeliveryReceiptFile接口获取) |
| delivery_receipt_number | string | 是 | - | - | 交接单编号(用于标识交接单的唯一编号) |
| delivery_receipt_name | string | 是 | - | - | 交接单名称(描述交接单的内容或用途) |
| 字段 | 类型 | 说明 |
|---|---|---|
| code | integer | 业务状态码(0表示成功) |
| msg | string | 提示信息(成功时返回"请求成功") |
| data | array | 业务数据(成功关联的订单信息,通常为空数组) |
{
"order_nos": [
"BXY2506051560050","BXY2506051560051","BXY2506051560052"
],
"file_id": 1,
"delivery_receipt_number": "3213123",
"delivery_receipt_name": "交接单名称",
}{
"code": 0,
"msg": "请求成功",
"data": []
}{
"code": 3,
"msg": "授权无效 authorization timestamp error",
"data": []
}| HTTP status code | 错误码 | 错误信息 | 描述 |
|---|
/openapi/order/uploadDeliveryReceiptFile接口上传文件后返回的有效ID,否则会提示文件无效| 版本 | 日期 | 修改说明 |
|---|---|---|
| v1.0 | 2025-06-20 | 初始版本,支持俄罗斯订单交接单保存 |