Get Customer
Retrieve the full details of a single customer by their unique ID.
Authentication
Your API key. Can also be provided via Authorization: Bearer header.
Path Parameters
The UUID of the customer to retrieve.
Response
Unique identifier for the customer (UUID)
Your seller account ID (UUID)
Legal entity type if provided
Address information if provided
Postal redirect address if set
Customer status. One of active, inactive, or suspended. Inactive or suspended customers cannot log in to the portal.
Source of customer creation (e.g., “api”)
ISO 8601 timestamp of when the customer was created
ISO 8601 timestamp of when the customer was last updated
Example Request
curl -X GET https://app-api.my-virtual-office.com/api/customers/550e8400-e29b-41d4-a716-446655440000 \
-H "X-API-Key: sk_live_your_api_key_here"
Example Response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"seller_id": "660e8400-e29b-41d4-a716-446655440001",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"company_name": "Acme Corp",
"legal_entity": "GmbH",
"language": "en",
"address_data": {
"street": "Musterstraße 123",
"city": "Berlin",
"postal_code": "10115",
"country": "Germany"
},
"postal_redirect_address": null,
"status": "active",
"source": "api",
"created_at": "2024-01-15T10:30:00.000Z",
"updated_at": "2024-02-20T14:15:00.000Z"
}
Error Responses
{
"error": "Unauthorized",
"message": "API key is required. Provide it via X-API-Key header or Authorization Bearer token."
}
{
"error": "Not Found",
"message": "Customer not found"
}
Error Codes
| HTTP Code | Error | Description |
|---|
| 401 | Unauthorized | Missing or invalid API key |
| 404 | Not Found | Customer not found or does not belong to your account |
| 500 | Internal Server Error | Unexpected server error |