Appearance
Provider owner-update
PUTCH
v1/api/owner
Request
name | necessary | type | default | describe |
---|---|---|---|---|
first_name | true | string | - | 名(first name) |
last_name | true | string | - | 姓(last name) |
avatar | true | string | - | 头像(avatar) |
true | string | - | 邮箱(email) | |
npi | true | string | - | 执照编号(License Number) |
phone | false | string | - | 电话号码(phone) |
area_code | false | string | - | 国际区号(area code) |
company_name | false | string | - | 公司名称(company name) |
company_description | false | string | - | 公司介绍(company description) |
country | true | string | - | 国家(country) |
address | true | string | - | 地址(address) |
address_second | true | string | - | 地址第二行(address second) |
room_number | true | string | - | 房间号(room number) |
state | true | string | - | 州(state) |
city | true | string | - | 城市(city) |
post_code | true | string | - | 邮政编号(post code) |
brand_name | true | string | - | 品牌名字(brand name) |
brand_logo | true | string | - | 品牌logo(brand logo) |
website_url | true | string | - | 网站地址(website URL) |
facebook_url | true | string | - | Facebook地址(Facebook URL) |
twitter_url | true | string | - | Twitter地址(Twitter URL) |
linkedin_url | true | string | - | Linkedin地址(Linkedin URL) |
Response data struct
name | necessary | type | default | describe |
---|---|---|---|---|
code | true | int | - | 错误码(error code) |
message | true | string | - | 错误信息(error message) |
cause | true | string | - | 错误原因(error cause) |
details | true | object | - | 详情(details) |
Example
- Body of raw:
json
{
"company_description": "test description",
"country": "",
"address": "xxx",
}
{
"company_description": "test description",
"country": "",
"address": "xxx",
}
- Header:
key | value |
---|---|
x-api-key | your's key value |
- Response body:
json
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}
{
"code": 0,
"message": "Success",
"cause": "",
"details": {}
}