---
title: "Create or update an advisor"
method: POST
path: "/v1/advisor"
tags: ["Advisor"]
---

# Create or update an advisor

`POST /v1/advisor`

A licensed travel advisor should undergo Faye's training every year. When creating or updating an advisor, the partner declares that the advisor saw the training. 
AdvisorID should pass on every quote and purchase to relevant partners.

## Headers

- `Authorization` string

## Request body

- ApiAdvisorDto
  - `advisorId` string, required — The identity of the advisor is set by the partner.
  - `firstName` string, required — First name. Mandatory for advisor creation
  - `lastName` string, required — Last name. Mandatory for advisor creation
  - `email` string, required — Advisor's email. Mandatory for advisor creation
  - `website` string — Advisor website
  - `trainingDate` string, date, required — Last date the advisor has done the mandatory training

## Response `200`

Advisor has been successfully created or updated.

- AdvisorResponseDto
  - `advisorId` string, required
  - `trainingDate` string, date, required
  - `email` string, required
  - `lastName` string, required
  - `firstName` string, required
  - `website` string, required
  - `status` string, required — Active or disabled.

## Other responses

- `400` — Some of the required fields are missing (first and last name, email)

---

[API](https://skmtc.net/withfaye/apis/faye-partner-sales-api.md) · [All operations](https://skmtc.net/withfaye/apis/faye-partner-sales-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/withfaye/faye-partner-sales-api/revisions/e016afb8fdb3/schema)
