> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maalbar.dk/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Locations

> Set up the physical locations in your supply chain before creating routes or screenings.

Locations represent physical places in your supply chain — supplier factories, warehouses, and sales channels. They are used as transport origins on screenings, and as the origin for materials and processes.

## Look up geographical locations

Locations are anchored to a geographical place from the Målbar catalog. Call [GET /v1/geographical/locations](/api-reference/geographical-locations/get-geographical-locations) to find the `publicId` for the country or city you need.

Save the geographical `publicId` (`lli_` prefix) — you'll pass it when creating a location.

## Create a location

Call [POST /v1/logistics/locations](/api-reference/locations/create-a-location) using the geographical `publicId` from above.

The response includes a location `publicId` (`trl_` prefix) — save this. You'll use it as the `transportLocation` on a screening, and as the origin or destination when creating routes.

### The `type` field

`type` is required. Set these fields depending on the type:

| Type             | Fields                                                                                                   |
| :--------------- | :------------------------------------------------------------------------------------------------------- |
| `Supplier`       | `name`, `geographical`, `tier`, `own`, `vatNumber`, `externalId`, `supplier`, `address`, `zip`, `city`   |
| `Warehouse`      | `name`, `geographical`, `own`, `totalCapacity`, `shelfHeight`, `weeksRotation`, `address`, `zip`, `city` |
| `RetailStore`    | `name`, `geographical`, `totalCapacity`, `weeksRotation`, `address`, `zip`, `city`                       |
| `RetailLocation` | `name`, `geographical`, `timeperiod`, `totalCapacity`, `weeksRotation`, `stores`                         |
| `B2B`            | `name`, `geographical`                                                                                   |
| `FinalClient`    | `name`, `geographical`                                                                                   |
| `Unknown`        | *(no fields required — name and geographical are set automatically)*                                     |

`tier` accepts `Tier1`, `Tier2`, `Tier3`, or `Tier1And2`.

Repeat for each location in your supply chain.

## Next

[Create Routes →](/developer/quickstart/routes)
