Get Cart
Returns the admin draft cart — items, totals, addresses, and the selected shipping / payment method. Identical payload to the REST endpoint (GET /api/admin/carts/{id}).
GraphQL shape notes
- Scalar fields resolve normally.
customerId,isActive,itemsCount,subTotal,grandTotal,formattedGrandTotal,shippingMethod,paymentMethodTitle, and the rest are selected like any field and come back populated over GraphQL (same values as REST). items,billingAddress, andshippingAddressare JSON scalars — request them bare. Writeitems(notitems { id ... }); you receive the complete JSON for each, identical to REST.billingAddress/shippingAddressarenulluntil addresses are saved on the cart.idvs_id.idis the resource IRI (/api/admin/carts/314);_idis the raw integer.- Only draft carts (
isActive: false) are accessible; customer-owned active carts are rejected.
Operation
| Operation | Type | Purpose |
|---|---|---|
adminCart(id: ID!) | Query | Read a draft cart |

