Create / Update Quote

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

brandCodeenumRequired

A supported NIB Travel brand code, such as “wn”.

Allowed values:

Request

This endpoint expects an object.
stageenumOptional
Represents the stage the quote is up to. This can be used for tracking quotes across the different stages in an embedded purchase path.
inputobjectOptional
Represents the quote parameters used to price the travel insurance booking.

Response

Success
idstringOptional
isNewbooleanOptionalDefaults to false
isPurchasedbooleanOptionalDefaults to false
hasConfigChangedbooleanOptionalDefaults to false
isPurchaseInitiatedbooleanOptionalDefaults to false
clientSessionIdstringOptional
policyNumberstringOptional
The policy number is generated when the policy purchase has completed.
stageenumOptional
Represents the stage the quote is up to. This can be used for tracking quotes across the different stages in an embedded purchase path.
evaluatedAtstringOptional
inputobjectOptional
priceResultslist of objectsOptional
priceslist of objectsOptional
Returns an array of prices with available plans based on the parameters quoted.
clientInfoobjectOptional
auditobjectOptional
customerUserIdlongOptionalDefaults to 0
brandCodestringOptional
validationobjectOptional