CyberStore Visitor Web Service
MethodLogin
CyberStore Visitor Web Service > All Operations Resource Group : Login (Method)
Description
Login a shopper.  Introduced in 2.19.4.
Request (LoginSoapIn)

The request body is of type Login.

Request Body Parameters

NameDescriptionData Type
The user name for the account to login.xml:string
The password for the account to loign.xml:string
Example
The following example shows how to perform the web operation in CyberStore.
// Example: Login the account

MakeAJAXCall("Visitor.Login", {
    Username: 'sbrown@bikesblades.com',
    Password: 'P@$sW0Rd'
}, console.log)
200 Response (LoginSoapOut)

The response body is of type LoginResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object.

{
    "Data": {
        "SessionToken": "d04c7932-0d76-47cb-b550-1577d72dffa4"
    },
    "Result": {
        "Success": true,
        "Message": "The account has been logged-in successfully.",
        "ElapsedTime": "766 ms"
    }
}

 

xml:string
See Also
All Operations Resource GroupCyberStore Visitor Web Service