mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
18 lines
507 B
TypeScript
18 lines
507 B
TypeScript
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
|
|
|
const checkoutLineItemUpdateMutation = /* GraphQL */ `
|
|
mutation checkoutLineItemUpdate($checkoutId: ID!, $lineItems: [CheckoutLineItemUpdateInput!]!) {
|
|
checkoutLineItemsUpdate(checkoutId: $checkoutId, lineItems: $lineItems) {
|
|
checkoutUserErrors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
# checkout {
|
|
# ${checkoutDetailsFragment}
|
|
# }
|
|
}
|
|
}
|
|
`
|
|
export default checkoutLineItemUpdateMutation
|