Employee Single
Introduction
The employee-single component shows a detailed view of a single employee, including contact information, role, and associated store. It is useful for team-member profile pages or contact pages.
Basic Usage
<div
data-carpose-component="employee-single"
data-api-key="your-api-key"
data-id="550e8400-e29b-41d4-a716-446655440000"
></div>Attributes
Attribute
Required
Description
data-carpose-component
Yes
Must be employee-single
data-api-key
Yes
Your Carposé API key
data-id
Yes
The UUID of the employee to display
data-config-show-team-headline
No
Show the employee's team name as a headline (default false)
Behavior
Fetches and displays the specified employee's details
Contact information includes email and phone where available
The associated store is shown with a link to the store page
Notes
Requires a valid employee UUID; shows an error if not found
See also Employee List for a list of employees
Last updated