I am trying to find an API that can be used to pull in warranty information for Microsoft Surface Devices. Does anybody know if there is something from Microsoft that can be used?

I am trying to find an API that can be used to pull in warranty information for Microsoft Surface Devices. Does anybody know if there is something from Microsoft that can be used?
I would love this! I could automate so many things with that - inventory, support cases, etc.