mirror of
https://github.com/vercel/commerce.git
synced 2025-05-21 00:46:59 +00:00
18 lines
407 B
TypeScript
18 lines
407 B
TypeScript
import * as fragment from '../fragments'
|
|
|
|
export const CheckoutLineUpdate = /* GraphQL */ `
|
|
mutation CheckoutLineUpdate($checkoutId: ID!, $lineItems: [CheckoutLineInput!]!) {
|
|
checkoutLinesUpdate(checkoutId: $checkoutId, lines: $lineItems) {
|
|
errors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
checkout {
|
|
...CheckoutDetails
|
|
}
|
|
}
|
|
}
|
|
${fragment.CheckoutDetails}
|
|
`
|