本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
ID
, email
, name
, mobile
and role
are the information of the user who authorized the app to be installed and it is not always the store owner as it can be one of the store team.Authorization: Bearer ********************
curl --location --request GET 'https://accounts.salla.sa/oauth2/user/info'
user
or team
, where user
can be an admin, as a the owner of the store, while team
can be referred to employees.{
"status": 200,
"success": true,
"data": {
"id": 1689171978,
"name": "Test User",
"email": "test@gmail.com",
"mobile": "+96652318526",
"role": "user",
"created_at": "2021-03-27 21:51:56",
"merchant": {
"id": 847769313,
"username": "User_name123",
"name": "User Name",
"avatar": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"store_location": "21.589481104199123,39.67869125586653",
"plan": "pro",
"status": "active",
"domain": "https://www.domain.com",
"tax_number": "424243241321234",
"commercial_number": "3552100509",
"created_at": "2021-12-31 12:59:59"
}
}
}
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升