荣耀保修查询 激活状态、保修、购买地点
- 相关
- 华为保修查询
- 接口:http://api.3023data.com/honor/coverage?sn=AMFU6R1716044850
- 方式:GET
- 支持:IMEI / MEID / MAC / 序列号
- 价格:0.4元/次 价格优惠,最低至2.5折
- 2.5折时:0.1元/次
请求参数
参数 | 位置 | 必填 | 值 |
key | header | 是 | key |
sn | url | 是 | IMEI/MEID/MAC/序列号 |
key in request header or url
返回示例
{
"code": 0,
"data": {
"imei": "",
"meid": "",
"mac": "",
"sn": "AMFU6R1716044850",
"brand": "荣耀",
"model": "荣耀50 SE 8GB+128GB 流光幻镜 双卡 全网通版 (JLH-AN00)",
"description": "荣耀50 SE 8GB+128GB 全网通标配版 (JLH-AN00)",
"modelnumber": "JLH-AN00",
"identifier": "JuliaH-AN00A",
"activated": true,
"purchase": {
"date": "2022/2/15",
"country": "China"
},
"coverage": {
"status": "Out Of Warranty",
"date": "2023/2/16",
"mode": "全维保"
},
"care": "No",
"electronic-card": "2022/2/15",
"manufacture": {
"date": "20R1/7/16"
},
"pre-activated": "No",
"refurbished": "No",
"demo": "No",
"services": [ //权益(除1年维保、7天退机、15天换机、保养服务外的额外服务)
{
"name": "荣耀AR贴膜保养服务2年2次",
"date": "2025/7/29"
}
],
"offering": "OFFE00189003",
"item": "51096LGX",
"sku": "51096LGX",
"image": "https://selfservice-cn.hihonor.com/ccpcmd/services/dispatch/download/secured/CCPC/EN/ccpc/getProductInformationPicture/1?imageId=M1T5A71N612327970816974849"
},
"source": "m-a",
"cost": 0.4,
"balance": 3023
}
接口错误码所有接口错误码一致
400 | Bad Request | 请求参数错误 |
404 | Not Found | 无效或不存在 |
502 | Bad Gateway | 不支持或查询失败 |
503 | Service Unavailable | 繁忙或者临时维护,请稍后重试 |
410 | Gone | 接口已失效/下线 |
code = 错误码 (int),message = 错误信息 (string)
查询成功:code===0
每次请求均会返回 cost(扣费) 和 balance(余额),方便随时记录和监控
错误(400)和无效(404)扣费 0.02 元,其他错误不扣费
用户错误码
401 | Unauthorized | 密钥无效 |
402 | Payment Required | 余额不足 |
403 | Forbidden | 无权限(IP白名单限制) |
接口具体错误信息见 message
如果前端需要返回错误信息,请直接返回 message 的内容