Skip to main content

customerOrderDetail

Requires a customer (portal or buyer app) session.

Customer portal: the full detail of one of the signed-in customer's own orders, within the caller's visibility scope. Needs a customer (portal or buyer app) session.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

query CustomerOrderDetail($orderId: ID!) {
customerOrderDetail(orderId: $orderId) {
id
customerPoNumber
orderNumber
status
createdAt
billingAddress
deliverySelection {
carrierName
serviceLevelName
speedName
currency
fee
label
}
}
}

Variables:

{
"orderId": "id"
}

Response:

{
"data": {
"customerOrderDetail": {
"id": "id",
"customerPoNumber": "string",
"orderNumber": "string",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z",
"billingAddress": "string",
"deliverySelection": {
"carrierName": "string",
"serviceLevelName": "string",
"speedName": "string",
"currency": "string",
"fee": 0,
"label": "string"
}
}
}
}
customerOrderDetail(
orderId: ID!
): CustomerOrderDetail!

Arguments​

customerOrderDetail.orderId ● ID! non-null scalar​

The ID of the order.

Type​

CustomerOrderDetail object​

An order as the customer sees it in full.