Get a list of lockers
Retrieve a list of lockers with optional filters such as location, status, carrier, and provider.
Query parameters
-
providerName
string Filter lockers by provider name.
-
status
string Filter lockers by status.
Values are
ACTIVE
,INACTIVE
,MAINTENANCE
, orDECOMMISSIONED
. -
city
string Filter lockers by city.
-
countryCode
string Filter lockers by country code (ISO 3166-1 alpha-2).
-
compartmentSize
string Filter lockers by the size of compartments available.
Values are
SMALL
,MEDIUM
,LARGE
,XLARGE
, orXXLARGE
.
GET
/lockers
curl \
--request GET 'https://api.staging.glsnxt.com/ooh/carrier-connector/v1/lockers' \
--header "X-API-Key: $API_KEY"
Response examples (200)
[
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"carrier": {
"lockerName": "Fancy Locker 01",
"lockerId": "CARRIER_LOCKER_001",
"activationDate": "2025-08-20T00:00:00Z",
"status": "ACTIVE"
},
"provider": {
"name": "Provider X",
"lockerModel": "Model XYZ",
"lockerVersion": "v2.1",
"lockerUid": "PROVIDER_LOCKER_ABC123"
},
"location": {
"street": "Main Street",
"streetNumber": "1",
"postalCode": "90210",
"city": "Berlin",
"lon": -118.2437,
"lat": 34.0522,
"countryCode": "DE"
},
"features": {
"hasScreen": true,
"hasPinPad": true,
"hasPinBarcodeReader": false
},
"metadata": [
{
"key": "maxWeightCapacity",
"value": "50kg"
}
],
"compartmentTypes": [
{
"size": "SMALL",
"count": 10,
"width": 400,
"height": 200,
"length": 600
},
{
"size": "MEDIUM",
"count": 4,
"width": 400,
"height": 400,
"length": 600
},
{
"size": "LARGE",
"count": 2,
"width": 400,
"height": 800,
"length": 600
}
]
}
]
Response examples (400)
{
"errorCode": "INVALID_REQUEST",
"message": "Bad request due to invalid input"
}
Response examples (401)
{
"errorCode": "UNAUTHORIZED",
"message": "The requested resource requires authentication"
}
Response examples (500)
{
"errorCode": "SERVER_ERROR",
"message": "The server encountered an internal error"
}