Skip to content

Provider member update

PUTCH v1/api/owner

Request

namenecessarytypedefaultdescribe
first_nametruestring-名(first name)
last_nametruestring-姓(last name)
avatartruestring-头像(avatar)
emailtruestring-邮箱(email)
npitruestring-执照编号(License Number)
phonefalsestring-电话号码(phone)
area_codefalsestring-国际区号(area code)
company_namefalsestring-公司名称(company name)
company_descriptionfalsestring-公司介绍(company description)
countrytruestring-国家(country)
addresstruestring-地址(address)
address_secondtruestring-地址第二行(address second)
room_numbertruestring-房间号(room number)
statetruestring-州(state)
citytruestring-城市(city)
post_codetruestring-邮政编号(post code)
brand_nametruestring-品牌名字(brand name)
brand_logotruestring-品牌logo(brand logo)
website_urltruestring-网站地址(website URL)
facebook_urltruestring-Facebook地址(Facebook URL)
twitter_urltruestring-Twitter地址(Twitter URL)
linkedin_urltruestring-Linkedin地址(Linkedin URL)

Response data struct

namenecessarytypedefaultdescribe
codetrueint-错误码(error code)
messagetruestring-错误信息(error message)
causetruestring-错误原因(error cause)
detailstrueobject-详情(details)

Example

  • Body of raw:
json
{
    "admin_id": [31],
    "first_name": "j",
    "last_name": "k",
    "avatar": "",
    "role": 3,
    "email": "user@email.com",
    "npi": "8",
    "area_code": "+86",
    "phone": "",
    "sex": 1,
    "status": 1
}
{
    "admin_id": [31],
    "first_name": "j",
    "last_name": "k",
    "avatar": "",
    "role": 3,
    "email": "user@email.com",
    "npi": "8",
    "area_code": "+86",
    "phone": "",
    "sex": 1,
    "status": 1
}
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}