# Get orders **GET /orders** Retrieves a list of orders. **Currently returns all orders.** *(Future implementation may filter based on user role/ID).* ## Servers - Local development server: http://localhost:3000/api/v1 (Local development server) - Production server: https://referspecs-backend.onrender.com/api/v1 (Production server) ## Authentication methods - Bearer auth ## Parameters ## Responses ### 200 A list of orders (basic details) #### Body: application/json (array[object]) - **id** (string) Unique identifier for the order (CUID) - **userId** (string) CUID of the user who placed the order - **status** (string) Current status of the order (e.g., 'New', 'Processing', 'Shipped') - **createdAt** (string(date-time)) Timestamp when the order was created - **stripePaymentIntentId** (string | null) Associated Stripe Payment Intent ID ### 401 Unauthorized #### Body: application/json (object) - **message** (string) A message describing the error ### 500 Internal Server Error #### Body: application/json (object) - **message** (string) A message describing the error [Powered by Bump.sh](https://bump.sh)