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.
Headers
Bearer token
Request body
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.
Example response
{
"trainingDate": "2023-04-18"
}Changes
Changed in 2 of the 3 revisions of this API.43
- ▲
the
trainingDaterequest property type/format changed fromdate/tostring/daterequest-property-type-changed
- ▲
the
trainingDateresponse's property type/format changed fromDate/tostring/datefor status200response-property-type-changed
- ○
api operation id
generateremoved and replaced withcreateOrUpdateAdvisorapi-operation-id-removed
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
the
trainingDaterequest property type/format changed fromstring/datetodate/request-property-type-changed
- ▲
the
trainingDateresponse's property type/format changed fromstring/datetoDate/for status200response-property-type-changed
- ○
api operation id
createOrUpdateAdvisorremoved and replaced withgenerateapi-operation-id-removed
- ○
added the new optional
headerrequest parameterAuthorizationnew-optional-request-parameter
- ▲