Returns detailed customer information. Requires SITE_CUSTOMER:READ permission and RS:CUSTOMER_GET right.
Use include to load additional relations.
Available includes: address, groups, color, origin, user, gender, stopSms, notary, relations, subscriptions, searchRequests, agency, consent, mandate, website.
Security
bearerAuth
- Mock serverhttps://api-doc.immo-facile.com/_mock/openapi/customers/{customerId}
- https://v2.immo-facile.com/api/v2/sitehttps://v2.immo-facile.com/api/v2/site/customers/{customerId}
curl -i -X GET \
'https://api-doc.immo-facile.com/_mock/openapi/customers/789?include=address%2Cgroups%2Corigin%2Cuser' \
-H 'Authorization: Bearer <YOUR_opaque_HERE>'Customer details
Response
{ "data": { "id": 789, "gender": {}, "first_name": "Jean", "last_name": "Dupont", "business_name": "string", "firstname": "string", "lastname": "string", "companyName": "string", "email": "jean.dupont@example.com", "phones": [ … ], "phone": "+33201010101", "mobilePhone": "+33601010101", "origin": {}, "assigned_user": {}, "created_by": {}, "agency": {}, "next_contact_at": "2019-08-24T14:15:22Z", "reference": "string", "created_via": {}, "informations": {}, "comments": "string", "current_situation": {}, "type": 0, "groups": [ … ], "address": [ … ], "color": {}, "newsletter": true, "subscriptions": [ … ], "rgpd_consent": true, "rgpd": true, "consent": { … }, "created_at": "2025-01-15T10:30:00+01:00", "updated_at": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "notary": {}, "mandate": [ … ], "website": {}, "search_requests": [ … ], "relations": [ … ], "typeProject": {}, "stopSms": {}, "searchRequests": [ … ] } }