get all orders
Developing
GET
order
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
Responses
Modified at 2025-05-07 08:59:47