0min
Login
POST
HEADER PARAMETERS
X-Violet-App-Secretstring
X-Violet-App-Idinteger
BODY PARAMETERS
body
LoginRequestLogin Request
usernamestring*
User Email Address
passwordstring*
User Password
RESPONSES
200
successful operation
LoginResponse
Login Response
idinteger<int64>
first_namestring*
The users first name
last_namestring*
The users last name
passwordstring*
The users raw desired password
emailstring*
The users unique email address
merchant_idinteger<int32>
The Id of the Store the User is associated to.
typestring<ADMIN | MERCHANT | USER | DEVELOPER>*
The allowed values for the user type
verifiedboolean
If a user has verified their emailed address
statusstring<INACTIVE | ACTIVE | DISABLED>
The status of the user
date_createdstring<date-time>
Date of account creation
date_last_modifiedstring<date-time>
Date of last account update
roles
Role[]tokenstring
Users Access Token. Currently expires after 1440 minutes.
refresh_tokenstring
Users Refresh Token. Never expires.