• Domains
  • PUT Contact

Update contact

This method allows you to update contact information like name, email, privacy or voice.


Production environment:

  • https://domains.altravia.com/contact/"contact_id"

Testing environment

  • https://test.domains.altravia.com/contact/"contact_id"


Property name Type Required Description
name string no Contact name.
org string no Contact organization.
street string no Contact address.
city string no Contact city.
province string no Contact province.
postalcode string no Contact postal code.
countrycode string no Contact country code.
voice string no Contact telephone number; only this international format accepted:'+39.3502285745'.
email string no Contact email.
consentforpublishing boolean no Contact privacy.
nationalitycode string no* Contact nationality code.
entitytype int no* Contact entity type:
- 0: non-registering contact.
- 1: natural persons.
- 2: companies, sole proprietorships.
- 3: freelancers.
- 4: non-profit organizations.
- 5: public entities.
- 6: other subjects.
- 7: foreign subjects.
regcode string no* Tax code or VAT number.

Request examples


Response Format

If successful, the response header HTTP status code will be 200 OK and the request will be answered.

If you try to get a request without authorization, you will receive an error 401 Unauthorized.

Additionally you should also handle the 400 Bad request status. For more info on HTTP status handling see dedicated section in Integration best practices page.

Request Response

Parameter Type Description
data array Empty if the call is successful.
message string It contains a message that can be shown by the user.
success boolean True or false.
error int Present only if the API call fails, it contains an error code.