Domain Registration API
POST /services/domains/v1/holder-profiles/update Auth

Update Holder Profile

Request Body Required

FieldTypeRequiredDescriptionExample
profile_id integer Yes 7
last_updated_at integer|null No 1711929600
profile_name string
max: 255
Yes My Business Profile
first_name string
max: 255
Yes John
last_name string
max: 255
Yes Doe
company_name string|null
max: 255
No Acme Inc.
email string (email)
max: 255
Yes john@example.com
phone string
max: 50
Yes +31612345678
address_line1 string
max: 255
Yes Keizersgracht 123, 1015 CJ
address_line2 string|null
max: 255
No Suite 4B
city string
max: 255
Yes Amsterdam
state string|null
max: 255
No North Holland
postal_code string
max: 20
Yes 1015 CJ
country string
max: 2
Yes NL
is_default boolean No true

Responses

200
409
404
422
401
403
429
Successful response
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data string
Conflict
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Resource not found
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
data mixed[]
Validation error
FieldTypeDescription
message string Errors overview.
errors object A detailed description of each field that failed validation.
Unauthenticated — missing or invalid Bearer token
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
Forbidden — insufficient permissions for this resource
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
FieldTypeDescription
error boolean
message string
Too Many Requests — rate limit exceeded
Headers
HeaderTypeDescriptionExample
X-RateLimit-Limit integer Maximum number of requests allowed per minute 60
X-RateLimit-Remaining integer Number of requests remaining in the current window 57
Retry-After integer Seconds until the rate limit resets 60
FieldTypeDescription
error boolean
message string
Base URL
https://api.wemasy.nl/api
Authentication

Request Sample
cURL
JS
PHP
Python
curl -X POST "https://api.wemasy.nl/api/services/domains/v1/holder-profiles/update" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "profile_id": 7,
    "last_updated_at": 1711929600,
    "profile_name": "My Business Profile",
    "first_name": "John",
    "last_name": "Doe",
    "company_name": "Acme Inc.",
    "email": "john@example.com",
    "phone": "+31612345678",
    "address_line1": "Keizersgracht 123, 1015 CJ",
    "address_line2": "Suite 4B",
    "city": "Amsterdam",
    "state": "North Holland",
    "postal_code": "1015 CJ",
    "country": "NL",
    "is_default": true
}'
fetch('https://api.wemasy.nl/api/services/domains/v1/holder-profiles/update', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "profile_id": 7,
    "last_updated_at": 1711929600,
    "profile_name": "My Business Profile",
    "first_name": "John",
    "last_name": "Doe",
    "company_name": "Acme Inc.",
    "email": "john@example.com",
    "phone": "+31612345678",
    "address_line1": "Keizersgracht 123, 1015 CJ",
    "address_line2": "Suite 4B",
    "city": "Amsterdam",
    "state": "North Holland",
    "postal_code": "1015 CJ",
    "country": "NL",
    "is_default": true
})})
.then(r => r.json())
.then(data => console.log(data));
$response = Http::withToken('YOUR_API_TOKEN')
    ->accept('application/json')
    ->post('https://api.wemasy.nl/api/services/domains/v1/holder-profiles/update', {
    "profile_id": 7,
    "last_updated_at": 1711929600,
    "profile_name": "My Business Profile",
    "first_name": "John",
    "last_name": "Doe",
    "company_name": "Acme Inc.",
    "email": "john@example.com",
    "phone": "+31612345678",
    "address_line1": "Keizersgracht 123, 1015 CJ",
    "address_line2": "Suite 4B",
    "city": "Amsterdam",
    "state": "North Holland",
    "postal_code": "1015 CJ",
    "country": "NL",
    "is_default": true
});
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
data = {
    "profile_id": 7,
    "last_updated_at": 1711929600,
    "profile_name": "My Business Profile",
    "first_name": "John",
    "last_name": "Doe",
    "company_name": "Acme Inc.",
    "email": "john@example.com",
    "phone": "+31612345678",
    "address_line1": "Keizersgracht 123, 1015 CJ",
    "address_line2": "Suite 4B",
    "city": "Amsterdam",
    "state": "North Holland",
    "postal_code": "1015 CJ",
    "country": "NL",
    "is_default": true
}
r = requests.post("https://api.wemasy.nl/api/services/domains/v1/holder-profiles/update", headers=headers, json=data)
print(r.json())
Response Example
{
    "error": false,
    "message": "string",
    "data": "string"
}

Try It
Request Body Required

Export