Retrieve a paginated list of all orders for the authenticated customer
curl -X GET "https://api.example.com/api/v1/i/orders/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"count": 45,
"next": "https://api.example.com/api/v1/i/orders/?limit=20&offset=20",
"previous": null,
"results": [
{
"id": "a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d",
"url": "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/",
"customer": {
"email": "customer@example.com",
"first_name": "John",
"last_name": "Doe"
},
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:35:00Z",
"billing_address": {
"street_address": "123 Main St",
"postal_code": 12345,
"city": "Anytown",
"state": "CA",
"country": "Canada"
},
"items": [
{
"id": 1,
"product": {
"id": 42,
"name": "Wireless Headphones",
"slug": "wireless-headphones"
},
"variant": 101,
"unit_price": "79.99",
"quantity": 2,
"shipping": "5.00",
"discount_amount": "10.00",
"total_price": "159.98",
"offer": 5
}
],
"items_count": 2,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "159.98",
"amount_saved": "10.00",
"shipping": "5.00",
"total_amount": "154.98"
}
]
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/klvxn/ecommerce-api/llms.txt
Use this file to discover all available pages before exploring further.
paid - Order has been paid forawaiting_payment - Order is pending paymentdelivered - Order has been deliveredcancelled - Order has been cancelledShow Order Object
Show Order Item
paid, awaiting_payment, delivered, or cancelledcurl -X GET "https://api.example.com/api/v1/i/orders/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"count": 45,
"next": "https://api.example.com/api/v1/i/orders/?limit=20&offset=20",
"previous": null,
"results": [
{
"id": "a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d",
"url": "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/",
"customer": {
"email": "customer@example.com",
"first_name": "John",
"last_name": "Doe"
},
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:35:00Z",
"billing_address": {
"street_address": "123 Main St",
"postal_code": 12345,
"city": "Anytown",
"state": "CA",
"country": "Canada"
},
"items": [
{
"id": 1,
"product": {
"id": 42,
"name": "Wireless Headphones",
"slug": "wireless-headphones"
},
"variant": 101,
"unit_price": "79.99",
"quantity": 2,
"shipping": "5.00",
"discount_amount": "10.00",
"total_price": "159.98",
"offer": 5
}
],
"items_count": 2,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "159.98",
"amount_saved": "10.00",
"shipping": "5.00",
"total_amount": "154.98"
}
]
}
items_count represents total quantity of all items, not unique itemsdiscount_amountamount_savedcurl -X GET "https://api.example.com/api/v1/i/orders/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"count": 45,
"next": "https://api.example.com/api/v1/i/orders/?limit=20&offset=20",
"previous": null,
"results": [
{
"id": "a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d",
"url": "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/",
"customer": {
"email": "customer@example.com",
"first_name": "John",
"last_name": "Doe"
},
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:35:00Z",
"billing_address": {
"street_address": "123 Main St",
"postal_code": 12345,
"city": "Anytown",
"state": "CA",
"country": "Canada"
},
"items": [
{
"id": 1,
"product": {
"id": 42,
"name": "Wireless Headphones",
"slug": "wireless-headphones"
},
"variant": 101,
"unit_price": "79.99",
"quantity": 2,
"shipping": "5.00",
"discount_amount": "10.00",
"total_price": "159.98",
"offer": 5
}
],
"items_count": 2,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "159.98",
"amount_saved": "10.00",
"shipping": "5.00",
"total_amount": "154.98"
}
]
}