> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rollfi.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# updateBusinessUserAsEmployee

> ## Convert Business User to Employee

Converts an existing business user into a company employee.

### Location Requirements
| Location Type | Required Field | Example |
|---------------|----------------|---------|
| Office | `companyLocationId` | "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF" |
| Remote | `code` (state code) | "CA", "NY", "TX" |

### Common Use Cases
- Business owner becoming employee
- Admin taking on employee role
- Dual role assignments



## OpenAPI

````yaml put /adminPortal/updateBusinessUserAsEmployee
openapi: 3.0.1
info:
  title: Default module
  description: ''
  version: 1.0.0
servers: []
security:
  - basic: []
tags: []
paths:
  /adminPortal/updateBusinessUserAsEmployee:
    put:
      tags: []
      summary: updateBusinessUserAsEmployee
      description: >-
        ## Convert Business User to Employee


        Converts an existing business user into a company employee.


        ### Location Requirements

        | Location Type | Required Field | Example |

        |---------------|----------------|---------|

        | Office | `companyLocationId` | "FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF"
        |

        | Remote | `code` (state code) | "CA", "NY", "TX" |


        ### Common Use Cases

        - Business owner becoming employee

        - Admin taking on employee role

        - Dual role assignments
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                method:
                  type: string
                  title: updateBusinessUserAsEmployee
                  example: updateBusinessUserAsEmployee
                businessUser:
                  type: object
                  properties:
                    businessUserId:
                      type: string
                    workerType:
                      type: string
                      title: Enum
                      maxLength: 8
                      enum:
                        - W2
                        - 1099-NEC
                    companyLocationCategory:
                      type: string
                    code:
                      type: string
                      title: >-
                        Need to be mentioned when "companyLocationCategory" is
                        Office
                      maxLength: 2
                      enum:
                        - TX
                        - AK
                        - ND
                        - IL
                        - MA
                        - KS
                        - AS
                        - AL
                        - UT
                        - SD
                        - MI
                        - DC
                        - GA
                        - SC
                        - TN
                        - OK
                        - CO
                        - CA
                        - ME
                        - MO
                        - WY
                        - MD
                        - VT
                        - NM
                        - CT
                        - AZ
                        - WI
                        - VA
                        - WV
                        - NJ
                        - DE
                        - NC
                        - PR
                        - IN
                        - MT
                        - NH
                        - HI
                        - IA
                        - KY
                        - WA
                        - OH
                        - FL
                        - OR
                        - MP
                        - GU
                        - MN
                        - MS
                        - PA
                        - NE
                        - RI
                        - ID
                        - LA
                        - NY
                        - NV
                        - AR
                    companyLocationId:
                      type: string
                      title: >-
                        Need to be mentioned when "companyLocationCategory" is
                        Office
                    jobTitle:
                      type: string
                    startDate:
                      type: string
                  required:
                    - businessUserId
                    - workerType
                    - companyLocationCategory
                    - code
                    - companyLocationId
                    - jobTitle
                    - startDate
              required:
                - method
                - businessUser
            example:
              method: updateBusinessUserAsEmployee
              businessUser:
                businessUserId: FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF
                workerType: W2
                companyLocationCategory: Remote
                companyLocationId: ''
                code: FL
                jobTitle: HR
                startDate: '2020-09-09'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  businessUser:
                    type: object
                    properties:
                      businessUserId:
                        type: string
                      status:
                        type: string
                      message:
                        type: string
                    required:
                      - businessUserId
                      - status
                    x--orders:
                      - BusinessUserID
                      - Status
                      - Message
                required:
                  - businessUser
                x--orders:
                  - BusinessUser
              example:
                businessUser:
                  businessUserId: FDF3DC4C-78F1-4D2A-AAFE-39E9D41456AF
                  status: Ready
                  message: The Business User has been updated successfully.
          headers: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: integer
                        message:
                          type: string
                      required:
                        - code
                required:
                  - error
              example:
                error:
                  code: 400
                  message: Invalid businessUserId
          headers: {}
      deprecated: false
      security:
        - basic: []
components:
  securitySchemes:
    basic:
      type: http
      scheme: basic

````