/yonbip/digitalModel/product/save{
"operation": {
"method": "none"
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | access_token | access_token | string | 1 | Required | 调用方应用token |
| 2 | detail | detail | object | 1 | Required | 物料详情 |
| 3 | purchaseUnit | purchaseUnit | string | 1 | Required | 采购单位id |
| 4 | purchaseUnit_Code | purchaseUnit_Code | string | 1 | Optional | 采购单位code |
| 5 | purchaseUnit_Name | purchaseUnit_Name | string | 1 | Optional | 采购单位名称 |
| 6 | inspectionUnit | inspectionUnit | long | 1 | Optional | 检验单位id |
| 7 | purchasePriceUnit | purchasePriceUnit | long | 1 | Required | 采购计价单位id 示例:0 |
| 8 | stockUnit | stockUnit | string | 1 | Required | 库存单位id |
| 9 | produceUnit | produceUnit | string | 1 | Required | 生产单位id |
| 10 | batchUnit | batchUnit | string | 1 | Required | 批发销售单位id |
| 11 | onlineUnit | onlineUnit | string | 1 | Required | 线上零售单位id |
| 12 | offlineUnit | offlineUnit | string | 1 | Required | 线下零售单位id |
| 13 | requireUnit | requireUnit | string | 1 | Required | 要货单位id |
| 14 | deliverQuantityChange | deliverQuantityChange | string | 1 | Required | 交货数量改变时, 1:单价不变重算金额、2:金额不变重算单价、 |
| 15 | orgId | orgId | string | 1 | Required | 管理组织id |
| 16 | code | code | string | 1 | Required | 物料编码 |
| 17 | name | name | muti_lang | 1 | Required | 物料名称,支持多语 |
| 18 | manageClass | manageClass | string | 1 | Required | 物料分类id |
| 19 | realProductAttribute | realProductAttribute | long | 1 | Required | 物料类型,1:实物物料,2:虚拟物料 示例:0 |
| 20 | unitUseType | unitUseType | long | 1 | Required | 设置规则, 1:使用物料模板的计量单位、2:使用物料自己的计量单位、 示例:0 |
| 21 | unit | unit | string | 1 | Required | 主计量单位id |
| 22 | _status | _status | string | 1 | Required | 操作标识, Insert:新增、Update:更新 |
| 23 | productOrgs | productOrgs | object | 1 | Required | 物料分配的组织 |
| 24 | id | id | string | 1 | Optional | 主键ID 新增时无需填写,修改时必填 |
| 25 | pubts | pubts | string | 1 | Optional | 时间戳,格式为yyyy-MM-dd HHmmss |
| 26 | productId | productId | string | 1 | Optional | 物料ID |
| 27 | rangeType | rangeType | string | 1 | Required | 物料分配范围类型 |
| 28 | orgId_code | orgId_code | string | 1 | Optional | 组织code |
| 29 | orgId | orgId | string | 1 | Optional | 组织ID |
| 30 | isCreator | isCreator | boolean | 1 | Required | 是否创建者, true:是、false:否、 示例:true |
| 31 | isApplied | isApplied | boolean | 1 | Optional | 是否被分配者使用, true:是、false:否、 示例:true |
| 32 | _status | _status | string | 1 | Required | 操作标识, Insert:新增、Update:更新 |
No parameter reference available
The 物料档案保存_v1 API (/yonbip/digitalModel/product/save) of 用友BIP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 用友BIP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.