Create or update an advisor
Changed onA 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.
Request
- Base URLhttps://partnerapi.withfaye.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
- breaking
the
request property type changed fromdatetostring, and format from no format todate - breaking
the
response's property type changed fromDatetostring, and format from no format todatefor status - info
api operation id
generateremoved and replaced withcreateOrUpdateAdvisor
- breaking
- breaking
the
request property type changed fromstringtodate, and format fromdateto no format - breaking
the
response's property type changed fromstringtoDate, and format fromdateto no format for status - info
api operation id
createOrUpdateAdvisorremoved and replaced withgenerate - info
added the new optional
headerrequest parameterAuthorization
- breaking