/bd/fee/management/open/feeManagement/otherFee/edit{
"operation": {
"method": "POST",
"path": "/bd/fee/management/open/feeManagement/otherFee/edit"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"id": "304363977645646336",
"submit_type": 2,
"dimension": 1,
"apportion_rule": 1,
"date": "2023-09",
"currency_code": "CNY",
"other_fee_type_id": 1167,
"is_request_pool": 0,
"remark": "",
"fee_items": [
{
"fof_id": "304363977645675520",
"sids": [
106
],
"dimension_value": "FO-F20Y-K0KC",
"fee": -100,
"remark": ""
}
]
},
"responseExample": {
"code": 0,
"msg": "操作成功",
"data": true
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | id | 费用单id | string | — | Required | 费用单id,查询费用明细列表 接口对应字段【records>>id】 |
| 2 | submit_type | 提交类型 | integer | — | Required | 提交类型:1 暂存,2 提交 |
| 3 | dimension | 分摊维度 | integer | — | Required | 分摊维度: 1 msku 2 asin 3 店铺 4 父asin 5 sku 6 企业 |
| 4 | apportion_rule | 分摊规则 | integer | — | Required | 分摊规则: 0 无 1 按销售额 2 按销量 3 店铺均摊后按销售额占比分摊 4 店铺均摊后按销量占比分摊 |
| 5 | date | 分摊日期 | string | — | Required | 分摊日期,格式:Y-m-d 或 Y-m |
| 6 | currency_code | 币种代码 | string | — | Required | 币种代码 |
| 7 | other_fee_type_id | 费用类型id | integer | — | Required | 费用类型id,查询费用类型列表 接口对应字段【id】 |
| 8 | is_request_pool | 是否请款 | integer | — | Required | 是否请款:0 否,1 是 |
| 9 | remark | 单据备注 | string | — | Optional | 单据备注 |
| 10 | fee_items | 费用明细项 | array<object> | — | Required | 费用明细项 |
| 10.1 | fof_id | 费用单子项id | string | — | Required | 费用单子项id,查询费用明细列表 接口对应字段【fof_id】 |
| 10.2 | sids | 店铺id | array<any> | — | Required | 店铺id,全部店铺传[99999999] ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 10.3 | dimension_value | 纬度值 | string | — | Required | 纬度值,例如ASIN值 |
| 10.4 | fee | 金额 | number | — | Required | 金额 |
| 10.5 | remark | 备注 | string | — | Optional | 备注 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | msg | 消息提示 | string | 操作成功 | Required | 消息提示 |
| 3 | data | 响应数据 | string | true | Required | 响应数据 |
The 编辑费用单 API (/bd/fee/management/open/feeManagement/otherFee/edit) 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.