Support Center

Resellers Packages API

Last Updated: Feb 05, 2016 05:01AM EST

Every API call is executed using an API Key, which is issued to every reseller who wants to use the API.
 

Resellers

account.reseller.get_all
Returns information about all sub-resellers for the current reseller and the current reseller.

  • api_key


On succes returns the standard JSON. The data contains:
{
   resellers: [
      {
         reseller_id: <the ID of the reseller>,
         product: "<name of product>",
         domains: [ <domain1>, <domain2>, ... ],
         primary_domain: "<domain1>",
         master_reseller: <1 if this is the reseller who owns the installation, 0 if not>
      },
      ...
   ]
}


 

Packages Management

package.get_all
Retrieves the list of all packages for a given reseller.

  • api_key
  • reseller_id


Returns a standard JSON with the following structure in the "data":
{
   packages: [
      {
         id: "<package ID>",
         name: "<package name>",
         code: "<package code>",
         price: "<XXX.XX>",
         storage_limit: "<limit in bytes>"
      },
      ...
   ]
}

Liquid error: undefined method `gsub' for nil:NilClass

assistly@premium-webhelp.com
http://assets2.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete