Skip to main content

cart

Retrieve detailed information about a specific shopping cart.

Returns comprehensive cart data including items, addresses, payment information, shipping details, and totals. The cart can be accessed by any user but will show different information based on permissions.

Possible errors:

  • CART_NOT_FOUND_ERROR: Cart with the specified ID does not exist
  • CART_FETCH_ERROR: Failed to retrieve cart information
cart(
id: String!
): Cart!

Arguments

cart.id ● String! non-null scalar

Unique identifier of the cart to retrieve.

Must be a valid UUID format representing an existing cart in the system.

Type

Cart object

Shopping cart entity for managing customer purchases.

Represents a shopping session containing products, customer information, addresses, payment preferences, and all data needed for order processing. Carts can be associated with different customer types and support various business models.