E-commerce API
POST /services/webshop/v1/customer/profile/get Auth

Get customer profile

Returns the full profile of the currently authenticated customer, including default billing/shipping address snapshots and email verification status.

Responses

200
401
429
Profile returned
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 object
data.customer object
data.countries object Shared country list (code => label) so the dashboard can render the same country select as checkout without a second API call.
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
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/webshop/v1/customer/profile/get" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
fetch('https://api.wemasy.nl/api/services/webshop/v1/customer/profile/get', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_TOKEN',
    'Accept': 'application/json'  }})
.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/webshop/v1/customer/profile/get');
$data = $response->json();
import requests

headers = {
    "Authorization": "Bearer YOUR_API_TOKEN",
    "Accept": "application/json"
}
r = requests.post("https://api.wemasy.nl/api/services/webshop/v1/customer/profile/get", headers=headers)
print(r.json())
Response Example
{
    "customer": {
        "id": 42,
        "project_id": 1,
        "email": "jane@example.com",
        "firstname": "Jane",
        "lastname": "Doe",
        "phone": "+31612345678",
        "account_type": "private",
        "company": null,
        "tax_number": null,
        "email_verified_at": null,
        "default_billing": null,
        "default_shipping": null,
        "cart_reminder_consent_active": false,
        "created_at": "2026-04-22T10:30:00.000000Z"
    }
}

Try It

Export