更新海外仓备货计划
POST
/erp/sc/routing/owms/overseaStockPlan/updateOverseaStockPlan仅支持 plan_list 批量更新,单次最多 200 条;每项通过 order_sn 定位计划。
接口信息
| API Path | 请求协议 | 请求方式 | 令牌桶容量 |
|---|---|---|---|
/erp/sc/routing/owms/overseaStockPlan/updateOverseaStockPlan | HTTPS | POST | 待确认 |
请求参数
plan_listarray<object>必填隐藏子属性
order_snstring必填widintegertarget_widintegershipment_timestringexpected_arrival_datestringremarkstringmethod_idintegerlogistics_provider_idintegerlogistics_channel_idintegerthird_party_product_namestringthird_party_product_codestringis_manual_select_whb_codeintegerwhb_codearray<any>pps_idintegerquantity_in_caseintegerstock_numintegerbox_numintegercg_package_lengthnumbercg_package_widthnumbercg_package_heightnumbercg_box_lengthnumbercg_box_widthnumbercg_box_heightnumbercg_box_weightnumbernwnumbergwnumbership_modeinteger请求cURL示例
示例中的单号和 ID 为占位值,使用时请替换为实际值。
curl --location 'https://openapi.lingxing.com/erp/sc/routing/owms/overseaStockPlan/updateOverseaStockPlan?access_token=value×tamp=value&sign=value&app_key=value' \
--header 'Content-Type: application/json' \
--data '{
"plan_list": [
{
"order_sn": "PLAN-EXAMPLE",
"remark": "Example remark"
}
]
}'
返回结果
Json Object
codeinteger必填messagestring必填error_detailsarray<any>必填request_idstring必填response_timestring必填dataarray<any>必填totalinteger必填附加说明
- 仅更新请求中实际传入且属于可编辑白名单的字段;未传字段保留原值。
seller_id、product_id、warehouse_fnsku不接收,三方仓 SKU 匹配使用 ERP 查询到的计划原始值。