Skip to content
Snippets Groups Projects

Issue #3436413 by czigor: Empty cart endpoint

Files
10
@@ -14,7 +14,7 @@ extend type Mutation {
"""
Remove the given order item from the cart.
"""
commerceRemoveFromCart(orderItem: ID!): CommerceMutationResult
commerceRemoveFromCart(orderItem: ID!): CommerceOrderResponse
"""
Change the quantity of an order item.
@@ -27,7 +27,7 @@ extend type Mutation {
"""
Empty the cart.
"""
commerceEmptyCart: CommerceMutationResult
commerceEmptyCart(order: ID!): CommerceOrderResponse
}
extend type Query {
Loading