Open login/register modal

This function will open a modal where the user can perform a log in to a ShopLogin account.
After the log in is succeeded, the accesstoken object will be returned to the callback method.



Success response

Response format: Accesstoken object
Response status code: 200
  "authorized": true,
  "accesstoken": "WsLD9MMgYABqTnxsRo6QJThmfA13dcWGS5mVa6OF628fWi4YiwgkzUGPQ4FLq0I6"

Error response

Response format: string
Response status code: 401
Api key not valid                        

Click here for description and full error list