Get Offer ID programmatically through PowerShell / Azure CLI
It's not possible to get a subscriptions offer id through API today. It's needed to programmatically be able to use the rate card api since you need the offer id.
Mikael R. Karlsson commented
I would really like to see that all Properties available for an Subscription object is retrievable programatically through API, it would simplify the work alot when you have some 100+ subscriptions with different offers.