cart
Fetch a cart by ID — returns null when the cart does not exist or has already been completed (converted to an order). Use to hydrate the cart state on page load or after a recovery flow.
cart(
id: ID!
): Cart
Arguments
cart.id ● ID! non-null scalar
Cart UUID to fetch
Type
Cart object
A shopping cart — the buyer-facing aggregate that holds items, totals, buyer identity, addresses, selected shipping and payment methods, gift cards and discount codes through to checkout completion.