1
0
mirror of https://github.com/vercel/commerce.git synced 2025-07-29 05:01:22 +00:00
Files
commerce/framework/vendure/utils/mutations/remove-order-line-mutation.ts
2021-06-02 11:46:38 -03:00

16 lines
341 B
TypeScript

import { cartFragment } from '../fragments/cart-fragment'
export const removeOrderLineMutation = /* GraphQL */ `
mutation removeOrderLine($orderLineId: ID!) {
removeOrderLine(orderLineId: $orderLineId) {
__typename
...Cart
... on ErrorResult {
errorCode
message
}
}
}
${cartFragment}
`