Skip to content

Update a network locker

Request

Updates the status of a locker within a network, optionally including carrier details.

Security
ApiKeyAuth
Path
uidinteger, (int64)required

The unique identifier of the network.

Example:8065713862
lockerUidinteger, (int64)required

The unique identifier of the locker within the network.

Example:10000019
Bodyapplication/jsonrequired
networkLockerStatusstringrequired

The new status for the network locker.

Example:"ACCEPTED"
carrierobject(carrier_update)

Optional carrier details to update for a network locker.

curl -i -X PATCH \
  https://docs.glsnxt.com/_mock/openapi-carrier-integration-api/networks/8065713862/lockers/10000019 \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "networkLockerStatus": "ACCEPTED",
    "carrier": {
      "lockerName": "Berlin Locker 01",
      "lockerId": "XR1003",
      "activationDate": "2025-08-20T00:00:00Z"
    }
  }'

Responses

Network locker updated successfully.

Bodyapplication/json
lockerUidinteger, (int64)required

The unique identifier of the locker.

Example:10000019
providerNamestringrequired

The name of the locker provider.

Example:"MYFLEXBOX_DE"
lockerNamestring

The carrier-assigned name for the locker.

Example:"Berlin Hauptbahnhof"
providerLockerStatusstringrequired

The current status of the locker on the provider's side.

Example:"ACTIVE"
carrierLockerStatusstring

The status of the locker for the carrier.

Example:"ACTIVE"
networkLockerStatusstring

The status of the locker within the network.

Example:"PENDING"
carrierLockerIdstring

The carrier-specific locker identifier.

Example:"3001"
providerLockerIdstring

The provider-specific locker identifier.

Example:"68958"
Response
{ "lockerUid": 10000019, "providerName": "MYFLEXBOX_DE", "lockerName": "Berlin Hauptbahnhof", "providerLockerStatus": "ACTIVE", "carrierLockerStatus": "ACTIVE", "networkLockerStatus": "PENDING", "carrierLockerId": "3001", "providerLockerId": "68958" }