I came across an API on GitHub.
https://github.com/SUSE/connect/blob...mplemented).md
Thought it might help someone in the future.