Get an address

Method

GET

Path

addresses/ID

where ID is the ID number of the address

Request Parameters

None

Response

A JSON object with success, message, and data attributes. The data attribute holds an Address object.

Sample Response

{
    "success": true,
    "message": "Retrieved user address successfully",
    "data": {
        "id": 51,
        "end_subscriber_type": "individual",
        "company_name": null,
        "first_name": "Max",
        "last_name": "Mustermann",
        "phone_number": null,
        "email_address": "user@example.com",
        "vat_number": null,
        "street": "Wilhelmstraße",
        "street_number": "123",
        "residence": null,
        "floor": null,
        "box": null,
        "postal_code": "12345",
        "city": "Berlin",
        "state": null,
        "country": "DE",
        "service_usage": null
    }
}