07-03-2020 20:48
07-03-2020 20:48
distanceUnit always returns as miles, regardless if I choose km or not.
07-06-2020 14:53
07-06-2020 14:53
Hi @Abhiiiii,
Welcome to the forums!
Have you tried including the accept-language = en_GB header in your HTTP request? This should ensure that the data returned is localized in the language you specify. Otherwise, the API will always return the user's preferred unit of measurement that was specified in their profile. You can check using the GET Profile endpoint.
I hope this helps. Let me know if you have any other questions.