Skip to main content
GET
/
suppliers
/
{supplierPublicId}
/
locations
Get all locations for a supplier
curl --request GET \
  --url https://api.maalbar.dk/suppliers/{supplierPublicId}/locations \
  --header 'X-Api-Key: <api-key>'
[
  {
    "publicId": "<string>",
    "type": "<string>",
    "name": "<string>",
    "own": true,
    "geographical": {
      "location": {
        "publicId": "<string>",
        "name": "<string>"
      }
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "externalId": "<string>",
    "address": "<string>",
    "city": "<string>",
    "zip": "<string>",
    "weeksRotation": 123,
    "totalCapacity": 123,
    "shelfHeight": 123,
    "stores": 123,
    "timeperiod": "<string>",
    "vatNumber": "<string>",
    "tier": "<string>"
  }
]

Authorizations

X-Api-Key
string
header
required

Response

Successful response

publicId
string
required
type
string
required
name
string
required
own
boolean
required
geographical
object
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
externalId
string | null
address
string | null
city
string | null
zip
string | null
weeksRotation
integer | null
totalCapacity
number | null
shelfHeight
number | null
stores
number | null
timeperiod
string | null
vatNumber
string | null
Maximum string length: 100
tier
string | null