customerOrder
Fetch a single order owned by the authenticated customer. Returns null silently when there is no authenticated customer or the order does not belong to them. For guest order access use orderByToken instead.
customerOrder(
orderId: ID!
): Order
Arguments
customerOrder.orderId ● ID! non-null scalar
Order UUID owned by the authenticated customer
Type
Order object
A buyer order — the result of completing a cart. Carries totals, status, addresses, line items and the signals needed to drive payment (canCreatePayment, paymentMethodType) and a guest confirmation page (accessToken).