Administration

Retrieve current dealer

Get details of current dealer.

get/dealer

Response

OK

idstring

The unique ID of the resource.

enabledboolean

Enable this dealer or not.

level'DISTRIBUTOR' | 'SUB_DISTRIBUTOR' | 'RESELLER'

Dealer level includes:

  • DISTRIBUTOR: the first level of dealers.
  • SUB_DISTRIBUTOR: the second level of dealers.
  • RESELLER: the third level of dealers.
namestring

The user's account name.
Only letters, numbers, and the following special characters can be added: underscore, dash, single quote, and period (_, -, ', and .).
Username cannot start or end with period (.).
admin, system, administrator, and root are reserved names for system admin only with case ignored.

emailstring

The email address.

display_namestring

The display name of user.

websitestring

The website of user.

phonestring

The mobile phone number of user.

addressstring

The address.

descriptionstring

The description of dealer.

max_tenantsinteger

The maximum number of tenants that the dealer is allowed to create.

max_extensionsinteger

The maximum number of extensions that the dealer is allowed to create.

Example response

{
  "id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "email": "example@example.com"
}