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

Request Method 


GET

Request URL 


http://loyalty.sojo247.com/api/sojo-loyalty-members/check-account-exits?phone=phonenumber

Request params


ParameterRequiredTypeValueDescription
phoneyesString
Số điện thoại của khách hàng

Request headers


KeyRequiredValueDescription
popp-keyYes15d28286-05c9-4ee5-aa8d-7a370221b00aMã api-key popp cung cấp cho TNH
tokenYes{{token}}token bảo mật user của hệ thống TNH
requestIdYes
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

Response parameters


ParameterTypeDescription
codestringmã trả về, 00 là thành công, khác 00 là chưa thành công
messagestringnội dung thông báo trả về

Response Examples


"data": [
    {
  	"code": "00",
  	"message": "Thành công"
}"
  • No labels