insert_chain{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | order_sn | 订单号 | string | — | Required | 销售订单号 |
| 2 | type | 业务类型 | int | 1 | Required | 1-销售订单,2-销售退货 |
| 3 | business_at | 业务日期 | datetime | — | Required | 订单日期 |
| 4 | amount | 销售订单金额 | float | — | Required | 订单金额 |
| 5 | fee | 费用金额 | float | — | Optional | 费用金额 |
| 6 | shop_no | 店铺编码 | string | — | Optional | 店铺编码 |
| 7 | shop_name | 店铺名称 | string | — | Optional | 店铺名称 |
| 8 | oms_sn | oms订单号 | string | — | Optional | oms订单号 |
| 9 | currency | 币别 | string | CNY | Optional | 币别 |
| 10 | exchange_rate | 汇率 | float | 1 | Optional | 汇率 |
| 11 | org_no | 组织编码 | string | — | Optional | org_no |
| 12 | org_name | 组织名称 | string | — | Optional | org_name |
| 13 | details | 订单明细 | array | — | Optional | 订单明细 |
| 13.1 | raw_detail_id | 原始明细行ID | string | — | Optional | 原始明细行ID |
| 13.2 | goods_id | 商品id | string | — | Optional | goods_id |
| 13.3 | goods_no | 商品编码 | string | — | Required | goods_no |
| 13.4 | goods_name | 商品名称 | string | — | Optional | 商品名称 |
| 13.5 | qty | 数量 | float | — | Optional | 数量 |
| 13.6 | price | 单价 | float | — | Optional | price |
| 13.7 | tax_price | 含税价 | float | — | Optional | 含税价 |
| 13.8 | tax_amount | 价税合计 | int | — | Optional | 价税合计 |
| 13.9 | amount | 金额 | float | — | Optional | 金额 |
| 13.10 | tax | 税率 | float | 0.13 | Optional | 税率 0.13 |
| 13.11 | fee | 费用金额 | float | — | Optional | 费用金额 |
| 14 | raw_id | 原始ID | string | — | Optional | raw_id |
| 15 | tax_amount | 加税合计 | float | — | Optional | 加税合计 |
| 16 | qty | 总数量 | float | — | Optional | 总数量 |
| 17 | count | 商品数 | float | — | Optional | 商品数 |
No parameter reference available
The 对账模块-写入供应链数据 API (insert_chain) of 轻易云集成平台 is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 轻易云集成平台 version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.