Retrieve an address from a location
Retrieves a Location Address resource.
Authorizations:Token, JWT
Query Parameters
| location_id required | integer>= 1 |
Responses
200Location Address resource
Response schema:
Location Address resource | address | string[1 .. 765] charactersThe street address.Example: "123 Main Street, Suite 4B" |
| city | string[1 .. 255] charactersThe city name.Example: "New York" |
| zipcode | string[1 .. 255] charactersThe postal or ZIP code.Example: "10001" |
| state_name | string[0 .. 255] charactersThe full name of the state or province. Use this for countries without a standardized state code list.Example: "New York" |
| state_code | string[0 .. 64] charactersThe standardized code for the state or province (e.g., ISO 3166-2).Example: "NY" |
| country_code | string[2 .. 3] charactersThe two-letter ISO 3166-1 alpha-2 country code.Example: "US" |
| id | integer or null>= 1 |
401Unauthorized
Response schema:
Unauthorized | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
404Resource not found
Response schema:
Resource not found | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |
500Internal error
Response schema:
Internal error | type | stringExample: "https://tools.ietf.org/html/rfc2616#section-10" |
| title | stringExample: "An error occurred" |
| detail | string or nullExample: "Cannot find entity" |
| instance | string or null |