v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Staffs

Get staff

To retrieve staff<br>獲取指定管理員。

get/staffs/{id}

Path parameters

idstring required

Staff ID<br>管理員 ID

Response

OK

idstring

ID

emailstring

Email<br>電郵

namestring

Name<br>員工名稱

locale_codestring

Locale of staff using<br>員工語系

user_idstring nullable

user ID<br>使用者 ID

created_atstring

Created Time<br>創建時間

merchant_idsstring[]

Associated merchant IDs this staff belongs to<br>帳號服務的店鋪 ID

organization_idsstring[]

Associated organization IDs this staff belongs to<br>帳號服務的組織 ID

role_keysstring[]
profile_image_urlstring

Profile image url<br> 個人資料相片URL

channel_idsstring[]

Channel IDs<br> 頻道 IDs

Example response

{
  "id": "5f8e5dc08a8bb70a5c9cd93c",
  "user_id": "5f8e5dc08a8bb70a5c9cd93b",
  "created_at": "2018-05-15T09:09:04.497Z",
  "merchant_ids": [
    "5afaa3b0e38809312d00002e"
  ],
  "organization_ids": [
    "5afaa3b0e38809312d00002e"
  ],
  "profile_image_url": "https://shoplineimg.com/assets/misc/placeholder-user-default.png",
  "channel_ids": [
    "606ed59eb230660044e8ef7a"
  ]
}