Skip to main content
POST
Declare a shipment

Authorizations

Authorization
string
header
required

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

Path Parameters

policyId
integer
required

An open-cover policy that is paid for and issued.

Body

application/json
shipment
object
required

A shipment declared under an open-cover policy. The coverage, extensions and valuation basis are the policy's, so it does not name them. It is covered straight away, so departure_date, conveyance.carrier_name and references.invoice_number are required.

Response

The declaration, with its decision

id
string<uuid>
policy_id
integer
status
enum<string>

issued: the shipment is covered and has its certificate. referred: an underwriter is reviewing it; read the declaration again until the status changes. rejected: it cannot be covered.

Available options:
issued,
referred,
rejected
coverage_confirmed
boolean

true once the shipment is covered.

shipment
object

A shipment declared under an open-cover policy. The coverage, extensions and valuation basis are the policy's, so it does not name them. It is covered straight away, so departure_date, conveyance.carrier_name and references.invoice_number are required.

premium
object

What the shipment costs at the policy's rate.

reasons
string[]
certificate_number
string | null
certificate_url
string | null

The shipment's certificate (PDF). null until it is covered.

decided_at
string<date-time> | null
created_at
string<date-time>
updated_at
string<date-time>