Alokai

CartItemInterface

An interface for products in a cart.

type CartItemInterface = {
  errors?: Maybe<Array<Maybe<CartItemError>>>; /** @deprecated Use `uid` instead. */
  id: Scalars['String']['output']; /** True if requested quantity is less than available stock, false otherwise. */
  is_available: Scalars['Boolean']['output']; /** Message to display when the product is not available with this selected option. */
  not_available_message?: Maybe<Scalars['String']['output']>; /** Contains details about the price of the item, including taxes and discounts. */
  prices?: Maybe<CartItemPrices>; /** Details about an item in the cart. */
  product: ProductInterface; /** The quantity of this item in the cart. */
  quantity: Scalars['Float']['output']; /** The unique ID for a `CartItemInterface` object. */
  uid: Scalars['ID']['output'];
};

Referenced Types

On this page