宠物商店 Petstore
  1. 店铺
宠物商店 Petstore
  • 接口文档说明
  • 宠物
    • 查询宠物详情
      GET
    • 新建宠物信息
      POST
    • form-data 方式更新宠物信息
      POST
    • 删除宠物信息
      DELETE
    • 根据状态查找宠物列表
      GET
    • 上传宠物图片
      POST
    • 修改宠物信息
      PUT
    • 根据 tag 查找宠物列表
      GET
  • 店铺
    • 根据状态查询宠物库存数
      GET
    • 下单购买宠物
      POST
    • 查询订单详情
      GET
    • 删除订单
      DELETE
  • 用户
    • 新建用户
      POST
    • List 方式批量创建用户
      POST
    • Array 方式批量创建用户
      POST
    • 登录
      GET
    • 查询用户
      GET
    • 退出登录
      GET
    • 根据用户名查询用户信息
      GET
    • 更新用户信息
      PUT
    • 删除用户
      DELETE
  1. 店铺

查询订单详情

正式环境
https://petstore-prod.apifox.cn
正式环境
https://petstore-prod.apifox.cn
GET
/store/order/{orderId}
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://petstore-prod.apifox.cn/store/order/'
响应示例响应示例
200 - 示例 1
{
  "id": 0,
  "petId": 0,
  "quantity": 0,
  "shipDate": "2019-08-24T14:15:22Z",
  "status": "placed",
  "complete": false
}

请求参数

Path 参数
orderId
必需
ID of pet that needs to be fetched

返回响应

🟢200成功
application/json
Body
id
integer <int64>
可选
petId
integer <int64>
可选
quantity
integer <int32>
可选
shipDate
string <date-time>
可选
status
enum<string> 
可选
Order Status
枚举值:
placedapproveddelivered
complete
boolean 
可选
默认值:
false
🟠400Invalid ID supplied
🟠404Order not found
上一页
下单购买宠物
下一页
删除订单
Built with