# Branding Customization

The Navixy platform can be branded through the Admin Panel by customizing various elements to reflect your company’s identity. You can upload your company’s logo and favicon to be displayed on the platform, wallpaper and logos in documents such as PDF and Excel reports.

## API actions

API path: `panel/dealer/settings/image`.

### upload

Uploads image of specified `type`.

**MUST** be a POST multipart request (multipart/form-data), with one of the parts being an image file upload (with the name "file").

File part **mime** type must be one of:

* `image/jpeg`
* `image/pjpeg`
* `image/png`
* `image/gif`
* `image/webp`
* `image/x-icon` (for favicon type)

*required permissions*: `service_settings: "update"`.

#### Parameters

| name             | description                                                                                                     | type   |
| ---------------- | --------------------------------------------------------------------------------------------------------------- | ------ |
| type             | Image type to delete. Can be one of `logo`, `favicon`, `login_wallpaper`, `desktop_wallpaper`, `document_logo`. | string |
| file             | Image file.                                                                                                     | string |
| redirect\_target | Optional. A URL to redirect.                                                                                    | string |

If `redirect_target` passed a return redirect to `response=<urlencoded response json>`.

#### Response

```json
{
  "success": true
}
```

#### Errors

* 201 - Not found in the database - when there are no settings for dealer in the db.
* 233 - No data file - if `file` part not passed.
* 234 - Invalid data format - if passed `file` with unexpected `mime` type.
* 236 - Feature unavailable due to tariff restrictions - if branding feature disabled for this dealer.
* 254 - Cannot save file - on some file system errors.

### delete

Deletes an image of specified `type`.

*required permissions*: `service_settings: "update"`.

#### Parameters

| name | description                                                                                                     | type   |
| ---- | --------------------------------------------------------------------------------------------------------------- | ------ |
| type | Image type to delete. Can be one of `logo`, `favicon`, `login_wallpaper`, `desktop_wallpaper`, `document_logo`. | string |

#### Examples

{% tabs %}
{% tab title="cURL" %}

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

{% endtab %}

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

```http
https://api.eu.navixy.com/v2/panel/dealer/settings/image/delete?hash=fa7bf873fab9333144e171372a321b06&type=logo
```

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

#### Response

```json
{
  "success": true
}
```

#### Errors

* 201 - Not found in the database - when there are no settings for a dealer in the db.


---

# 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/settings/image.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.
