Documentation is still being updated. Some content maybe unfinished.
A valid request URL is required to generate request examples{
"user_id": "42",
"first_name": "John",
"last_name": "Doe",
"display_name": "John Doe",
"role": "Customer",
"avatar_urls": {
"24": "https://secure.gravatar.com/avatar/example?s=24&d=mm&r=g",
"48": "https://secure.gravatar.com/avatar/example?s=48&d=mm&r=g",
"96": "https://secure.gravatar.com/avatar/example?s=96&d=mm&r=g"
},
"email": "john.doe@example.com",
"extras": {},
"dev_note": "Don't forget to store the users login information in order to authenticate all other routes with CoCart."
}Logs in a user and creates a session.
A valid request URL is required to generate request examples{
"user_id": "42",
"first_name": "John",
"last_name": "Doe",
"display_name": "John Doe",
"role": "Customer",
"avatar_urls": {
"24": "https://secure.gravatar.com/avatar/example?s=24&d=mm&r=g",
"48": "https://secure.gravatar.com/avatar/example?s=48&d=mm&r=g",
"96": "https://secure.gravatar.com/avatar/example?s=96&d=mm&r=g"
},
"email": "john.doe@example.com",
"extras": {},
"dev_note": "Don't forget to store the users login information in order to authenticate all other routes with CoCart."
}User logged in successfully.
Unique ID of the user on the site.
The first name of the user (if any).
The last name of the user (if any).
The display name of the user (if any).
The role type assigned to the user.
The avatar URLs of the user for each avatar size registered.
Show child attributes
The email address of the user.
Extra details added via the filter.
A message to developers.
Was this page helpful?