You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/QuoteGraphQl/etc/schema.graphqls
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ type Query {
8
8
}
9
9
10
10
typeMutation {
11
-
createEmptyCart(input: createEmptyCartInput): String@deprecated(reason: "Use `Mutation.createGuestCart` for guest and `Query.cart` or `Query.customerCart` for logged in customer")
12
11
createGuestCart(input: CreateGuestCartInput): CreateGuestCartOutput@doc(description: "Create a new shopping cart") @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\CreateGuestCart")
12
+
createEmptyCart(input: createEmptyCartInput): String@deprecated(reason: "Use `Mutation.createGuestCart` for guest and `Query.cart` or `Query.customerCart` for logged in customer") @resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\CreateEmptyCart") @doc(description:"Create an empty shopping cart for a guest or logged in user")
13
13
addSimpleProductsToCart(input: AddSimpleProductsToCartInput@doc(description: "An input object that defines which simple products to add to the cart.")): AddSimpleProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description:"Add one or more simple products to the specified cart. We recommend using `addProductsToCart` instead.")
14
14
addVirtualProductsToCart(input: AddVirtualProductsToCartInput@doc(description: "An input object that defines which virtual products to add to the cart.")): AddVirtualProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description:"Add one or more virtual products to the specified cart. We recommend using `addProductsToCart` instead.")
15
15
applyCouponToCart(input: ApplyCouponToCartInput@doc(description: "An input object that defines the coupon code to apply to the cart.")): ApplyCouponToCartOutput@resolver(class: "\\Magento\\QuoteGraphQl\\Model\\Resolver\\ApplyCouponToCart") @doc(description:"Apply a pre-defined coupon code to the specified cart.")
0 commit comments