Different title and code for shipping_lines on the order object

Hello!

I’ve seen several examples when i google, even on the shopify documentation where the ‘title’ and ‘code’ on the shipping_lines on the order object , just like this

"shipping_lines": [{
"id": 123456789,
"title": "Overnight Shipping",
"price": "10.00",
"code": "overnight",
"source": "Canada Post"
}]

But when i set up shipping rates the ‘code’ and ‘title’ will just end up being the same??? How can i make two different values for this? Like for example…
‘title’: ‘My shipping rate’,

‘code’: ‘123’,

I’ve been trying to search for an sollution for this but it seems several people are looking for this as well without any sollution