mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
17 lines
387 B
TypeScript
17 lines
387 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 {
|
|
${fragment.CheckoutDetails}
|
|
}
|
|
}
|
|
}
|
|
`
|