List carrier addresses
GET/truckers/address/
Returns a paginated list of all addresses associated with the authenticated carrier.
Features:
- Configurable pagination (page, limit)
- Default sorting by name (asc) and creation date (desc)
- Complete list can be obtained with page=-1 and limit=-1
Parameters:
- page: Page number (1-based), use -1 to disable pagination
- limit: Maximum results per page, use -1 to disable pagination
Usage example:
- Display paginated list in user interface
- Export all addresses (using page=-1)
Request
Responses
- 200
Successful response containing a paginated list of addresses. The structure follows MongoDB's pagination format.