---
title: "Listare gestiuni"
method: GET
path: "/v3/companies/{cif}/warehouses"
tags: ["Gestiuni"]
---

# Listare gestiuni

`GET /v3/companies/{cif}/warehouses`

## Request

- Base URL: `https://ws.smartbill.ro/SBORO/api`
- URL: `https://ws.smartbill.ro/SBORO/api/v3/companies/{cif}/warehouses`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/smartbill/apis/smartbill-api/docs/v3/companies/:cif/warehouses/get.ts> (a function with typed inputs; its response is checked against the schema)

Returneaza toate gestiunile si depozitele din nomenclatorul tau SmartBill.

**Filtrare**

`name` potriveste oriunde in nume, nu doar la inceput: `?name=pozit` gaseste si `Depozit Central`, si `Depozit Secundar`. Un filtru trimis gol (`?name=`) e ignorat, deci primesti lista nefiltrata.

## Path parameters

- `cif` string, required

## Query parameters

- `name` string
- `limit` integer
- `after` string
- `before` string

## Response `200`

Lista gestiuni paginata (paginare cursor)

- object
  - `items` WarehouseV3[]
    - `id` string: ID unic gestiune
    - `name` string
    - `description` string
    - `type` 'en gros' | 'en detail': Tipul gestiunii
    - `keeper` string: Gestionar
    - `address` string
    - `city` string
    - `county` string
    - `country` string: Codul tarii (ISO 3166-1 alpha-2)
    - `isCustody` boolean: Gestiune in custodie
  - `pagination` object
    - `next` string, nullable: URL-ul complet catre pagina urmatoare, sau null daca nu mai exista pagini
    - `previous` string, nullable: URL-ul complet catre pagina anterioara, sau null daca esti pe prima pagina

## Other responses

- `400`: Parametri de paginare sau filtrare invalizi
- `401`: Autentificare esuata
- `403`: Permisiuni insuficiente
- `404`: Cursor de paginare inexistent
- `405`: Metoda HTTP nepermisa
- `406`: Format neacceptat (Accept header invalid)

## Changes

- **2026-09-18** `570149c0edde`: 1 info
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/smartbill/apis/smartbill-api/changes/v3/companies/:cif/warehouses/get.md)

---

[API](https://skmtc.dev/smartbill/apis/smartbill-api.md) - [All operations](https://skmtc.dev/smartbill/apis/smartbill-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartbill/apis/smartbill-api/revisions/b79a53e24b9d?raw)
