# Dealer

In Navixy, a Dealer is an entity that acts as a reseller or distributor of the Navixy platform services. Dealers have access to the Navixy Admin Panel, where they can manage various aspects of the platform, including users, devices, and service plans.

## API Actions

**API Path**: `panel/dealer/`

### get\_info

API call to get information about a Dealer. This call retrieves details about the dealer's plan, balance, available features, and more.

**Required Permissions:**

* `base: "get_dealer_info"`.

#### Parameters

* `hash` (string, required): The session hash.

#### Examples

{% tabs %}
{% tab title="cURL" %}
{% code overflow="wrap" %}

```sh
curl -X POST 'https://api.eu.navixy.com/v2/panel/dealer/get_info' \ 
    -H 'Content-Type: application/json' \ 
    -d '{"hash": "fa7bf873fab9333144e171372a321b06"}'
```

{% endcode %}
{% endtab %}

{% tab title="HTTP GET" %}
{% code overflow="wrap" %}

```http
https://api.eu.navixy.com/v2/panel/dealer/get_info?hash=fa7bf873fab9333144e171372a321b06
```

{% endcode %}
{% endtab %}
{% endtabs %}

#### Response

```json
{
  "success": true,
  "id": 9000,
  "seller_id": 3,
  "parent_dealer_id": 5001,
  "contract_type": "PAAS",
  "tariff_id": 5,
  "tariff": {
    "id": 5,
    "name": "PaaS Tariff",
    "type": "monthly",
    "currency": "RUB",
    "license_price": null,
    "min_license_pay": null,
    "vat": false,
    "trial": false,
    "premium_gis": true,
    "service_prices": {
      "incoming_sms": 2.0,
      "outgoing_sms": 0.95,
      "service_sms": 0.95,
      "phone_call": 15,
      "traffic": 1.5
    },
    "store_period": "P3Y"
  },
  "demo_tariff": false,
  "tracker_tariff_end_date": "2015-12-31",
  "store_period": "P6M",
  "demo_ends": null,
  "title": "Navixy Demo",
  "block_status": "NOT_BLOCKED",
  "legal_name": "Company",
  "active_amount": 99,
  "active_amount_own": 80,
  "active_amount_subpaas": 19,
  "active_limit": 100,
  "locale": "en_US",
  "domain": "demo.navixy.com",
  "favicon": "paas/5001/custom.ico",
  "logo": "paas/5001/logo.png",
  "enable_trackers": true,
  "enable_cameras": false,
  "paas_activation_date": "2015-03-01",
  "license_balance": 0.0,
  "seller_currency": "USD",
  "features": [
    "branding_web",
    "branding_mobile",
    "navixy_label",
    "tracking",
    "reports",
    "fleet",
    "field_service",
    "premium_gis"
  ],
  "default_user_time_zone": "Europe/London"
}
```

* `id` (int): Dealer ID.
* `parent_dealer_id` (int): Parent Dealer ID.
* `contract_type` ([enum](/docs/navixy-api/user-api/backend-api.md#data-types)): Contract type: "PARTNER", "AGENT" or "PAAS".
* `tariff_id` (int): PaaS plan ID.
* `tariff` (object): PaaS plan info.
  * `license_price` (nullable double): Price per license.
  * `min_license_pay` (nullable double): Minimum license payment.
  * `trial` (boolean): If `true`, the plan is Trial.
  * `premium_gis` (boolean): If `true`, premium GIS is enabled for the partner.
  * `store_period` (string): Maximum data store period for users.
* `demo_tariff` (boolean): `true` for "TRIAL" PaaS tariffs.
* `store_period` (string): Maximum data store period for users on `demo_tariff`.
* `demo_ends` (string): TRIAL period end date or null.
* `block_status` ([enum](/docs/navixy-api/user-api/backend-api.md#data-types)): Panel and PaaS users block status. One of: "NOT\_BLOCKED", "INITIAL\_BLOCK", "BLOCK\_LOGIN" or "CLIENTS\_BLOCKED".
* `legal_name` (string): Dealer legal name.
* `active_amount` (int): Total number of active trackers (including Sub-PaaSes).
* `active_amount_own` (int): Number of active trackers (excluding Sub-PaaSes).
* `active_amount_subpaas` (int): Number of Sub-PaaSes' active trackers.
* `active_limit` (int): Active trackers limit.
* `locale` ([enum](/docs/navixy-api/user-api/backend-api.md#data-types)): Dealer's default locale.
* `domain` (string): Dealer's domain.
* `favicon` (string): Path or URL to dealer's interface favicon or null.
* `logo` (string): Path or URL to dealer's logotype or null.
* `paas_activation_date` (string): Date of activation pay.
* `features` (array of strings): Set of allowed [dealer features](/docs/navixy-api/user-api/backend-api/resources/commons/dealer.md#dealer-features).
* `default_user_time_zone` (string): [Time zone ID](/docs/navixy-api/panel-api/resources/timezone.md) for new users created via [user/upload](/docs/navixy-api/panel-api/resources/user.md#upload). This zone will also be selected by default when creating a new user in the Navixy Admin Panel.

#### Errors

* `201` - Not found in the database.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://navixy.com/docs/navixy-api/panel-api/resources/dealer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
