cURL
curl --request GET \ --url https://api-eu.flexportal.io/v1/customers/{customerId} \ --header 'Authorization: Bearer <token>' \ --header 'Tenant-ID: <tenant-id>'
{ "customerId": "<string>", "tenantId": "<string>", "email": "<string>", "firstName": "<string>", "lastName": "<string>", "customerType": "individual", "totalOrders": 123, "totalDevicesRented": 123, "totalMonthlyRevenue": 123, "status": "active", "orderIds": [ "<string>" ], "rentalIds": [ "<string>" ], "createdBy": "<string>", "company": "<string>", "phone": "<string>", "customFields": {}, "lastBillingAddress": { "contactName": "<string>", "streetAddress": "<string>", "city": "<string>", "country": "<string>", "company": "<string>", "buildingInfo": "<string>", "locality": "<string>", "adminArea": "<string>", "postalCode": "<string>" }, "lastShippingAddress": { "contactName": "<string>", "streetAddress": "<string>", "city": "<string>", "country": "<string>", "company": "<string>", "buildingInfo": "<string>", "locality": "<string>", "adminArea": "<string>", "postalCode": "<string>" }, "createdAt": "<unknown>", "updatedAt": "<unknown>" }
Retrieves a specific customer by ID.
API key obtained from FlexPortal dashboard
Your tenant identifier
The customer ID
Customer details
individual
business
active
inactive
Show child attributes