Rupa Rawi - Revou Group Project
  1. order
Rupa Rawi - Revou Group Project
  • auth
    • register user
      POST
    • login
      POST
    • refresh token
      POST
  • user
    • address
      • create address
      • get all address
      • update address
      • delete address
    • payment method
      • get all payment methods
      • delete payment method
      • update payment method
      • create payment method
    • update own profile
      PUT
    • get own profile
      GET
    • get public profile
      GET
  • product
    • category
      • get categories tree
      • get categories detail
    • wishlist
      • add item to wishlist
      • remove item to wishlist
      • get wishlist
    • promotions
      • get promotion detail (public)
      • get active promotions (public)
    • get product details (public)
      GET
    • get product list (public)
      GET
    • get public vendor products
      GET
  • admin
    • category
      • create category
      • update category
      • soft delete category
      • create subcategory
    • vendor management
      • get all vendors
      • vendor application review
    • promotions
      • get all promotions
      • create promotion
      • update promotion
    • get admin logs
      GET
  • vendor
    • product
      • soft delete product
      • create product
      • update product
      • get vendor products
    • vendor apply
      POST
    • get vendor profile
      GET
    • update vendor profile
      PUT
    • vendor stats
      GET
    • Vendor recent orders
      GET
  • order
    • cart
      • add item to cart
      • update item in cart
      • delete item in cart
      • get cart
    • update order status
      PUT
    • get order
      GET
    • get all orders
      GET
    • pre-checkout calculation
      POST
    • order checkout
      POST
  • article
    • delete article
    • create article
    • get article
    • get article detail
    • update article
  • product review
    • create review product
    • get product reviews by product id
    • get product review detail
    • update product review detail
    • delete product review
  • testimony
    • create testimonial
    • update testimonial
    • get testimonial
    • delete testimonial
  1. order

get all orders

Developing
GET
order
class OrderStatus(Enum):
PENDING = "pending"
PROCESSING = "processing"
SHIPPED = "shipped"
DELIVERED = "delivered"
CANCELLED = "cancelled"
RETURNED = "returned"
COMPLETED = "completed"
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'order' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA0OTMzOCwianRpIjoiMzM5ZTMxODAtZmEzMi00OGRlLWFmMjktMDMzNmMxZTdlNGJkIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDQ5MzM4LCJjc3JmIjoiYjI2NjE4NzQtZmQzMS00YzEzLWIzOTItYTgxMmI1YTU0NjE5IiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.0burqwSTKKRCBrupvnS9bf6ac33oZo1qAKwOriIMR9s' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
  "orders": [
    {
      "created_at": "Wed, 30 Apr 2025 21:29:10 GMT",
      "id": 7,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "250430C18E064CEE48",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 100.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:35:30 GMT",
      "id": 8,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "250430737B92A818F1",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 100.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:37:44 GMT",
      "id": 9,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "2504303CCB658C913B",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 50.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:38:40 GMT",
      "id": 10,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "25043079434051FA75",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 50.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:39:15 GMT",
      "id": 11,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "2504309DC6931C3BE1",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 100.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:47:26 GMT",
      "id": 12,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "250430C249501C183A",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 50.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:47:44 GMT",
      "id": 13,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "250430ACC0B7E99178",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 100.0
    },
    {
      "created_at": "Wed, 30 Apr 2025 21:51:33 GMT",
      "id": 14,
      "items": "[{'name': 'updated product', 'image_url': None}]",
      "order_number": "250430EA4615A55DB2",
      "status": "processing",
      "status_history": "['pending', 'processing', 'processing', 'processing']",
      "total_amount": 50.0
    },
    {
      "created_at": "Fri, 02 May 2025 15:59:52 GMT",
      "id": 16,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "25050228BCBBD3DA51",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 5.0
    },
    {
      "created_at": "Fri, 02 May 2025 16:02:37 GMT",
      "id": 17,
      "items": "[]",
      "order_number": "25050239783DD3C5B6",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 0.0
    },
    {
      "created_at": "Fri, 02 May 2025 16:20:01 GMT",
      "id": 32,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "250502C084ADB1D7BC",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": -60.0
    },
    {
      "created_at": "Fri, 02 May 2025 16:23:05 GMT",
      "id": 33,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "2505026991E52DF78C",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": -65.0
    },
    {
      "created_at": "Fri, 02 May 2025 16:31:20 GMT",
      "id": 37,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "250502216397714231",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": -65.0
    },
    {
      "created_at": "Fri, 02 May 2025 16:37:38 GMT",
      "id": 39,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "250502E3A7D92D3F07",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 1.5
    },
    {
      "created_at": "Fri, 02 May 2025 16:40:05 GMT",
      "id": 42,
      "items": "[{'name': 'Cheap item', 'image_url': None}]",
      "order_number": "250502306006479FC2",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 1.5
    },
    {
      "created_at": "Sun, 04 May 2025 17:21:39 GMT",
      "id": 45,
      "items": "[{'name': 'updated product', 'image_url': None}, {'name': 'updated product', 'image_url': 'https://example.com/primary-image.jpg'}, {'name': 'kintan', 'image_url': 'https://sejauh.com/cdn/shop/files/SEJAUH0967-1.jpg?v=1741603515&width=1080'}]",
      "order_number": "250504AB72B9EE8AD4",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 400051.98
    },
    {
      "created_at": "Sun, 04 May 2025 17:21:39 GMT",
      "id": 46,
      "items": "[{'name': 'kintan', 'image_url': 'https://sejauh.com/cdn/shop/files/SEJAUH0967-1.jpg?v=1741603515&width=1080'}, {'name': 'updated product', 'image_url': 'https://example.com/primary-image.jpg'}, {'name': 'updated product', 'image_url': None}]",
      "order_number": "2505047C3AF8C2D426",
      "status": "pending",
      "status_history": "['pending']",
      "total_amount": 320121.58
    }
  ],
  "success": true
}

Request

Header Params
Authorization
string 
required
Example:
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6ZmFsc2UsImlhdCI6MTc0NjA0OTMzOCwianRpIjoiMzM5ZTMxODAtZmEzMi00OGRlLWFmMjktMDMzNmMxZTdlNGJkIiwidHlwZSI6ImFjY2VzcyIsInN1YiI6IjE3IiwibmJmIjoxNzQ2MDQ5MzM4LCJjc3JmIjoiYjI2NjE4NzQtZmQzMS00YzEzLWIzOTItYTgxMmI1YTU0NjE5IiwidXNlcm5hbWUiOiJlY29fc2VsbGVyMTAiLCJlbWFpbCI6InNlbGxlcjEwQGV4YW1wbGUuY29tIn0.0burqwSTKKRCBrupvnS9bf6ac33oZo1qAKwOriIMR9s
Body Params application/json
object {0}
Examples

Responses

🟢200Success
application/json
Body
orders
array [object {7}] 
required
created_at
string 
required
id
integer 
required
items
string 
required
order_number
string 
required
status
string 
required
status_history
string 
required
total_amount
integer  | number 
required
success
boolean 
required
Modified at 2025-05-07 08:59:47
Previous
get order
Next
pre-checkout calculation
Built with