/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": ""
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | shipment_sn | 发货单号 | string | — | Required | 发货单号 |
| 2 | is_custom_cost | 是否自定义成本 | integer | — | Required | 是否自定义成本 |
| 3 | list | 自定义成本信息数组 | array<object> | — | Optional | 自定义成本信息数组 |
| 3.1 | msku | msku | string | — | Optional | msku |
| 3.2 | sku | sku | string | — | Optional | sku |
| 3.3 | shipment_id | 货件单号 | string | — | Optional | 货件单号 |
| 3.4 | custom_purchase_price_unit | 采购单价(自定义成本) | number | — | Optional | 采购单价(自定义成本) |
| 3.5 | custom_outbound_cost_unit | 单位出库费用(自定义成本) | number | — | Optional | 单位出库费用(自定义成本) |
| 3.6 | custom_aux_cost | 单位辅料费用(自定义成本) | number | — | Optional | 单位辅料费用(自定义成本) |
| 3.7 | custom_outbound_head_cost_unit | 单位出库头程(自定义成本) | number | — | Optional | 单位出库头程(自定义成本) |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | FFE89896-B9C5-1634-5589-6E0F89F0E4A2 | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-10-18 22:39:55 | Required | 响应时间 |
| 6 | data | 响应数据 | array<any> | [] | Required | 响应数据 |
The 更新发货单自定义成本 API (/erp/sc/routing/storage/shipment/updateCustomCost) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.