Breadcrumbs

API - Locations


Overview

The list page that contains the Locations, which are part of standard Business Central. Every item ledger entry must belong to one Location.

Endpoint name

locations

Source table

Location

Fixed view


Requests allowed

GET

Primary key

Code

Record ID

code

Procedures

None


Data

Field List

Property

Type

Format

Description


systemId

string

uuid



code

string 

max 10

The unique id of this location.

Record ID

primary key

name

string

max ???



stockCenterId

string

uuid



stockCenterCode

string

max 20



useTradeItems

boolean




lastModified

string

date-time




Example Object

An example of one object :

JSON
{
    "code": "BLUE",
    "systemId": "57cb189f-dd11-ef11-9f8b-6045bde9cc61",
    "name": "Blue Warehouse",
    "stockCenterId": "04daea07-a0a1-ef11-b017-aa2d6f3d6955",
    "stockCenterCode": "OWN",
    "useTradeItems": true,
    "lastModified": "2025-03-31T15:44:30.543Z"
}


Usage

This API is non-editable so it is only possible to read data.

Read all entries

JSON
GET
.../locations

Read a specific entry

JSON
GET
.../locations('BLUE')