Skip to navigation

Chi tiết khách hàng

Truyền đúng một trong hai: id hoặc uid. Scope yêu cầu: customer:read; agent cần quyền xem. Ngoài phạm vi dữ liệu của agent: trả 403 nếu tra theo id, 404 nếu tra theo uid; khách hàng thuộc tenant khác luôn trả 404.

Headers

X-Api-KeystringRequired

Query parameters

idstringOptional<=64 characters

ID nội bộ của khách hàng. Truyền đúng một trong id/uid.

uidstringOptional<=64 characters

UID công khai của khách hàng. Truyền đúng một trong id/uid.

Response

Khách hàng.

idstringOptional
uidstringOptional
tenantIdstringOptional
lifecycleStagesstringOptional
statusstringOptional
fullNamestringOptional
phonestringOptional

Có thể đã bị che.

emailstringOptional

Có thể đã bị che.

attributesmap from strings to anyOptional

Khoá theo fieldCode.

assignedAgentIdstringOptional
createdAtlongOptional
Epoch millis.
lastModifiedAtlongOptional
Epoch millis.
createdByobjectOptional
lastModifiedByobjectOptional
createdViaobjectOptional

Kênh tự động đã thực hiện thao tác ghi; null nếu nhân viên thao tác trực tiếp.

lastModifiedViaobjectOptional

Kênh tự động đã thực hiện thao tác ghi; null nếu nhân viên thao tác trực tiếp.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
502
Bad Gateway Error
503
Service Unavailable Error