# GraphCommerce 2.4.3 forward compatibility with 2.4.5 # TODO: Remove forward compatibility layer when dropping support for 2.4.3 # Why does this exist? To fix and issue with a nasty bug in 2.4.3: # When a product becomes out of stock it will return null for the cart line. interface CartItemInterface { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type BundleCartItem { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type ConfigurableCartItem { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type DownloadableCartItem { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type SimpleCartItem { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type VirtualCartItem { "An array of errors encountered while loading the cart item" errors: [CartItemError] } type CartItemError { "An error code that describes the error encountered" code: CartItemErrorType! "A localized error message" message: String! } type CartItemPrices { price_including_tax: Money } enum CartItemErrorType { UNDEFINED ITEM_QTY ITEM_INCREMENTS }