Agents
Get Agent
Changed onTo get agent information by inputing agent ID<br>輸入員工ID取得該員工資訊
get/agents/{id}
Request
- Base URLhttps://open.shopline.io/v1
- URLhttps://open.shopline.io/v1/agents/{id}
- AuthHTTP bearer
Path parameters
idstring required
Agent ID<br>員工ID
Query parameters
excludes[]string[]
Could exclude certain parameters in the response<br>結果要排除哪些參數
[ "id" ]
fields[]string[]
Could only show certain parameters in the response<br>結果只顯示哪些參數
[ "id" ]
Response
OK
Example response
{
"id": "61ee85739fdc3f16a1b9aa07",
"email": "cindy@shopline.com",
"name": "Cindy",
"phone": "0987654321",
"is_working": true,
"channel_ids": [
"61ee85739fdc3f16a1b9aa07",
"61ee85739fdc3f16a1b9aa08"
]
}Changes
- info
endpoint added
- info