Table of Contents

Client API products function for the cpanellicensing module

Purpose

The products function lists all products available for use with this module

Parameters

This function currently accepts no parameters

Example JSON Response

array(3) {
  ["status"]=>
  string(7) "success"
  ["message"]=>
  string(16) "6 products found"
  ["data"]=>
  array(6) {
    [13]=>
    array(6) {
      ["id"]=>
      string(2) "13"
      ["name"]=>
      string(30) "cPanel External Server License"
      ["description"]=>
      string(86) "cPanel/WHM software license for use on standard servers that is leased month to month."
      ["paytype"]=>
      string(9) "recurring"
      ["autosetup"]=>
      string(5) "order"
      ["pricing"]=>
      array(3) {
        ["Monthly"]=>
        string(5) "38.00"
        ["Quarterly"]=>
        string(6) "114.00"
        ["Semi-Annually"]=>
        string(6) "228.00"
      }
    }
    ...
  }
}