Shopify is not showing returned items in the sales order timeline

Hello everyone, I am accessing the shopify api to make refunds in sales orders, but when I generate it with the api, it doesnt show me the details of the items to be returned in the time line of the order.

But when I do the refund from the shopyfy UI, it shows all the details correctly

I was thinking that maybe I have to pass some extra field to the ones that I already passed in the body.

How can I make it show all item details in the UI using the rest api?

Actualy i am using this fields

Thanks

Javier.