Create a session with username and password

Creates a session with a specified username and password.

SecurityAPI Key: PublishableApiKey
Request
Request Body schema: application/json
username
required
string

User's username.

password
required
string

User's current password.

post
/storefront/login
Request samples
application/json
{ "username": "string", "password": "string" }
Responses

201

Logged into account.

401

Unauthorized access. Invalid credentials used.

Response samples
application/json
{ "id": "jwt_0YV7DEJX80CDRAKVTV478ZNJDR", "token": "string", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "expiredTime": "2019-08-24T14:15:22Z" }