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}
`