I have a cart transform function that uses the merge operation and I need to add line item properties to the bundle or one of the items in the bundle but neither seems possible.
Using applyCartLinesChange on the cart line item is successful but the line item does not appear in the order when viewed in the admin.
Using it on the bundle line item doesn’t work at all.
I think the only way to add them to the actual components within a cart transform is to use the lineExpand operation instead and then you can access the attributes at a line level via expandedCartItems-Cart Transform Function API