mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
|
|
|
export const checkoutLineUpdate = /* GraphQL */ `
|
|
mutation checkoutLineItemUpdate($checkoutId: ID!, $lineItems: [CheckoutLineInput!]!) {
|
|
checkoutLinesUpdate(checkoutId: $checkoutId, lines: $lineItems) {
|
|
errors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
checkout {
|
|
${checkoutDetailsFragment}
|
|
}
|
|
}
|
|
}
|
|
`
|