Feature Pack 7

Login a registered shopper

The following example shows how to login a registered shopper.

Request


POST /wcs/resources/store/10101/loginidentity HTTPS/1.1
Host: testserver.mycompany.com
Content-Type: application/json

{
  "logonId" : "rest",
  "logonPassword" : "passw0rd"
}

Response


HTTPS/1.1 201 Created
Content-Type: application/json

{
   "WCToken": "xxxxxxxxxxxxxxxxxxxxxxx",
   "WCTrustedToken": "xxxxxxxxxxxxxxxxxxxxxxxxx"
   "personalizationID": "1320436510481-2",
   "userId": "3"
}