Market
Market Integration
Retrieve product information
This function retrieves product information for the specified product name, including the product ID, redirect path, and redirect URLs for successful and failed purchases.
get/Market/get_product_info
Query parameters
product_namestring required
Example:cpanel-ssl
The name of the product for which to retrieve information.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_product_info",
"module": "Market",
"result": {
"data": {
"product_id": "123456",
"redirect_path": "/frontend/jupiter/store/purchase_cpanel-ssl_completion.html",
"redirect_url_failure": "https://hostname.example.com:2083/cpsessXXXXXXXXXX/frontend/jupiter/store/purchase_cpanel-ssl_completion.html?domain=example.com&successful_purchase=0",
"redirect_url_success": "https://hostname.example.com:2083/cpsessXXXXXXXXXX/frontend/jupiter/store/purchase_cpanel-ssl_completion.html?domain=example.com&successful_purchase=1"
},
"status": 1
}
}