Skip to main content

Fetch quote or order detail

Retrieve the full details of an order or quote request, including line items, totals, and addresses.

Query

query GetOrderDetail($orderId: Int!) {
order(orderId: $orderId) {
id
status
type
reference
remarks
email
createdAt
items {
id
productId
name
sku
quantity
price
priceTotal
priceNet
priceTotalNet
taxPercentage
}
total {
gross
net
tax
taxPercentages {
percentage
total
}
}
addresses(type: invoice) {
firstName
lastName
company
street
number
postalCode
city
country
}
postageData {
method
gross
net
taxPercentage
carrier
}
}
}

Variables

{
"orderId": 2791
}

Response

{
"data": {
"order": {
"id": 2791,
"status": "REQUEST",
"type": "dropshipment",
"reference": null,
"remarks": null,
"email": "mark+merford@propel.us",
"createdAt": "2026-02-12T13:09:16.142Z",
"items": [
{
"id": 26771,
"productId": 1877,
"name": "Rvs 316 kogelafsluiter inw/inw. 2-delig volle doorlaat",
"sku": "2440-0280-1",
"quantity": 3,
"price": 37.41,
"priceTotal": 112.23,
"priceNet": 37.41,
"priceTotalNet": 112.23,
"taxPercentage": 0
}
],
"total": {
"gross": 917.23,
"net": 917.23,
"tax": 0,
"taxPercentages": [
{ "percentage": 0, "total": 0 }
]
},
"addresses": [
{
"firstName": "Mark",
"lastName": "Egmond",
"company": "Merford Cabins B.V.",
"street": "Industrieweg",
"number": "16",
"postalCode": "4283 GZ",
"city": "Giessen",
"country": "NL"
}
],
"postageData": {
"method": "REGULAR",
"gross": 750,
"net": 750,
"taxPercentage": 0,
"carrier": null
}
}
}
}

How it works

The order query accepts either orderId (integer) or orderUUID (string). It works for both regular orders and quote requests — check the type and status fields to distinguish them. The addresses field accepts an optional type argument to filter by invoice or delivery. Order totals use gross (excluding tax) and net (including tax), which differs from the cart's naming (totalGross / totalNet). The taxPercentages array breaks down the tax per rate.

See also