Create or update a contact profile
eurodns_contact_save_profileCreate or update a contact profile: omit id to create, include id to update. Returns saved profile; when updating, supply all fields because omitted values are cleared.
Instructions
Creates a contact profile when id is omitted, or updates the profile with that id, and returns the saved profile. An update must carry every field, changed or not, because the API clears anything omitted: start from eurodns_contact_get_profile. Domains already registered keep their contacts; this changes what future orders use.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric id of the profile to update, from eurodns_contact_get_profile. Omit it to create a new profile. | |
| body | Yes | The profile: contactType, profileName, the person or company name, postal address, countryCode, email and phone, and the isOrg, isAdmin, isTech and isBilling roles it may fill. When updating, send every field, changed or not: the API clears anything omitted. | |
| lang | No | Two-letter language code for the messages the API returns, e.g. en. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Response body as returned by the API. | |
| status | Yes | Upstream HTTP status code. |