---
metadata:
  - name: generator
    content: Diplodoc Platform v5.19.6
alternate:
  - https://docs.routeq.com/doc/en/delivery/quickstart/depot.md
  - https://docs.routeq.com/doc/tr/delivery/quickstart/depot.md
---
> **Documentation Index:** Fetch the complete configuration index at https://docs.routeq.com/doc/tr/llms.txt

# Depo ekleme

Çalışmaya başlamadan önce şirket için teslimatların yapılacağı depoların listesini ayarlamanız gerekir. Depo, tüm rotaların başlangıç noktasını belirler.

{% note info "Not" %}

{% include [warehouse-poluchenie-ID](../_includes/poluchenie-ID-0590aa83f887.md) %}

{% endnote %}

**_Lojistik Çalışma Alanı arayüzünden_**

  1. {% include [open-logist-workplace-companies](../_includes/open-logist-workplace-9f7487b03a98.md) %}
  2. Soldaki menüde **Ayarlar** → **Depolar**'ı seçin.
  3. **Depo oluştur**'a tıklayın.
  4. Depo bilgilerini girin ve **Oluştur**'a tıklayın.

**API aracılığıyla**

: Şu kaynağa sorgu gönderin: [depots-batch](https://yandex.ru/routing/doc/en/delivery/redoc/index.html#operation/editsMultipleDepots). Sorguda depo bilgilerini belirtin.

  {% include [add-task-postman-collection](../_includes/add-task-postman-collection-38419a096d54.md) %}

  {% note alert "Uyarı" %}

  Şartname mevcut objeler için gerekli alanları içerir; yeni objeler için bu liste daha geniştir. `depots-batch` kaynağına yönelik bir sorgu yoluyla yeni objeler eklerken [depots](https://yandex.ru/routing/doc/en/delivery/redoc/index.html#operation/addsADepot) kaynağına gönderilen sorguda zorunlu olarak belirtilen alanları doldurun.

  {% endnote %}

  **Sorgu:**

  {% list tabs %}

  - Windows

    cURL

    ```html
    curl -H "Content-Type: application/json" -H "Authorization: OAuth sizin-token'ınız" -X POST -d @<UTF-8_kodlamasına_göre_dosya_yolu> https://courier.yandex.ru/api/v1/companies/<şirketinizin-id'si>/depots-batch
    ```

    Dosya



    
    ```json
    [
      {
        "number":"111",
        "name":"Depot 1",
        "address":"Alemdar, 34110 Fatih/İstanbul",
        "lat": 41.0109,
        "lon": 28.9697,
        "time_interval":"10-22"
      }, 
      {
        "number":"112",
        "name":"Depot 2",
        "address":"Kalenderhane, 34134 Fatih/İstanbul",
        "lat": 41.0151,
        "lon": 28.9582,
        "time_interval":"11:00 - 23:00"
      }
    ]
    ```


  - MacOS/Linux

    cURL




    ```html
    curl -H "Content-Type: application/json" -H "Authorization: OAuth OAuth-token'ınız" -X POST -d '[{"number":"111", "name":"Depot 1", "address":"Alemdar, 34110 Fatih/İstanbul", "lat": 41.0109, "lon": 28.9697, "time_interval":"10-22"}, {"number":"112", "name":"Depot 2", "address":"Kalenderhane, 34134 Fatih/İstanbul", "lat": 41.0151, "lon": 28.9582, "time_interval":"11:00 - 23:00"}]' https://courier.yandex.ru/api/v1/companies/<şirketinizin-id'si>/depots-batch
    ```


  {% endlist %}

  **Sonuç:**

  ```json
  {
    "inserted": 2,
    "updated": 0
  }
  ```

{% include [warehouse-feedback](../_includes/feedback-e044755025a6.md) %}

