/erp/sc/routing/inventoryReceipt/CostChangeOrder/finishCostChangeOrder{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/inventoryReceipt/CostChangeOrder/finishCostChangeOrder"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"type": 1,
"wid": 1,
"remark": "成本补录单备注",
"list": [
{
"product_id": 1,
"seller_id": 0,
"fnsku": "",
"relation_order_out": "IB250514006",
"unit_cost_price": 10,
"unit_fee_price": 6
},
{
"product_id": 2,
"seller_id": 0,
"fnsku": "X000001",
"relation_order_out": "IB250514007",
"unit_cost_price": 15.5,
"unit_fee_price": 5.2
}
]
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "6DB9CEC4-C9B6-9175-36C7-CE7A2CFC3968",
"response_time": "2021-09-03 10:38:21",
"data": {
"order_sn": "CA2505220016"
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | type | 补录类型—只支持入库成本(1) | integer | 1 | Required | 补录类型—只支持入库成本(1) |
| 2 | wid | 仓库ID | integer | 1 | Required | 仓库ID |
| 3 | remark | 备注 | string | 成本补录单备注 | Required | 备注 |
| 4 | list | 成本补录子项 | array<object> | — | Required | 成本补录子项 |
| 4.1 | product_id | 产品ID | integer | 1 | Required | 产品ID |
| 4.2 | seller_id,对应[查询亚马逊店铺列表](/api-docs/BasicData/SellerLists)接口对应字段【sid】 | 否 | string | — | Optional | 否 |
| 4.3 | fnsku | fnsku | string | — | Optional | FNSKU,默认为空 |
| 4.4 | relation_order_out | 入库单号 | string | IB250514006 | Required | 入库单号 |
| 4.5 | unit_cost_price | 变更后采购单价 | number | 10 | Required | 变更后采购单价 |
| 4.6 | unit_fee_price | 变更后单位费用 | number | 6 | Required | 变更后单位费用 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | string | 0 | Required | 状态码,0 成功 参数示例: 0 |
| 2 | message | 提示消息 | string | success | Required | 提示消息 |
| 3 | error_details | 错误信息 | string | error_msg | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | 81CA6A9A-A5C4-8B5E-5FED-E1C2EC04753C | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2025-05-20 00:00:00 | Required | 响应时间 |
| 6 | data | 响应数据 | array<object> | — | Required | 响应数据 |
| 6.1 | order_sn | 成本补录单号 | string | CA2505220016 | Required | 成本补录单号 |
The 创建已完成的成本补录单 API (/erp/sc/routing/inventoryReceipt/CostChangeOrder/finishCostChangeOrder) 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.