It doesn’t look like you can edit the existing line item, but it does look like you could potentially add + remove (essentially replace) it to achieve the same thing. I haven’t tested it, but looks like in the admin removal is handled by setting quantity to 0.