## 设置logo接口 注意:k5、m1机型不支持logo打印,设置无效 请求地址:`https://open-api.10ss.net/printer/seticon` 请求方式:POST ### 说明 * logo图片地址需可访问 * logo打印结果可能与原图有出入 * 设置成功以后每次打印订单将会在订单头部打印logo ### 所需参数 |名 称|类 型|描 述| |----|----|----| |client_id|string|开发者的应用ID,在[开放平台](https://dev.10ss.net)创建应用时获得| |access_token|string|授权的token 必要参数| |machine_code|string|易联云打印机终端号| |img_url|string|图片地址,图片宽度最大为350px,文件大小不能超过40Kb| |sign|string|签名 详见API文档列表-[接口签名](../apiprotocol.md)| |id|string|UUID4 详见API文档列表-[uuid4](../apiprotocol.md)| |timestamp|int|当前服务器时间戳(10位)| ### 返回详情 ~~~ {"error":"0","error_description":"success"} {"error":"8","error_description":"打印机信息错误,参数有误"} {"error":"10","error_description":"权限不足"} {"error":"11","error_description":"sign验证失败"} {"error":"12","error_description":"缺少必要参数"} {"error":"18","error_description":"access_token已过期,请刷新access_token或者重新授权"} {"error":"19","error_description":"应用未上架或已下架"} {"error":"28","error_description":"设置logo失败"} {'error':'33', 'error_description':'Uuid不合法'} ~~~