# WarehouseAddresses

> A warehouse or site (magazijn in the warehouse screens, hoofdmagazijn on the scanner), with its address.

Subject: Warehouse.

A warehouse or site (magazijn in the warehouse screens, hoofdmagazijn on the scanner), with its address. The top of the three location levels: address, aisle, shelf.

Label in Fledge: Magazijn adressen.

| | |
| --- | --- |
| URL | `https://odata-api.fledge.nl/v2-8/WarehouseAddresses` |
| Key | `administration_id`, `warehouse_address_id` |
| Administration-specific | yes: always filter on `administration_id` |
| Operations | GET list, GET one, POST, PATCH, DELETE |
| Read licenses | BASIS, BASISAPP, URENPC |
| Write licenses | VERKOOP, PRODUCTIE, INKOOP, FINANCIEEL, BEHEER |
| Scopes | FLEDGE_PORTAL, FLEDGE_TERMINAL |

## Example requests

```http
GET https://odata-api.fledge.nl/v2-8/WarehouseAddresses?$filter=administration_id eq 1&$select=warehouse_address_id,is_primary,company_name,description&$top=50
GET https://odata-api.fledge.nl/v2-8/WarehouseAddresses(administration_id=1,warehouse_address_id={warehouse_address_id})
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `administration_id` (key) | Int32 | Administratienummer |
| `warehouse_address_id` (key) | Int32, not null | Adresnummer |
| `city_1` | String | Plaats |
| `city_2` | String | Plaats |
| `code` | String | Code |
| `company_name` | String | Bedrijfsnaam |
| `country_id` | Int32 | Landnummer |
| `description` | String | Omschrijving |
| `email` | String | E-mail |
| `fax_number` | String | Telefax |
| `intrastat_traffic_area_id` | Int32 | Verkeersgebied code: Verkeersgebiedcode |
| `is_primary` | Boolean | Primair. The administration's default warehouse; one per administration. Not the article's default location (ArticleLocations.is_primary). The app shows it but can't change it. |
| `language_id` | Int32 | Taalkode |
| `memo` | String | Opmerking |
| `phone_number` | String | Telefoon |
| `street_1` | String | Straat |
| `street_2` | String | Straat |
| `street_number_1` | Int32 | Nummer |
| `street_number_2` | String | Subnummer |
| `zip_code` | String | Postcode |

## Relations

- `Administration` → [Administrations](https://docs.fledge.nl/en/api/reference/Administrations.md) (one)
- `CountryCode` → [CountryCodes](https://docs.fledge.nl/en/api/reference/CountryCodes.md) (one)
- `ProductionOrderAssemblies` → [ProductionOrderAssemblies](https://docs.fledge.nl/en/api/reference/ProductionOrderAssemblies.md) (many)
- `ProductionOrderHeaders` → [ProductionOrderHeaders](https://docs.fledge.nl/en/api/reference/ProductionOrderHeaders.md) (many)
- `WarehouseAisles` → [WarehouseAisles](https://docs.fledge.nl/en/api/reference/WarehouseAisles.md) (many)

---

Source: https://docs.fledge.nl/en/api/reference/WarehouseAddresses
