Get Customer Profile
Retrieve the authenticated customer's profile information.
Endpoint
GET /api/shop/customers/profileRequest Headers
| Header | Required | Description |
|---|---|---|
X-STOREFRONT-KEY | Yes | Your storefront API key |
Authorization | Yes | Bearer token (customer login required) |
Response Fields (200 OK)
| Field | Type | Description |
|---|---|---|
customer | object | Customer profile data |
Customer Fields
| Field | Type | Description |
|---|---|---|
id | integer | Customer ID |
firstName | string | First name |
lastName | string | Last name |
email | string | Email address |
phone | string | Phone number |
gender | string | Gender (M/F/Other) |
dateOfBirth | string | Birth date (YYYY-MM-DD) |
status | string | Account status |
createdAt | string | Account creation date |
updatedAt | string | Last update date |
Use Cases
- Display customer information
- Show account details in dashboard
- Verify customer information
- Pre-fill profile forms
- Display greeting with customer name

