全部
在线测试
通过 ID 获取单条数据
接口地址: http://proxy-api.vv-tool.com/api/proxy/wms/specRelationGetById
接口介绍: 通过 ID 获取单条数据
请求方式: POST
返回格式: JSON
接口收费: 联系客服
频率限制: 10 次/秒
请求头参数
| 参数 | 类型 | 必选 | 值 | 示例 |
|---|---|---|---|---|
| Authorization | string | 是 | 授权 access_token | Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx |
请使用新的生成 token 接口 点击查看详情
请求参数
| 参数 | 类型 | 必选 | 描述 |
|---|---|---|---|
| id | int | 是 | id |
请求示例
请求代码示例
cURL请求代码示例
PHP请求代码示例
JAVA请求代码示例
响应参数
| 参数名称 | 类型 | 参数描述 |
|---|---|---|
| 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 | 记录操作动作 |
返回数据
响应代码
| 代码 | 代码描述 | 解决方案 |
|---|---|---|
| 0 | 成功 |
公共错误码点击查看详情
