Create / Update Quote

POST

Path parameters

brandCodeenumRequired

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

Allowed values: nibaunibnztidauwn

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
Built with