Retrieve detailed information about a specific order
curl -X GET "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"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,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
},
{
"id": 2,
"product": {
"id": 58,
"name": "Phone Case",
"slug": "phone-case"
},
"variant": 203,
"unit_price": "15.99",
"quantity": 1,
"shipping": "3.00",
"discount_amount": "0.00",
"total_price": "15.99",
"offer": null,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
}
],
"items_count": 3,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "175.97",
"amount_saved": "10.00",
"shipping": "8.00",
"total_amount": "173.97"
}
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.
Show Order Item
paid, awaiting_payment, delivered, or cancelledcurl -X GET "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"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,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
},
{
"id": 2,
"product": {
"id": 58,
"name": "Phone Case",
"slug": "phone-case"
},
"variant": 203,
"unit_price": "15.99",
"quantity": 1,
"shipping": "3.00",
"discount_amount": "0.00",
"total_price": "15.99",
"offer": null,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
}
],
"items_count": 3,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "175.97",
"amount_saved": "10.00",
"shipping": "8.00",
"total_amount": "173.97"
}
total_price valuesdiscount_amount valuesshipping costssavings_on_items + voucher discount (if applied)subtotal + shipping - amount_saveditems_count is the sum of quantities, not the number of unique itemscurl -X GET "https://api.example.com/api/v1/i/orders/a3d5c8e7-9b4f-4a2e-8c7d-1f3e5a6b9c0d/" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"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,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
},
{
"id": 2,
"product": {
"id": 58,
"name": "Phone Case",
"slug": "phone-case"
},
"variant": 203,
"unit_price": "15.99",
"quantity": 1,
"shipping": "3.00",
"discount_amount": "0.00",
"total_price": "15.99",
"offer": null,
"created": "2026-03-01T10:30:00Z",
"updated": "2026-03-01T10:30:00Z"
}
],
"items_count": 3,
"savings_on_items": "10.00",
"status": "awaiting_payment",
"subtotal": "175.97",
"amount_saved": "10.00",
"shipping": "8.00",
"total_amount": "173.97"
}