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
idstring
isNewbooleanDefaults to false
isPurchasedbooleanDefaults to false
hasConfigChangedbooleanDefaults to false
isPurchaseInitiatedbooleanDefaults to false
clientSessionIdstring
policyNumberstring
The policy number is generated when the policy purchase has completed.
stageenum
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
inputobject
priceResultslist of objects
priceslist of objects
Returns an array of prices with available plans based on the parameters quoted.
clientInfoobject
auditobject
customerUserIdlongDefaults to 0
brandCodestring
validationobject