loginWithGoogle

Allows to retrieve Customer structure from Google ID token

Parameters
email. string
platformId - integer
deviceId - string
googleIdToken - string

Result
Result will be Customer structure
{
    "Message": "ok",
    "Data": {
        "ApiKey": "1f31e71f-0f12-4024-aa40-71f9a060f8a7",
        "Email": "123@gmail.com",
        "PlatformId": 1,
        "DeviceId": "1234abcd",
        "FirstName": "Alber",
        "LastName": "Camus",
        "MobilePhone": 995512345678,
        "Culture": "en",
        "StatusId": 5
    },
    "ErrorCode": 0
}
StatusId values: 1 = Pending. 5 = Active

Comments