Create or update a contact profile
eurodns_contact_save_profileCreate or update a contact profile for EuroDNS domains. Provide all fields on update to avoid clearing omitted data.
Instructions
Creates a contact profile from body 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 what eurodns_contact_get_profile returned rather than from the changed fields alone. Domains already registered keep their contacts; this changes what future orders use, and does not make the profile the default, which is eurodns_contact_set_as_default_profile.
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. |