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
Request Method
GET
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 |
Request headers
| Key | Required | Value | Description |
|---|---|---|---|
Request Examples
curl -X 'GET' \
'http://loyalty.sojo247.com/api/sojo-loyalty-members/check-account-exits?phone=phonenumber' \
-H 'accept: */*' \
-H 'Authorization: {{token}}'
Response
Response parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | mã trả về, 1 là đã tồn tại, 0 là không tồn tại |
Response Examples
0
Add Comment