Get an order by ID.
GET
/v1/orders/{id}
const url = 'https://api.staging.elasticstage.com/store/v1/orders/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.staging.elasticstage.com/store/v1/orders/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
id
required
string
status
required
string
source
required
total
required
object
amount
required
integer
currency
required
string
item_count
required
integer
line_items
required
Array<object>
object
sku
required
string
title
required
string
quantity
required
integer
unit_price
required
The unit price the merchant charged the customer, as supplied in the POST /v1/orders payload. The order total is the sum of these across all items, plus shipping.
object
amount
required
integer
currency
required
string
shipping_address
required
billing
required
shipping
required
object
rate_id
required
string
amount
required
object
amount
required
integer
currency
required
string
tracking
required
created_at
required
string format: date-time
updated_at
required
string format: date-time
Example
{ "id": "ord_3a9f21", "status": "processing", "source": { "platform": "shopify_app", "store_id": "1234", "external_order_id": "1234" }, "total": { "amount": 8599, "currency": "GBP" }, "item_count": 2, "line_items": [ { "sku": "LUM-ME-12-001", "title": "Midnight Echoes", "quantity": 2, "unit_price": { "amount": 3900, "currency": "GBP" } } ], "shipping_address": { "full_name": "Ada Lovelace", "address_line_1": "12 Baggot Street", "city": "Dublin", "postal_code": "D02 X285", "country_code": "IE" }, "billing": { "method": "credit_card", "payment_status": "paid", "charged_at": "2026-02-01T15:22:05.000Z" }, "shipping": { "rate_id": "standard_eu", "amount": { "amount": 799, "currency": "GBP" } }, "tracking": null, "created_at": "2026-02-01T15:22:00.000Z", "updated_at": "2026-02-01T15:22:05.000Z"}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 401, "code": "UNAUTHORIZED", "error": "Unauthorized", "message": "Authentication required."}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 403, "code": "FORBIDDEN", "error": "Forbidden", "message": "Insufficient permissions."}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 404, "code": "NOT_FOUND", "error": "Not Found", "message": "The requested resource was not found."}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 429, "code": "RATE_LIMITED", "error": "Too Many Requests", "message": "Rate limit exceeded."}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 500, "code": "INTERNAL_ERROR", "error": "Internal Server Error", "message": "An unexpected error occurred."}Default Response
Media typeapplication/json
object
statusCode
required
number
code
required
string
error
required
string
message
required
string
details
Array
Example
{ "statusCode": 503, "code": "SERVICE_UNAVAILABLE", "error": "Service Unavailable", "message": "The service is temporarily unavailable."}