批量标记/取消发货计划加急
POST
/erp-openapi/shipmentPlan/batchUpdateIsUrgent接口信息
| API Path | 请求协议 | 请求方式 |
|---|---|---|
/ | HTTPS | POST |
请求参数
isp_idsarray<any>必填is_urgentinteger必填请求示例
{
"isp_ids": [
956,
957
],
"is_urgent": 1
}
请求cURL示例
curl --location --request POST 'https://openapi.lingxing.com/erp-openapi/shipmentPlan/batchUpdateIsUrgent?app_key=value×tamp=value&sign=value' \
--header 'Authorization: Bearer <access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"isp_ids": [
956,
957
],
"is_urgent": 1
}'
返回结果
Json Object
codeinteger必填messagestring必填error_detailsarray<string>必填request_idstring必填response_timestring必填totalinteger必填dataobject必填隐藏子属性显示子属性2 个子字段
succ_numinteger必填errorarray<object>必填隐藏子属性显示子属性2 个子字段
order_snstring必填messagestring必填批量处理结果请查看data.succ_num和data.error。
返回成功示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "52688b81-2398-4e60-9617-619fc2cf5b1e",
"response_time": "2026-12-02 10:00:00",
"data": {
"succ_num": 2,
"error": []
},
"total": 0
}
取消加急(is_urgent=0)部分失败示例
{
"code": 0,
"message": "success",
"error_details": [],
"request_id": "52688b81-2398-4e60-9617-619fc2cf5b1e",
"response_time": "2026-12-02 10:00:00",
"data": {
"succ_num": 1,
"error": [
{
"order_sn": "R230703002",
"message": "状态已经为未加急"
}
]
},
"total": 0
}