In the docs, it is stated that the CheckoutLineItem.id is a “globally unique identifier.” However, it’s actually identical to variant’s id. This can be an issue if you have the same variant on multiple lines because you are using line item attributes. You can end end up with multiple lines with the same id.