Skip to content

Remove lockers from a network

Request

Removes the specified lockers from the network.

Security
ApiKeyAuth
Path
uidinteger, (int64)required

The unique identifier of the network.

Example:8065713862
Bodyapplication/jsonrequired
lockerUidsArray of integers, (int64)required

The list of locker UIDs to remove from the network.

Example:
[ 10000019, 10000020 ]
curl -i -X DELETE \
  https://docs.glsnxt.com/_mock/openapi-carrier-integration-api/networks/8065713862/lockers \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "lockerUids": [
      10000019,
      10000020
    ]
  }'

Responses

List of removed network lockers.

Bodyapplication/json
Array [
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" } ]