Petstore API

Delete purchase order by identifier.

For valid response try integer IDs with value < 1000. Anything above 1000 or non-integers will generate API errors.

delete
/api/v3/store/order/{orderId}

Path Parameters

orderIdinteger(int64)required

Response

order deleted

delete/store/order/{orderId}
 
Invalid URL value '/api/v3/store/order/'
- missing protocol

user

Operations about user

Create user.

This can only be done by the logged in user.

post
/api/v3/user

Body

Created user object

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

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

post/user

Body

{}
 
Invalid URL value '/api/v3/user'
- missing protocol

Creates list of users with given input array.

Creates list of users with given input array.

post
/api/v3/user/createWithList

Body

application/json
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

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

post/user/createWithList

Body

{}
 
Invalid URL value '/api/v3/user/createWithList'
- missing protocol

Logs user into the system.

Log into the system.

get
/api/v3/user/login

Query Parameters

usernamestring

The user name for login

passwordstring

The password for login in clear text

Response

successful operation

string
get/user/login
 
Invalid URL value '/api/v3/user/login'
- missing protocol