Retrieve an order
Retrieve one order in full: line items (each with the id the fulfil endpoint needs), addresses, the totals breakdown and fulfilments with tracking. Amounts are in the smallest currency unit.
Retrieve one order in full: line items (each with the id the fulfil endpoint needs), addresses, the totals breakdown and fulfilments with tracking. Amounts are in the smallest currency unit.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
store_idstringRequiredExample:
The ID of the store that owns the order.
store_01J8Z5F8W9K8M4A7B3C2D1E0FGorder_idstringRequiredExample:
The ID of the order to retrieve.
order_01J8Z5F8W9K8M4A7B3C2D1E0FGResponses
200
Success response
application/json
401
Unauthenticated response
application/json
500
Error response
application/json
get/api/ecommerce/v1/stores/{store_id}/orders/{order_id}
GET /api/ecommerce/v1/stores/{store_id}/orders/{order_id} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"id": "order_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"display_id": 1042,
"status": "pending",
"payment_status": "captured",
"fulfillment_status": "not_fulfilled",
"total": 4999,
"currency_code": "usd",
"customer_email": "buyer@example.com",
"item_count": 3,
"created_at": "2026-01-21T07:35:04.000000Z",
"merchant_note": "Ship in a gift box.",
"subtotal": 4500,
"discount_total": 0,
"tax_total": 199,
"shipping_total": 300,
"paid_total": 4999,
"refunded_total": 0,
"shipping_address": {
"name": "Jane Buyer",
"company": null,
"address_1": "123 Main St",
"address_2": null,
"city": "Springfield",
"province_code": "IL",
"postal_code": "62704",
"country_code": "us",
"phone": "+15551234567"
},
"billing_address": {
"name": "Jane Buyer",
"company": null,
"address_1": "123 Main St",
"address_2": null,
"city": "Springfield",
"province_code": "IL",
"postal_code": "62704",
"country_code": "us",
"phone": "+15551234567"
},
"items": [
{
"id": "item_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"title": "Blue T-Shirt / M",
"sku": "TSHIRT-BLU-M",
"variant_id": "variant_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"quantity": 2,
"fulfilled_quantity": 0,
"returned_quantity": 0,
"unit_price": 2250,
"total": 4500
}
],
"fulfillments": [
{
"id": "ful_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"created_at": "2026-01-22T07:35:04.000000Z",
"shipped_at": null,
"canceled_at": null,
"tracking": [
{
"tracking_number": "1Z999AA10123456784",
"url": "https://track.example.com/1Z999AA10123456784"
}
]
}
]
}
}Last updated
Was this helpful?