1. Order Management
Pet Store
  • Store API
    • Start your Apidog journey
    • Pet
      • List Pets
      • Create Pet
      • Get Pet
      • Update Pet
      • Delete Pet
      • Upload Pet Image
    • Chat
      • Pet Care AI Consultation
    • Store
      • Get Store Inventory
      • List all inventories
      • Create Order
      • Get Order
      • Cancel Order
      • Callback Example
    • Payments
      • Pay Order
    • User
      • Create User
      • Update User
      • Get User
      • Delete User Account
      • Create Authentication Token
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
      • SSE example
      • SOAP example
    • Schemas
      • Pet
      • User
      • PetCollection
      • OrderPayment
      • Bank Card
      • Order
      • Bank Account
      • ApiResponse
      • Error
  • Admin API
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
        GET
      • Force Cancel Order
        POST
    • Audit Logs
      • Get Audit Log Details
    • Schemas
      • AuditLog
  1. Order Management

List All Orders

GET
/orders
Retrieve a global list of orders with administrative filtering.

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Query Params

Responses

🟢200
application/json
List of orders
Bodyapplication/json

🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠404NotFound
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/orders?status=undefined&page=undefined&limit=undefined' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "data": [
        {
            "petId": "019b4132-70aa-764f-b315-e2803d882a24",
            "userId": "019b4138-e0af-70b9-8f0c-6ea97d495dfa",
            "status": "PLACED",
            "totalAmount": "200.99",
            "currency": "USD"
        },
        {
            "petId": "019b4132-70aa-764f-b315-e2803d882a24",
            "userId": "019b4138-e0af-70b9-8f0c-6ea97d495dfa",
            "status": "APPROVED",
            "totalAmount": "75.00",
            "currency": "GBP"
        },
        {
            "petId": "019b4132-70aa-764f-b315-e2803d882a24",
            "userId": "019b4128-6a6b-777c-9ae8-335e962c68d8",
            "status": "APPROVED",
            "totalAmount": "200.99",
            "currency": "USD"
        }
    ],
    "pagination": {
        "page": -88491541,
        "limit": -17309436,
        "totalItems": -27527088,
        "totalPages": 28335847
    }
}
Modified at 2026-05-13 03:16:01
Previous
Update User Status
Next
Force Cancel Order
Built with