Skip to main content

Assets

Asset object

An asset represents an object covered by the insurance contract. Assets will contain object details, the current valid quote, and chosen coverage. Assets are always linked to a policy: the policy's lifecycle usually directly impacts the asset's, except that assets each have their own start date so can be active independently.

General

  • startedAt: the date at which the asset becomes or became active
  • stoppedAt: the stop date of the asset
    • stop: if the asset is stopped, more details about the stop reason
  • quote: details about the chosen coverage, and a comprehensive breakdown of taxes, fees, and premiums. See quote for more details.
  • policy: link to the policy

Product specific information

  • custom fields: a list of product specific attributes. For more details check out custom fields.

Working with assets over the API

Create an asset with POST /assets?branchId=<branchId>, or many at once with POST /assets/batch/create?branchId=<branchId>. Writes are branch-scoped; omitting the branch acts on the wrong copy of the contract. The product's assetFields go in the customFields array; startedAt, name and externalAssetId are aggregate fields, sent as top-level properties.

startedAt deserves attention because it is the most common reason a quote is refused. Most products declare it as required for quoting, and POST /policies/{policyId}/quote rejects an asset without one unless the product starts cover on signature. POST /policies/{policyId}/calculate-quote tolerates its absence, so a price you could preview may still not be quotable.

List a policy's assets with GET /policies/{policyId}/assets?branchId=<branchId>, passing the branch the work was done on — new business happens on its own branch, and listing without it returns nothing.

Removing an asset has its own endpoints: DELETE /assets/{assetId}, or POST /assets/batch/remove for several. POST /assets/{originAssetId}/replace swaps one insured item for another mid-contract. Stopping and cancelling are consequences of the contract's own lifecycle rather than asset calls — see the note below.

Asset statuses

Asset statuses usually change at the same time as policy statuses.

StatusAllowed OperationsNext Status
ASSET_CREATEDEdit your asset information, and ask for quotes.ASSET_QUOTED
ASSET_QUOTEDA quote has been chosen. You can edit non pricing information.ASSET_CONFIRMED
ASSET_CONFIRMEDYour asset can no longer be modified. Your asset is ready to start once the policy is signed. You can modify its details through a Mid Term Agreement.ASSET_STARTED
ASSET_STARTEDYour asset is active.Can remain started indefinitely.
ASSET_STOPPEDYour asset is inactive. You can still visualize it but can no longer edit it. Stopped assets can no longer be activated.Can no longer change status.
ASSET_REMOVEDThe asset was removed from the policy before it ever mattered — for example dropped while the policy was still being prepared.Can no longer change status.
ASSET_CANCELLEDThe asset was cancelled and never started — for example when a policy is cancelled before its start date.Can no longer change status.

There are three distinct ways an asset can leave the picture:

  • Remove drops an asset before it has any effect (for instance while the policy is still being prepared).
  • Stop ends an asset that was active (ASSET_STARTED).
  • Cancel applies to an asset that never started, typically because its policy was cancelled before the start date.