Skip to content

Provider owner-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
{
    "company_description": "test description",
    "country": "",
    "address": "xxx",
}
{
    "company_description": "test description",
    "country": "",
    "address": "xxx",
}
  • Header:
keyvalue
x-api-keyyour's key value
  • Response body:
json
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}
{
    "code": 0,
    "message": "Success",
    "cause": "",
    "details": {}
}