Cart attributes elevated to order

Hello,

I’m building a nextjs frontend and am recording some specific information about each customer in their cart attributes.

I need to elevate these attributes to the order for reporting and follow-up.

Does anyone have any resources on how to do this? Ideally the attribute is also exposed on the checkout page, but ultimately I need it in the order.

Thanks,