Magento_QuoteGraphQl module
This module provides type and resolver information for the GraphQl module to generate quote (cart) information endpoints. Also provides endpoints for modifying a quote.
Installation
Before installing this module, note that the Magento_QuoteGraphQl is dependent on the following modules:
Magento_CatalogGraphQl
This module does not introduce any database schema modifications or new data.
For information about a module installation in Magento 2, see Enable or disable modules.
Extensibility
Extension developers can interact with the Magento_QuoteDownloadableLinks module. For more information about the Magento extension mechanism, see Magento plug-ins.
The Magento dependency injection mechanism enables you to override the functionality of the Magento_QuoteDownloadableLinks module.
Additional information
You can get more information about GraphQl In Magento 2.
GraphQl Query
cartquery - retrieve information about a particular cart. Learn more about cart query.customerCartquery - returns the active cart for the logged-in customer. If the cart does not exist, the query creates one. Learn more about customerCart query.
GraphQl Mutation
createEmptyCartmutation - creates an empty shopping cart for a guest or logged in customer. Learn more about createEmptyCart mutation.addSimpleProductsToCartmutation - allows you to add any number of simple and group products to the cart at the same time. Learn more about addSimpleProductsToCart mutation.addVirtualProductsToCartmutation - allows you to add multiple virtual products to the cart at the same time, but you cannot add other product types with this mutation. Learn more about addVirtualProductsToCart mutation.applyCouponToCartmutation - applies a pre-defined coupon code to the specified cart. Learn more about applyCouponToCart mutation.removeCouponFromCartmutation - removes a previously-applied coupon from the cart. Learn more about removeCouponFromCart mutation.updateCartItemsmutation - allows you to modify items in the specified cart. [Learn more about updateCartItems mutation]((https://developer.adobe.com/commerce/webapi/graphql/schema/cart/mutations/update-items/).removeItemFromCartmutation - deletes the entire quantity of a specified item from the cart. Learn more about removeItemFromCart mutation.setShippingAddressesOnCartmutation - sets one or more shipping addresses on a specific cart. Learn more about setShippingAddressesOnCart mutation.setBillingAddressOnCartmutation - sets the billing address for a specific cart. Learn more about setBillingAddressOnCart mutation.setShippingMethodsOnCartmutation - sets one or more delivery methods on a cart. Learn more about setShippingMethodsOnCart mutation.setPaymentMethodOnCartmutation - defines which payment method to apply to the cart. Learn more about setPaymentMethodOnCart mutation.setGuestEmailOnCartmutation - assigns email to the guest cart. Learn more about setGuestEmailOnCart mutation.setPaymentMethodAndPlaceOrdermutation - sets the cart payment method and converts the cart into an order. This mutation has been deprecated. Use thesetPaymentMethodOnCartandplaceOrdermutations instead. Learn more about setPaymentMethodAndPlaceOrder mutation.mergeCartsmutation - transfers the contents of a guest cart into the cart of a logged-in customer. Learn more about mergeCarts mutation.placeOrdermutation - converts the cart into an order and returns an order ID. Learn more about placeOrder mutation.addProductsToCartmutation - adds any type of product to the shopping cart. Learn more about addProductsToCart mutation.

