PUT api/Session

If called without a sessionRequest object this will create a new placeholder session which is not logged in. Items can be added to the basket for this session, and then the user can log in later. If called with a sessionRequest and a SessionId in the headers, it will log in an existing session.

Request Information

URI Parameters

None.

Body Parameters

SessionRequest

SessionRequest
NameDescriptionTypeAdditional information
Email

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "password": "sample string 2"
}

Response Information

Resource Description

Session

Session
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

User

User

None.

Response Formats

application/json, text/json

Sample:

Sample not available.