Authenticates a user and returns a JWT token. This token is used to authenticate the user for all other storefront requests. JWTs expire after 2 hours.
Security
api_key
- https://public.inveterateapi.comhttps://public.inveterateapi.com/v2.0/storefront/auth
curl -i -X POST \
https://public.inveterateapi.com/v2.0/storefront/auth \
-H 'Content-Type: application/json' \
-H 'X-Inveterate-Api-Key: YOUR_API_KEY_HERE' \
-d '{
"merchantId": "string",
"usrEmail": "string",
"usrPasswd": "string"
}'Returned upon successful direct action to our database. Action is immediate.
The message associated with the response. Generally, the message only confirms the requested action. In the case of errors, the message will give insight into the source of the error.
Response
{ "message": "Success", "data": { "id": 1, "name": "John Doe" } }