insert_chain{
"operation": {
"method": "none"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | order_sn | 订单号 | string | — | 必填 | 销售订单号 |
| 2 | type | 业务类型 | int | 1 | 必填 | 1-销售订单,2-销售退货 |
| 3 | business_at | 业务日期 | datetime | — | 必填 | 订单日期 |
| 4 | amount | 销售订单金额 | float | — | 必填 | 订单金额 |
| 5 | fee | 费用金额 | float | — | 可选 | 费用金额 |
| 6 | shop_no | 店铺编码 | string | — | 可选 | 店铺编码 |
| 7 | shop_name | 店铺名称 | string | — | 可选 | 店铺名称 |
| 8 | oms_sn | oms订单号 | string | — | 可选 | oms订单号 |
| 9 | currency | 币别 | string | CNY | 可选 | 币别 |
| 10 | exchange_rate | 汇率 | float | 1 | 可选 | 汇率 |
| 11 | org_no | 组织编码 | string | — | 可选 | org_no |
| 12 | org_name | 组织名称 | string | — | 可选 | org_name |
| 13 | details | 订单明细 | array | — | 可选 | 订单明细 |
| 13.1 | raw_detail_id | 原始明细行ID | string | — | 可选 | 原始明细行ID |
| 13.2 | goods_id | 商品id | string | — | 可选 | goods_id |
| 13.3 | goods_no | 商品编码 | string | — | 必填 | goods_no |
| 13.4 | goods_name | 商品名称 | string | — | 可选 | 商品名称 |
| 13.5 | qty | 数量 | float | — | 可选 | 数量 |
| 13.6 | price | 单价 | float | — | 可选 | price |
| 13.7 | tax_price | 含税价 | float | — | 可选 | 含税价 |
| 13.8 | tax_amount | 价税合计 | int | — | 可选 | 价税合计 |
| 13.9 | amount | 金额 | float | — | 可选 | 金额 |
| 13.10 | tax | 税率 | float | 0.13 | 可选 | 税率 0.13 |
| 13.11 | fee | 费用金额 | float | — | 可选 | 费用金额 |
| 14 | raw_id | 原始ID | string | — | 可选 | raw_id |
| 15 | tax_amount | 加税合计 | float | — | 可选 | 加税合计 |
| 16 | qty | 总数量 | float | — | 可选 | 总数量 |
| 17 | count | 商品数 | float | — | 可选 | 商品数 |
暂无参数说明
轻易云集成平台的接口:对账模块-写入供应链数据(insert_chain),由轻易云数据集成平台 API 资产管理模块整理收纳,并随轻易云集成平台版本更新同步更新。