mirror of
https://github.com/vercel/commerce.git
synced 2025-03-15 06:52:32 +00:00
17 lines
457 B
TypeScript
17 lines
457 B
TypeScript
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
|
|
|
const checkoutLineItemUpdateMutation = /* GraphQL */ `
|
|
mutation($checkoutId: ID!, $lineItems: [CheckoutLineItemUpdateInput!]!) {
|
|
checkoutLineItemsUpdate(checkoutId: $checkoutId, lineItems: $lineItems) {
|
|
userErrors {
|
|
message
|
|
field
|
|
}
|
|
checkout {
|
|
${checkoutDetailsFragment}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default checkoutLineItemUpdateMutation
|