# Get a single staff member

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/rest/staff/shop/{shopId}/staff/{personnelId}:
    get:
      summary: Get a single staff member
      deprecated: false
      description: Retrieve detailed information for a single staff member
      operationId: getStaffById
      tags:
        - Staff
        - staff-api
      parameters:
        - name: shopId
          in: path
          description: Shop ID
          required: true
          example: 0
          schema:
            type: number
        - name: personnelId
          in: path
          description: Personnel ID
          required: true
          example: 0
          schema:
            type: number
      responses:
        '200':
          description: Staff member details
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    examples:
                      - true
                  data:
                    type: object
                    properties:
                      id:
                        type: number
                        description: Personnel ID
                      personnelId:
                        type: number
                        description: Personnel ID (same as id)
                      shopifyUserId:
                        type: string
                        description: Shopify user ID
                        nullable: true
                      userName:
                        type: string
                        description: Staff member name
                      email:
                        type: string
                        description: Email address
                      status:
                        type: string
                        description: 'Status: active or inactive'
                      position:
                        type: string
                        description: Job position
                        nullable: true
                      permission:
                        type: string
                        description: 'Permission level: Admin, Manager, or Staff'
                      pinCode:
                        type: string
                        description: POS PIN code
                        nullable: true
                      merchantExternalId:
                        type: string
                        description: External merchant ID
                        nullable: true
                      locations:
                        type: array
                        description: Assigned locations
                        items:
                          type: object
                          properties:
                            id:
                              type: number
                              description: Location ID
                            name:
                              type: string
                              description: Location name
                            shopifyLocationId:
                              type: string
                              description: Shopify location ID
                            timezone:
                              type: string
                              description: Location timezone
                            active:
                              type: boolean
                              description: Whether location is active
                          x-apidog-orders:
                            - id
                            - name
                            - shopifyLocationId
                            - timezone
                            - active
                      salaryWage:
                        type: object
                        description: Pay rate information
                        properties:
                          currencyCode:
                            type: string
                            description: Currency code (e.g., USD)
                          currencyMark:
                            type: string
                            description: Currency symbol (e.g., $)
                          rate:
                            type: number
                            description: Pay rate amount
                          rateType:
                            type: string
                            description: >-
                              Rate type: hr (hourly), week (weekly), month
                              (monthly/salaried)
                        x-apidog-orders:
                          - currencyCode
                          - currencyMark
                          - rate
                          - rateType
                      salaryWageString:
                        type: string
                        description: Formatted salary/wage string (e.g., $15/hr)
                      payrollSettings:
                        type: object
                        description: Payroll settings (if available)
                        properties:
                          classificationType:
                            type: string
                            description: Employee or Contractor
                          payGroup:
                            type: string
                            description: Pay group
                          overtimeEligibility:
                            type: boolean
                            description: Overtime eligibility
                          posTipsEligibility:
                            type: boolean
                            description: POS tips eligibility
                          commissionsEligibility:
                            type: boolean
                            description: Commissions eligibility
                          hiringDate:
                            type: string
                            description: Hiring date
                            nullable: true
                        x-apidog-orders:
                          - classificationType
                          - payGroup
                          - overtimeEligibility
                          - posTipsEligibility
                          - commissionsEligibility
                          - hiringDate
                        nullable: true
                      payrollStatus:
                        type: string
                        description: Payroll status
                        nullable: true
                    x-apidog-orders:
                      - id
                      - personnelId
                      - shopifyUserId
                      - userName
                      - email
                      - status
                      - position
                      - permission
                      - pinCode
                      - merchantExternalId
                      - locations
                      - salaryWage
                      - salaryWageString
                      - payrollSettings
                      - payrollStatus
                x-apidog-orders:
                  - success
                  - data
          headers: {}
          x-apidog-name: ''
        '401':
          description: Unauthorized - Invalid API key
          headers: {}
          x-apidog-name: ''
        '403':
          description: Forbidden - No access to this shop
          headers: {}
          x-apidog-name: ''
        '404':
          description: Not found - Staff member does not exist
          headers: {}
          x-apidog-name: ''
      security: []
      x-apidog-folder: Staff
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/763618/apis/api-33094546-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
