The Network API endpoints provide management of locker networks, enabling carriers to share lockers between network owners and tenants. These endpoints support:
- Network Listing: View all networks where the carrier is the owner or tenant.
- Network Locker Management: Add, remove, and update lockers within a network.
- Paginated Locker Retrieval: Retrieve lockers in a network with filtering and pagination.
Key Features:
- Locker Sharing: Share lockers between carriers through networks.
- Status Management: Track and update locker status within networks (e.g., PENDING, ACCEPTED, DECLINED).
- Carrier Details: Optionally update carrier-specific details when managing network lockers.
Get a list of networks
Returns all networks where the carrier is the owner or tenant.
Get a list of networks › Responses
List of networks retrieved successfully.
uidThe unique identifier of the network.
ownedByThe carrier that owns the network.
tenantThe carrier that is the tenant of the network.
autoShareWhen true, new lockers owned by this carrier are automatically added to the network.
Get a specific network
Retrieve details of a specific network by its unique identifier.
path Parameters
uidThe unique identifier of the network.
Get a specific network › Responses
Network retrieved successfully.
uidThe unique identifier of the network.
ownedByThe carrier that owns the network.
tenantThe carrier that is the tenant of the network.
autoShareWhen true, new lockers owned by this carrier are automatically added to the network.
Get lockers in a network
Retrieve a paginated list of lockers within a network with optional filtering and sorting.
path Parameters
uidThe unique identifier of the network.
query Parameters
networkLockerStatusFilter lockers by their network status.
pageThe page number to retrieve (1-based).
pageSizeThe number of items per page.
sortByThe field to sort results by.
sortDirectionThe sort direction.
Get lockers in a network › Responses
Paginated list of network lockers retrieved successfully.
The list of network lockers for the current page.
pageNumberThe current page number (1-based).
pageSizeThe number of items per page.
totalElementsThe total number of lockers across all pages.
isLastWhether this is the last page.
Add lockers to a network
Adds lockers owned by the carrier to the network. Lockers not owned by the carrier are silently skipped.
path Parameters
uidThe unique identifier of the network.
Add lockers to a network › Request Body
lockerUidsThe list of locker UIDs to add to the network.
Add lockers to a network › Responses
List of newly added network lockers.
lockerUidThe unique identifier of the locker.
providerNameThe name of the locker provider.
providerLockerStatusThe current status of the locker on the provider's side.
lockerNameThe carrier-assigned name for the locker.
carrierLockerStatusThe status of the locker for the carrier.
networkLockerStatusThe status of the locker within the network.
carrierLockerIdThe carrier-specific locker identifier.
providerLockerIdThe provider-specific locker identifier.
Remove lockers from a network
Removes the specified lockers from the network.
path Parameters
uidThe unique identifier of the network.
Remove lockers from a network › Request Body
lockerUidsThe list of locker UIDs to remove from the network.
Remove lockers from a network › Responses
List of removed network lockers.
lockerUidThe unique identifier of the locker.
providerNameThe name of the locker provider.
providerLockerStatusThe current status of the locker on the provider's side.
lockerNameThe carrier-assigned name for the locker.
carrierLockerStatusThe status of the locker for the carrier.
networkLockerStatusThe status of the locker within the network.
carrierLockerIdThe carrier-specific locker identifier.
providerLockerIdThe provider-specific locker identifier.
Update a network locker
Updates the status of a locker within a network, optionally including carrier details.
path Parameters
uidThe unique identifier of the network.
lockerUidThe unique identifier of the locker within the network.
Update a network locker › Request Body
networkLockerStatusThe new status for the network locker.
Optional carrier details to update for a network locker.
Update a network locker › Responses
Network locker updated successfully.
lockerUidThe unique identifier of the locker.
providerNameThe name of the locker provider.
providerLockerStatusThe current status of the locker on the provider's side.
lockerNameThe carrier-assigned name for the locker.
carrierLockerStatusThe status of the locker for the carrier.
networkLockerStatusThe status of the locker within the network.
carrierLockerIdThe carrier-specific locker identifier.
providerLockerIdThe provider-specific locker identifier.