修改用户发票抬头
简要描述
- 修改用户发票抬头
请求URL
{{domian}}/shop/userInvoiceHeader
请求方式
- PUT
http请求header
- Content-Type:application/json
- charset:utf-8 `
- Authorization : Bearer {{access_token}}
请求参数
参数名 | 说明 | 必选 | 类型 | 示例 |
---|---|---|---|---|
id | 抬头id | 是 | Integer | 1 |
headerType | 抬头类型 person:个人, enterprise:企业 | 是 | String | enterprise |
headerName | 抬头 | 是 | String | 南京盘盈信息科技有限公司 |
taxNo | 税号,企业必填 | 否 | String | 91310104084123648T |
defaultInvoice | 是否默认发票抬头(0:否 1:是) | 否 | Integer | 1 |
... | 参考实体类 |
请求示例
{
"id": 1,
"headerType": "enterprise", "headerName": "南京盘盈信息科技有限公司", "taxNo": "91310104084123648T", "defaultInvoice": 1 }
返回示例
成功:
{
"code": 0, "msg": null, "data": true }
失败:
{
"code": 401,
"msg": "error",
"data": "Full authentication is required to access this resource"
}
返回参数说明
参数名 | 类型 | 说明 | 示例 |
---|---|---|---|
code | int | 返回状态码 | 0:成功 401:鉴权失败 |
msg | String | 状态描述 | |
data | String | 返回数据 | true |