---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.kz/routing/doc/en/vrp/interface-presets.md
  - https://yandex.kz/routing/doc/kk/vrp/interface-presets.md
  - https://yandex.kz/routing/doc/ru/vrp/interface-presets.md
  - https://yandex.kz/routing/doc/tr/vrp/interface-presets.md
  - href: en/vrp/interface-presets.md
    type: text/markdown
    title: Markdown version
  - href: llms.txt
    type: text/markdown
    title: llms.txt
title: RouteQ — working with the interface — presets
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.kz/routing/doc/en/llms.txt


# Presets

## Preset overview {#presets-about}

A preset is an existing set of settings that is stored in JSON format and can be included in an API request.


<!-- source: en/vrp/_includes/preset-types.md -->
Each preset belongs to one of the following types:

- `depot`: Depot settings.
- `location`: Order settings.
- `vehicle`: Courier or vehicle settings.
- `vehicle-shift`: Courier shift settings.
- `options`: Global options.
<!-- endsource: en/vrp/_includes/preset-types.md -->

A preset of a certain type can only be included in the corresponding field of the API request. To learn more, see [Using presets](https://yandex.kz/routing/doc/en/vrp/presets.md).

Public presets are available to everyone. Companies can create their own presets from scratch or by modifying public ones.

Presets are usually created and used in sets, with each set containing presets of different types and geared towards solving a specific task. Presets in a set normally have the same name.

![](./_images/presets-public.png)


## Creating a preset {#presets-adding}

1. Under **Settings** → **Presets**, click **Private**.
2. Click **Add preset**.
3. Select a preset type.
4. Enter a preset name. The name for presets of the same type must be unique. It cannot start with `public_` or contain a comma.
5. Enter a description (optional) of the situations you plan to use it in.
6. In the edit window, prepare the preset (settings in JSON format). To format the text, click the **Beautify** button.
7. When the preset is ready, click **Save**.

![](./_images/presets-company.png)

When saving the preset, its contents are validated. If the JSON is invalid, you'll receive a message indicating the string that contain errors. Validation is also performed when changing the preset type. An invalid preset cannot be saved.

In the fields, you can specify geofences defined in your [company's master data](https://yandex.kz/routing/doc/en/vrp/interface-geozones.md) and [public geofences](https://yandex.kz/routing/doc/en/vrp/interface-geozones.md#geozones-public).
 
{% cut "Fields that cannot be used in presets" %}

#|
|| **Preset type** | **Field** ||
|| `depot` |
 - `address`
- `description`
- `id`
- `point`
- `ref`
- `title` ||
|| `location` |
- `address`
- `client_id`
- `comments`
- `delivery_to`
- `delivery_to_any`
- `depot_id`
`description`
- `id`
- `phone`
- `pickup_from_any`
- `point`
- `ref`
- `title`
- `type` ||
|| `vehicle` |
- `depot_id`
- `ending_depot_id`
- `finish_at`
- `fixed_planned_route`
- `global_proximity_attraction_point`
- `id`
- `imei`
- `fixed_work_breaks`
- `middle_depot_id`
- `phone`
- `planned_route`
- `ref`
- `shifts`
- `start_at`
- `starting_depot_id`
- `visited_locations` ||
|| `vehicle-shift` |
- `id` ||
|| `options` |
- `date`
- `location_groups` ||
|#

{% endcut %}

You can use the created presets to implement various scenarios and planning strategies. For more information, see [Using presets](https://yandex.kz/routing/doc/en/vrp/presets.md).

## Copying a public preset {#presets-public-copy}

You cannot edit public presets. If you want to change the settings of a public preset, save a copy as a private preset and make the changes to that file.

**_Method 1_**

1. Under **Settings** → **Presets**, click **Private**.
1. Click **Add preset**.
1. Select a preset type, enter a preset name, and provide a description (optional). The name must be unique within the company, and it cannot start with `public_` or contain a comma.
1. At the bottom, click **Copy public preset** to display a list of public presets of the selected type.
1. Select a preset, and its contents will be copied to the edit window.
1. Edit the settings and click **Save**.

**_Method 2_**

1. Under **Settings** → **Presets**, click **Public**.
1. Open the preset you want to copy.
1. Click **Make personal copy of public preset**.
1. Change the preset name and description (optional). You can't change the preset type.
1. Edit the settings and click **Save**.

## Editing and deleting a preset {#presets-editing}

You can only edit your own presets that are available to your company. Only the latest (current) version is stored for each preset.

To edit a preset, click its name. In edit mode, you can change the name, description, and contents of the preset.

![](./_images/code.svg): Beautify code.

![](./_images/preset-edit.png)

You can remove a preset from the list or in edit mode.

**_Removing from the list_**

1. Hover the mouse over the line with the preset.
1. Click ![](./_images/delete.svg) at the end of the line.
1. Confirm the action.

**_Removing in edit mode_**

1. Open the preset you want to remove.
1. Click **Delete**.
1. Confirm the action.


<!-- source: en/vrp/_includes/feedback.md -->
<a href="feedback">
  <span class="button">Contact support</span>
</a>


<!-- endsource: en/vrp/_includes/feedback.md -->
