Skip to content

Assign lockers to a locker group

Request

Assigns the carrier's lockers to the locker group. A locker may belong to at most one group per type key.

Security
ApiKeyAuth
Path
uidinteger, (int64)required

The unique identifier of the locker group.

Example:6838265090
Bodyapplication/jsonrequired
lockerUidsArray of stringsrequired

The UIDs of the lockers to assign to the group.

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

Responses

Lockers assigned to the group successfully.

Bodyapplication/json
lockersAddedArray of stringsrequired

The UIDs of the lockers that were assigned to the group.

Example:
[ "10000019", "10000020" ]
Response
{ "lockersAdded": [ "10000019", "10000020" ] }