v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
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.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

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
  }
}