This function retrieves the login URL for the cPanel Market provider.
uapi --output=jsonpretty \ --user=username \ Market \ get_login_url \ provider='cPStore' \ url_after_login='http://hostname.example.com/redirectionlocation.cgi?state'
{- "apiversion": 3,
- "func": "get_login_url",
- "module": "Market",
- "result": {
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}