Market
Market Integration
Get product purchase completion URL
This function builds the full cPanel URL for the product purchase completion page. The URL includes the security token and points to the completion page for the specified product.
get/Market/get_completion_url
Query parameters
product_namestring required
Example:cpanel-ssl
The name of the product for which to retrieve the completion URL.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_completion_url",
"module": "Market",
"result": {
"data": {
"completion_url": "https://hostname.example.com:2083/cpsessXXXXXXXXXX/frontend/jupiter/store/purchase_cpanel-ssl_completion.html"
},
"status": 1
}
}