mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
saleor: adding/removing from the cart
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
||||
|
||||
const checkoutLineItemUpdateMutation = /* GraphQL */ `
|
||||
mutation checkoutLineItemUpdate($checkoutId: ID!, $lineItems: [CheckoutLineItemUpdateInput!]!) {
|
||||
checkoutLinesUpdate(checkoutId: $checkoutId, lineItems: $lineItems) {
|
||||
mutation checkoutLineItemUpdate($checkoutId: ID!, $lineItems: [CheckoutLineInput!]!) {
|
||||
checkoutLinesUpdate(checkoutId: $checkoutId, lines: $lineItems) {
|
||||
errors {
|
||||
code
|
||||
field
|
||||
|
Reference in New Issue
Block a user