全部
在线测试
新增单条数据,并返回新增后的 ID 值
接口地址: http://proxy-api.vv-tool.com/api/proxy/wms/specRelationAdd
接口介绍: 新增单条数据,并返回新增后的 ID 值
请求方式: POST
返回格式: JSON
接口收费: 联系客服
频率限制: 10 次/秒
请求头参数
| 参数 | 类型 | 必选 | 值 | 示例 |
|---|---|---|---|---|
| Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请使用新的生成 token 接口 点击查看详情
请求参数
| 参数 | 类型 | 必选 | 描述 |
|---|---|---|---|
| spec_relation_id | int | 否 | 商品规格 ID |
| product_id | int | 否 | 商品 ID |
| product_code | string | 否 | 编号 |
| product_name | string | 否 | 商品名称 |
| specification_id | int | 否 | 规格 ID |
| specification_name | string | 否 | 规格名称 |
| order_no | int | 否 | 排序号 |
| create_id | int | 否 | 创建人 ID |
| creator | string | 否 | 创建人 |
| create_date | date | 否 | 创建时间 |
| modify_id | int | 否 | 修改人 ID |
| modifier | string | 否 | 修改人 |
| modify_date | date | 否 | 修改时间 |
| enable | int | 否 | 是否可用 |
| base_product_info_spec_value_relation | array | 否 | |
| --spec_value_relation_id | int | 否 | 管理 ID |
| --spec_relation_id | int | 否 | 商品规格关联 ID |
| --product_id | int | 否 | 商品 ID |
| --product_code | string | 否 | 编号 |
| --product_name | string | 否 | 商品名称 |
| --specification_id | int | 否 | 规格 ID |
| --specification_name | string | 否 | 规格名称 |
| --spec_value_id | int | 否 | 规格值 ID |
| --spec_value | string | 否 | 规格值 |
| --order_no | int | 否 | 排序号 |
| --create_id | int | 否 | 创建人 ID |
| --creator | string | 否 | 创建人 |
| --create_date | date | 否 | 创建时间 |
| --modify_id | int | 否 | 修改人 ID |
| --modifier | string | 否 | 修改人 |
| --modify_date | date | 否 | 修改时间 |
| --enable | int | 否 | 是否可用 |
| --record_action | recordaction | 否 | 记录操作动作 |
| record_action | recordaction | 否 | 记录操作动作 |
请求示例
请求代码示例
cURL请求代码示例
PHP请求代码示例
JAVA请求代码示例
响应参数
| 参数名称 | 类型 | 参数描述 |
|---|---|---|
| result | bool | |
| state | string | |
| dynamic | object | |
| msg | string | |
| data | int |
返回数据
响应代码
| 代码 | 代码描述 | 解决方案 |
|---|---|---|
| 0 | 成功 |
公共错误码点击查看详情
