This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves a staff member.
function getStaffMember(
staffMemberId: string,
options: GetStaffMemberOptions,
): Promise<StaffMember>;
ID of the staff member to retrieve.
Option for retrieving the staff member.
import { staffMembers } from "@wix/bookings";
async function getStaffMember(staffMemberId, options) {
const response = await staffMembers.getStaffMember(staffMemberId, options);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.