Create / Update Quote

Path parameters

brandCodeenumRequired

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

Allowed values:

Headers

AuthorizationstringRequired

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

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
idstring or null
isNewboolean or nullDefaults to false
isPurchasedboolean or nullDefaults to false
hasConfigChangedboolean or nullDefaults to false
isPurchaseInitiatedboolean or nullDefaults to false
clientSessionIdstring or null
policyNumberstring or null
The policy number is generated when the policy purchase has completed.
stageenum or null
Represents the stage the quote is up to. This can be used for tracking quotes across the different stages in an embedded purchase path.
evaluatedAtstring or null
inputobject or null
priceResultslist of objects or null
priceslist of objects or null
Returns an array of prices with available plans based on the parameters quoted.
clientInfoobject or null
auditobject or null
customerUserIdlong or nullDefaults to 0
brandCodestring or null
validationobject or null