[BUG?] Creating return with self return label

Hi,

we’ve been using the GraphQL API to create returns. At the moment our customers are going through customer service to register a return, for which they create the return manually and select the Label Type “Self Return”, which will create an RMA label for the customer.

I saw that this is also offered by the API (ReturnLabelType - GraphQL API), however, when I try setting label_type = SELF_RETURN the return gets registered but with the label type FREE and no label created at all.

I tried many different combinations, but was not able to recreate the same behavior as described above. Is this a known issue in the return_create mutation?

Thanks