You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Kiểm tra tài khoản với SĐT khách hàng mong muốn đăng ký thành viên loyalty đã tồn tại hay chưa
Request Method
Request URL
http://loyalty.sojo247.com/api/sojo-loyalty-members/check-account-exits?phone=phonenumber
Request params
| Parameter | Required | Type | Value | Description |
|---|
| phone | yes | String |
| Số điện thoại của khách hàng |
| Key | Required | Value | Description |
|---|
| popp-key | Yes | 15d28286-05c9-4ee5-aa8d-7a370221b00a | Mã api-key popp cung cấp cho TNH |
| token | Yes | {{token}} | token bảo mật user của hệ thống TNH |
| requestId | Yes |
| ID của user cần xem thông tin, id là duy nhất |
Request Examples
curl -X 'GET' \
'http://loyalty.sojo247.com/api/sojo-loyalty-members/check-account-exits?phone=phonenumber' \
-H 'accept: */*' \
-H 'Authorization: {{token}}'
Response parameters
| Parameter | Type | Description |
|---|
| code | string | mã trả về, 00 là thành công, khác 00 là chưa thành công |
| message | string | nội dung thông báo trả về |
Response Examples
"data": [
{
"code": "00",
"message": "Thành công"
}"