全部
在线测试
更新单条数据
接口地址: http://proxy-api.vv-tool.com/api/proxy/wms/baseProductTypeUpdate
接口介绍: 更新单条数据
请求方式: POST
返回格式: JSON
接口收费: 联系客服
频率限制: 10 次/秒
请求头参数
| 参数 | 类型 | 必选 | 值 | 示例 |
|---|---|---|---|---|
| Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请使用新的生成 token 接口 点击查看详情
请求参数
| 参数 | 类型 | 必选 | 描述 |
|---|---|---|---|
| type_id | int | 否 | 类别 ID |
| parent_id | int | 否 | 父级 ID |
| type_name | string | 否 | 类别名称 |
| consignor_id | int | 否 | 货主 ID |
| consignor_code | string | 否 | 货主编号 |
| consignor_name | string | 否 | 货主名称 |
| web_type_name | string | 否 | 网站显示名 |
| enable | int | 否 | 是否可用 |
| ciqname | string | 否 | 海关申报英文名 |
| ciqname_cn | string | 否 | 海关申报中文名 |
| goods_code | string | 否 | 海关编码 |
| order_no | int | 否 | 排序号 |
| category_id | int | 否 | 店铺类目 ID |
| remark | string | 否 | 备注 |
| quality_plan | string | 否 | 质检方案 |
| quality_proportion | int | 否 | 质检比例 |
| root_id | int | 否 | 根目录 ID |
| root_name | string | 否 | 根目录名 |
| full_type_id | string | 否 | 完全路径 ID |
| full_type_name | string | 否 | 完全路径名 |
| node_level | int | 否 | 节点级别 |
| create_id | int | 否 | 创建人 ID |
| creator | string | 否 | 创建人 |
| create_date | date | 否 | 创建时间 |
| modify_id | int | 否 | 修改人 ID |
| modifier | string | 否 | 修改人 |
| modify_date | date | 否 | 修改时间 |
| precut_position | string | 否 | 预制货位 |
| has_child | byte | 否 | 存在子集 |
| base_product_type_specification | array | 否 | |
| --type_spec_relation_id | int | 否 | 自增 ID |
| --type_id | int | 否 | 类目 ID |
| --type_name | string | 否 | 类目名称 |
| --specification_id | int | 否 | 属性项 ID |
| --specification_name | string | 否 | 属性项名称 |
| --spec_relation_type | string | 否 | 属性类别 |
| --full_type_id | string | 否 | 类目路径 ID |
| --full_type_name | string | 否 | 类目路径名称 |
| --input_mode | string | 否 | 输入方式 |
| --input_remark | string | 否 | 输入说明 |
| --is_must | byte | 否 | 是否必填 |
| --is_search | byte | 否 | 是否搜索 |
| --order_no | int | 否 | 排序号 |
| --enable | int | 否 | 是否可用 |
| --create_id | int | 否 | 创建人 ID |
| --creator | string | 否 | 创建人 |
| --create_date | date | 否 | 创建时间 |
| --modify_id | int | 否 | 修改人 ID |
| --modifier | string | 否 | 修改人 |
| --modify_date | date | 否 | 修改时间 |
| --is_edit_value | byte | 否 | 值可编辑 |
| --is_alias | byte | 否 | 存在别名 |
| --record_action | recordaction | 否 | 记录操作动作 |
| base_product_type_spec_value | array | 否 | |
| --type_spec_value_id | int | 否 | 类目属性值关系 ID |
| --type_id | int | 否 | 类目 ID |
| --type_name | string | 否 | 类目名称 |
| --specification_id | int | 否 | 属性项 ID |
| --specification_name | string | 否 | 属性项名称 |
| --spec_value_id | int | 否 | 属性值 ID |
| --spec_value | string | 否 | 属性值名称 |
| --spec_relation_type | string | 否 | 属性类别 |
| --full_type_id | string | 否 | 类目路径 ID |
| --full_type_name | string | 否 | 类目路径名称 |
| --order_no | int | 否 | 排序号 |
| --enable | int | 否 | 是否可用 |
| --create_id | int | 否 | 创建人 ID |
| --creator | string | 否 | 创建人 |
| --create_date | date | 否 | 创建时间 |
| --modify_id | int | 否 | 修改人 ID |
| --modifier | string | 否 | 修改人 |
| --modify_date | date | 否 | 修改时间 |
| --color | string | 否 | 颜色 |
| --record_action | recordaction | 否 | 记录操作动作 |
| record_action | recordaction | 否 | 记录操作动作 |
请求示例
请求代码示例
cURL请求代码示例
PHP请求代码示例
JAVA请求代码示例
响应参数
| 参数名称 | 类型 | 参数描述 |
|---|---|---|
| result | bool | |
| state | string | |
| dynamic | object | |
| msg | string | |
| data | int |
返回数据
响应代码
| 代码 | 代码描述 | 解决方案 |
|---|---|---|
| 0 | 成功 |
公共错误码点击查看详情
