My Project
  1. store
My Project
  • Untitled Doc
  • Sample APIs
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Finds Pets by status
      GET
    • Find pet by ID
      GET
    • Deletes a pet
      DELETE
  • pet
    • uploads an image
      POST
    • Finds Pets by tags
      GET
    • Updates a pet in the store with form data
      POST
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Creates list of users with given input array
      POST
    • Get user by user name
      GET
    • Updated user
      PUT
    • Delete user
      DELETE
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Creates list of users with given input array
      POST
    • Create user
      POST
  • 👀 A_接口状态_看效果
    • 1_开发中_全参数测试-接口文档默认mock
      POST
  • User
    • Authentication
      • refresh_token_create
      • logoutAllDevices
      • logoutDevice
      • sendOTP
    • Customer
      • AuthenticateCustomer
      • GetCustomerDetails
      • UpdateCustomer
      • DeleteCustomer
  • Location
    • Country
      • ListCountries
    • Region
      • GetRegionByPoint
    • Address
      • ListAddresses
      • CreateAddress
      • UpdateAddress
      • DeleteAddress
  • Wallet
    • listWalletDetails
    • updateWallet
  • FCM
    • Devices
      • devices_list
      • devices_create
      • devices_retrieve
      • devices_update
      • devices_destroy
      • devices_partial_update
    • Notification
      • listNotifications
      • deleteNotification
      • bulkDeleteNotifications
  • AppInfo
    • getSocialAccounts
    • getAppInfo
    • listFaqs
  1. store

Find purchase order by ID

GET
/store/order/{orderId}
store

For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/order/'
Response Response Example
200 - Example 1
{
    "id": 0,
    "petId": 0,
    "quantity": 0,
    "shipDate": "2019-08-24T14:15:22Z",
    "status": "placed",
    "complete": true
}

Request

Path Params
orderId
integer <int64>
required
ID of pet that needs to be fetched
>= 1<= 10

Responses

🟢200successful operation
application/json
Body
id
integer <int64>
optional
petId
integer <int64>
optional
quantity
integer <int32>
optional
shipDate
string <date-time>
optional
status
enum<string> 
optional
Order Status
Allowed values:
placedapproveddelivered
complete
boolean 
optional
🟠400Invalid ID supplied
🟠404Order not found
Previous
Place an order for a pet
Next
Delete purchase order by ID
Built with