Thanks for your response!
I actually want some additional fields like ItemStatus, QuantityShipped, QuantityRefunded etc. to be displayed in this form "Order Item Properties" below the existing fields which I guess is done in this file -> "~\CMSModules\Ecommerce\Controls\ShoppingCart\OrderItemEdit.aspx.cs". I have added these additional fields in OrderItem Class and I'm also able to update these fields using REST API. But I'm stuck at how to display these custom additional fields in the form I mentioned, so that it can be updated from UI as well.
I think you understood my need and thanks for your explanation! I followed it but now I'm stuck at how to get a custom field from a class and set it as the value to one of the form controls. I'm stuck at this line -> EditForm.FieldControls["CartItemStatus"].Value = item.ItemStatus;
As ItemStatus is the field I have manually added to OrderItem class and not one of the properties of OrderItem class, I'm getting the following error:
'OrderItemInfo' does not contain a definition for 'ItemStatus' and no extension method 'ItemStatus' accepting a first argument of type 'OrderItemInfo' could be found (are you missing a using directive or an assembly reference?)
Can you help me with how can I access this field?