I just noticed your post here. Modify cart attributes with checkout extension
Am I right to assume that the customer is already on the checkout page when you’re applying the mutation? If so, you would need to use checkout extensions for that.
If you apply them pre-checkout though, then the above process should work as above.