Market
Market Integration
Return provider's login URL
This function retrieves the login URL for the cPanel Market provider.
get/Market/get_login_url
Query parameters
providerstring required
Example:cPStore
The cPanel Market provider's name.
url_after_loginstring url required
Example:http://hostname.example.com/redirectionlocation.cgi?state
Where the cPanel Market provider redirects the user's browser after they log in.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_login_url",
"module": "Market",
"result": {
"data": "https://example.com/api/?client_id=MyHearseIsAmazing&function=login&module=bogoSSL&redirect_uri=https%3A%2F%2Fqaportal.cpanel.net%2Fbogus.cgi&response_type=token",
"metadata": {
"transformed": 1
},
"status": 1
}
}