---
title: "Find purchase order by ID."
method: GET
path: "/store/order/{orderId}"
tags: ["store"]
---

# Find purchase order by ID.

`GET /store/order/{orderId}`

For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions.

## Path parameters

- `orderId` integer, required

## Response `200`

successful operation

- Order
  - `id` integer
  - `petId` integer
  - `quantity` integer
  - `shipDate` string, date-time
  - `status` 'placed' | 'approved' | 'delivered' — Order Status
  - `complete` boolean

## Other responses

- `400` — Invalid ID supplied
- `404` — Order not found
- `default` — Unexpected error

## Changes

- **2025-03-12** `253de9e0f0ae` — 1 breaking, 6 warning, 2 info
  - removed the media type `application/xml` for the response with the status `default`
  - removed the optional property `complete` from the response with the `default` status
  - removed the optional property `id` from the response with the `default` status
  - removed the optional property `petId` from the response with the `default` status
  - …5 more

[Change history](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/changes/store/order/:orderId/get.md)

---

[API](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0.md) · [All operations](https://skmtc.dev/swagger/apis/swagger-petstore-openapi-3-0/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/swagger/swagger-petstore-openapi-3-0/revisions/e1a2480ffa44/schema)
