v3

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-10184967.1 KB
Advisor

Create or update an 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.

post/v1/advisor

Headers

Authorizationstring

Bearer token

Request body

advisorIdstring required

The identity of the advisor is set by the partner.

firstNamestring required

First name. Mandatory for advisor creation

lastNamestring required

Last name. Mandatory for advisor creation

emailstring required

Advisor's email. Mandatory for advisor creation

websitestring

Advisor website

trainingDatestring date required

Last date the advisor has done the mandatory training

Example request

{
  "advisorId": "abcd1234",
  "firstName": "Jane",
  "lastName": "Foster",
  "email": "abcd@gmail.com",
  "website": "https://www.advisor-website.com",
  "trainingDate": "2023-04-18"
}

Response

Advisor has been successfully created or updated.

advisorIdstring required
trainingDatestring date required
emailstring required
lastNamestring required
firstNamestring required
websitestring required
statusstring required

Active or disabled.

Example response

{
  "trainingDate": "2023-04-18"
}