Order Create custom_barcode in line items displaying incorrect information

I’m trying to use the custom_barcode field in the line items when creating an order. The field isn’t saving the correct data; it’s saving the data from the barcode field.

In this test, I pass “TestCustomBarcode” string in the custom_barcode field, but when I retrieve the field it’s null.

Screenshot 2026-06-08 at 12.38.28 p.m.

Screenshot 2026-06-08 at 12.38.40 p.m.

Screenshot 2026-06-08 at 12.38.53 p.m.

In the second test, I put a value on the barcode field and when I query the fields, you can see whatever was on barcode is now showing on custom_barcode.

Plus, the custom_options field is not saving anything.