---
title: "Upserts a Candidate Basic Info"
method: PUT
path: "/candidate/{candidate_id}/basic-info"
tags: ["Candidate Basic Info"]
---

# Upserts a Candidate Basic Info

`PUT /candidate/{candidate_id}/basic-info`

Upserts a candidate basic info

## Request body

- CandidateBasicInfoDef
  - `first_name` string, required
  - `last_name` string, required
  - `gender` 'male' | 'female' | 'other'
  - `date_of_birth` string, date
  - `title` string

## Response `200`

Success response for updating candidate Basic Info

- CandidateBasicInfoResponseDef
  - `first_name` string, required
  - `last_name` string, required
  - `gender` 'male' | 'female' | 'other'
  - `date_of_birth` string, date
  - `title` string
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `id_number` string

## Other responses

- `400` — Validation Error. Usually caused by a missing or invalid parameter.
- `401` — Authorization Error. Thrown if the user does not have access to resource.
- `404` — Not found. Returned if no resource was found
- `405` — Method not supported Error. Returned if an unsupported http method is used.
- `406` — Not acceptable, Content type not supported
- `default` — unexpected error

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
