Open amart241 opened 11 months ago
Looks like this can be done using the reseller API.
numberofSeats
and licensedNumberOfSeats
See https://developers.google.com/admin-sdk/reseller/reference/rest/v1/subscriptions#Seats for definition of those fields.
Upon a closer look I don't think we'll be able to use that API. "You must have a fully executed and signed reseller contract to use the Partner Sales Console and the Reseller API."
https://developers.google.com/admin-sdk/reseller/v1/how-tos/prerequisites
Looks like we could also do it via the reports API: https://stackoverflow.com/questions/68341392/how-can-i-get-available-license-via-google-workspace-admin-sdk
Hi Team,
See the below from Grant via the M365 Github repo. Just sending along so we can get ahead of this one in terms of whether or not Goggles could even do this.