successful operation
Logs out current logged in user session.
Log user out of the system.
get
/api/v3/user/logout
Response
Response
get/user/logout
Invalid URL value '/api/v3/user/logout'
- missing protocol
- missing protocol
Get user by user name.
Get user detail based on username.
get
/api/v3/user/{username}
Path Parameters
usernamestringrequired
The name that needs to be fetched. Use user1 for testing
Response
Response
successful operation
User
idinteger(int64)
Example:10
usernamestring
Example:theUser
firstNamestring
Example:John
lastNamestring
Example:James
emailstring
Example:john@email.com
passwordstring
Example:12345
phonestring
Example:12345
userStatusinteger(int32)
User Status
Example:1
get/user/{username}
Path Parameters
Invalid URL value '/api/v3/user/'
- missing protocol
- missing protocol
Update user resource.
This can only be done by the logged in user.
put
/api/v3/user/{username}
Path Parameters
usernamestringrequired
name that need to be deleted
Body
Body
Update an existent user in the store
User
idinteger(int64)
Example:10
usernamestring
Example:theUser
firstNamestring
Example:John
lastNamestring
Example:James
emailstring
Example:john@email.com
passwordstring
Example:12345
phonestring
Example:12345
userStatusinteger(int32)
User Status
Example:1
Response
Response
successful operation
put/user/{username}
Path Parameters
Body
{}
Invalid URL value '/api/v3/user/'
- missing protocol
- missing protocol
Delete user resource.
This can only be done by the logged in user.
delete
/api/v3/user/{username}
Path Parameters
usernamestringrequired
The name that needs to be deleted
Response
Response
User deleted
delete/user/{username}
Path Parameters
Invalid URL value '/api/v3/user/'
- missing protocol
- missing protocol
Order
objectidinteger(int64)
Example:10
petIdinteger(int64)
Example:198772
quantityinteger(int32)
Example:7
shipDatestring(date-time)
statusstring
Order Status
Allowed values:placedapproveddelivered
Example:approved
completeboolean
Example