/erp/sc/routing/storage/shipment/updateCustomCost{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/storage/shipment/updateCustomCost"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | shipment_sn | 发货单号 | string | — | 必填 | 发货单号 |
| 2 | is_custom_cost | 是否自定义成本 | integer | — | 必填 | 是否自定义成本 |
| 3 | list | 自定义成本信息数组 | array<object> | — | 可选 | 自定义成本信息数组 |
| 3.1 | msku | msku | string | — | 可选 | msku |
| 3.2 | sku | sku | string | — | 可选 | sku |
| 3.3 | shipment_id | 货件单号 | string | — | 可选 | 货件单号 |
| 3.4 | custom_purchase_price_unit | 采购单价(自定义成本) | number | — | 可选 | 采购单价(自定义成本) |
| 3.5 | custom_outbound_cost_unit | 单位出库费用(自定义成本) | number | — | 可选 | 单位出库费用(自定义成本) |
| 3.6 | custom_aux_cost | 单位辅料费用(自定义成本) | number | — | 可选 | 单位辅料费用(自定义成本) |
| 3.7 | custom_outbound_head_cost_unit | 单位出库头程(自定义成本) | number | — | 可选 | 单位出库头程(自定义成本) |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-10-18 22:39:55 | 必填 | 响应时间 |
| 6 | data | 响应数据 | array<any> | [] | 必填 | 响应数据 |
领星ERP的接口:更新发货单自定义成本(/erp/sc/routing/storage/shipment/updateCustomCost),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。