mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
21 lines
463 B
TypeScript
21 lines
463 B
TypeScript
import { checkoutDetailsFragment } from '../queries/get-checkout-query'
|
|
|
|
const checkoutLineItemRemoveMutation = /* GraphQL */ `
|
|
mutation checkoutLineItemRemove($checkoutId: ID!, $lineId: ID!) {
|
|
checkoutLineDelete(
|
|
checkoutId: $checkoutId
|
|
lineId: $lineId
|
|
) {
|
|
errors {
|
|
code
|
|
field
|
|
message
|
|
}
|
|
checkout {
|
|
${checkoutDetailsFragment}
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default checkoutLineItemRemoveMutation
|