POST melissa_data/verify
Available from CRM.COM R10.0.0
This method verifies an address registered in CRM.COM against the information of Melissa Data System. Only one address can be verified in each call.
Resource URL
Parameters
Name | Type | Description |
token | String | The token retrieved from the login method |
address_line_1 (optional) | String | Input address line 1 information to be verified Available from CRM.COM R14.2.0 |
street_number (optional) | String | Input street number information to be verified
|
street_name (optional) | String | Input street name information to be verified |
municipality (optional) | String | Input municipality information to be verified |
city (optional) | String | Input city information to be verified |
postal_code (optional) | String | Input postal code information to be verified |
country (optional) | String | Restricts the retrieved addresses to the addresses of the specified Country. Always defaults to the Country specified in Admin Settings. If specified, then the Country's 2-characters code must be defined |
Restrictions
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
result | String | Defines the address verification result. In case of failed verification, the description of all of the invalid address information will be included in the results |
formatted_address | String | The Full address |
city | String | Address city |
municipality | String | Address municipality |
postal_code | String | Address post code |
country | String | Address Country |
street_name | String | Address street name |
street_number | String | Address street number |
apartment | String | Address apartment number |
po_pox_postal_code | String | Address PO Box post code |