Asks for a price to insure one shipment. The answer is always 201; read its status:
approved: quote holds the price, valid until quote.valid_until. Issue the policy from it.
referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected.
rejected: the shipment cannot be insured, and reasons says why.
A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
customer_id
integer
required
A customer you registered.
shipment
object
required
One shipment to quote. The goods, route, value and cover set the price and are fixed once quoted; the departure date, carrier, references and beneficiary can be sent now or when the policy is issued.
Hide child attributes
shipment.goods
object
required
Hide child attributes
shipment.goods.description
string
required
What the goods are, in plain words.
Maximum string length: 500
shipment.goods.category
string
required
The kind of goods. One of the goods_categories values from Get the options.
shipment.goods.packaging
string
required
How the goods are packed. One of the packaging values from Get the options.
shipment.goods.characteristics
string[]
Anything about the goods that changes the risk. Each one of the characteristics values from Get the options.
shipment.goods.quantity
integer
Number of packages.
Required range: x >= 1
shipment.goods.condition
string
New or used. One of the conditions values from Get the options.
shipment.transport_mode
string
required
How the goods travel. One of the transport_modes values from Get the options.
shipment.origin
object
required
Hide child attributes
shipment.origin.country
string
required
Two-letter country code.
Example:
"CN"
shipment.origin.city
string
shipment.destination
object
required
Hide child attributes
shipment.destination.country
string
required
Two-letter country code.
Example:
"SA"
shipment.destination.city
string
shipment.invoice_value
number
required
The value of the goods on the commercial invoice, in currency.
Example:
250000
shipment.currency
string
required
The currency of the invoice, freight and other costs. One of the currencies values from Get the options.
shipment.coverage
string
required
The cover wanted. One of the coverages values from Get the options.
shipment.freight
number
Freight cost, in currency.
shipment.other_costs
number
Other costs to deliver the goods, in currency.
shipment.insured_amount
number
The amount to insure, in currency. Leave it out to insure the shipment's value on the valuation basis.
shipment.incoterm
string
The Incoterm the goods are sold under. One of the incoterms values from Get the options.
shipment.insurance_arranged_by
string
Which side of the sale arranges the insurance. One of the insurance_arranged_by values from Get the options.
shipment.extensions
string[]
Extra cover on top. Each one of the extensions values from Get the options.
shipment.valuation_basis
string
How the shipment is valued. Defaults to cif_plus_10. One of the valuation_bases values from Get the options.
shipment.departure_date
string<date>
The day the shipment leaves, YYYY-MM-DD. Needed before a policy can be issued.
shipment.arrival_date
string<date>
The day it is expected to arrive, on or after departure_date.
shipment.conveyance
object
Hide child attributes
shipment.conveyance.carrier_name
string
Who carries the shipment. Needed before a policy can be issued.
shipment.conveyance.vessel_name
string
shipment.conveyance.voyage_or_flight_number
string
shipment.references
object
Hide child attributes
shipment.references.invoice_number
string
The commercial invoice the shipment travels under. Needed before a policy can be issued.
shipment.references.bill_of_lading
string
shipment.references.airway_bill
string
shipment.references.customs_declaration
string
shipment.beneficiary
object
Who a claim is paid to, when that is not the customer (a bank, for example).
Hide child attributes
shipment.beneficiary.name
string
shipment.beneficiary.address
string
Response
The quote request, with its decision
id
string<uuid>
The request's id.
type
enum<string>
Available options:
single_shipment,
open_cover
status
enum<string>
approved: quote holds the price and a policy can be issued. referred: an underwriter is reviewing it; read the request again until the status changes. rejected: it cannot be insured.
Available options:
approved,
referred,
rejected
customer_id
integer
shipment
object
One shipment to quote. The goods, route, value and cover set the price and are fixed once quoted; the departure date, carrier, references and beneficiary can be sent now or when the policy is issued.
Hide child attributes
shipment.goods
object
required
Hide child attributes
shipment.goods.description
string
required
What the goods are, in plain words.
Maximum string length: 500
shipment.goods.category
string
required
The kind of goods. One of the goods_categories values from Get the options.
shipment.goods.packaging
string
required
How the goods are packed. One of the packaging values from Get the options.
shipment.goods.characteristics
string[]
Anything about the goods that changes the risk. Each one of the characteristics values from Get the options.
shipment.goods.quantity
integer
Number of packages.
Required range: x >= 1
shipment.goods.condition
string
New or used. One of the conditions values from Get the options.
shipment.transport_mode
string
required
How the goods travel. One of the transport_modes values from Get the options.
shipment.origin
object
required
Hide child attributes
shipment.origin.country
string
required
Two-letter country code.
Example:
"CN"
shipment.origin.city
string
shipment.destination
object
required
Hide child attributes
shipment.destination.country
string
required
Two-letter country code.
Example:
"SA"
shipment.destination.city
string
shipment.invoice_value
number
required
The value of the goods on the commercial invoice, in currency.
Example:
250000
shipment.currency
string
required
The currency of the invoice, freight and other costs. One of the currencies values from Get the options.
shipment.coverage
string
required
The cover wanted. One of the coverages values from Get the options.
shipment.freight
number
Freight cost, in currency.
shipment.other_costs
number
Other costs to deliver the goods, in currency.
shipment.insured_amount
number
The amount to insure, in currency. Leave it out to insure the shipment's value on the valuation basis.
shipment.incoterm
string
The Incoterm the goods are sold under. One of the incoterms values from Get the options.
shipment.insurance_arranged_by
string
Which side of the sale arranges the insurance. One of the insurance_arranged_by values from Get the options.
shipment.extensions
string[]
Extra cover on top. Each one of the extensions values from Get the options.
shipment.valuation_basis
string
How the shipment is valued. Defaults to cif_plus_10. One of the valuation_bases values from Get the options.
shipment.departure_date
string<date>
The day the shipment leaves, YYYY-MM-DD. Needed before a policy can be issued.
shipment.arrival_date
string<date>
The day it is expected to arrive, on or after departure_date.
shipment.conveyance
object
Hide child attributes
shipment.conveyance.carrier_name
string
Who carries the shipment. Needed before a policy can be issued.
shipment.conveyance.vessel_name
string
shipment.conveyance.voyage_or_flight_number
string
shipment.references
object
Hide child attributes
shipment.references.invoice_number
string
The commercial invoice the shipment travels under. Needed before a policy can be issued.
shipment.references.bill_of_lading
string
shipment.references.airway_bill
string
shipment.references.customs_declaration
string
shipment.beneficiary
object
Who a claim is paid to, when that is not the customer (a bank, for example).
Hide child attributes
shipment.beneficiary.name
string
shipment.beneficiary.address
string
quote
object | null
The price of the shipment. null unless the request is approved.
Hide child attributes
quote.insurance_provider
string
The insurance company behind the quote.
Example:
"walaa"
quote.insurance_provider_name
string
Example:
"Walaa Cooperative Insurance"
quote.coverage
string
quote.extensions
string[]
quote.valuation_basis
string
quote.insured_amount
number
The amount insured, in currency.
quote.currency
string
quote.insured_amount_sar
number
The amount insured, in SAR.
quote.rate_percent
number
The premium rate, as a percentage of the insured amount.
quote.premium
number
The premium before VAT, in SAR.
quote.vat
number
15% VAT, in SAR.
quote.total_price
number
What is paid, in SAR.
quote.price_currency
string
Example:
"SAR"
quote.valid_until
string<date>
The last day a policy can be issued from this quote.
missing_to_issue
string[]
The shipment details still needed before a policy can be issued, as paths into shipment. Send them with Issue a policy.
Why the request was referred or rejected, in plain sentences. Stays on a referral after it is approved.
policy_id
integer | null
The policy issued from this request, once there is one.
decided_at
string<date-time> | null
When the request was approved or rejected. null while it is referred.
created_at
string<date-time>
updated_at
string<date-time>
⌘I
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"Yasmina embedded insurance","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565","dark":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/dark.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=4b99116ce5278adfe03cc2508a4ead66"},"favicon":"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/favicon.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=011065c671b0598099e2297a50ad5260","api":{"params":{"expanded":"all"},"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required"}},"background":{"color":{"light":"#FFF","dark":"#000"}},"navbar":{"primary":{"type":"button","label":"Portal","href":"https://portal.yasmina.ai"}},"fonts":{"family":"Inter, sans-serif"},"styling":{"eyebrows":"breadcrumbs","latex":false},"integrations":{"amplitude":{"apiKey":"3fd7f32ecb0ff851ba9ea3b6670cd855"},"intercom":{"appId":"yu8wo042"}},"contextual":{"options":["mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"yasmina","hasAudioNarration":false,"actualSubdomain":"yasmina","customDomains":["docs.yasmina.ai"],"gitSource":{"type":"github","owner":"yasminaai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6b03fb104ca26305da2c0e69","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"API Reference","count":62},{"language":"default","tag":"Policies","count":25},{"language":"default","tag":"Guide","count":21},{"language":"default","tag":"SME Medical APIs","count":19},{"language":"default","tag":"Motor Insurance APIs (Multiple Providers)","count":17},{"language":"default","tag":"SDKs","count":10},{"language":"default","tag":"Front-End SDKs","count":10},{"language":"default","tag":"Insurance Integration Guides","count":9},{"language":"default","tag":"Quotes","count":9},{"language":"default","tag":"Property Insurance APIs","count":8}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".nav-logo{height:40px}#pagination{display:none!important}.ai-note{display:flex;align-items:flex-start;gap:0.65rem;margin:1rem 0 1.5rem;padding:0.9rem 1rem;border:1px solid #93c5fd;border-radius:0.75rem;background-color:#eff6ff;color:#1e40af}.ai-note svg{flex-shrink:0;margin-top:0.2rem}.ai-note p{margin:0;color:inherit}.ai-note a{color:inherit;font-weight:600;text-decoration:underline}.dark .ai-note{border-color:#1e40af;background-color:rgba(30, 58, 138, 0.25);color:#93c5fd}"}]}
{"page":{"pagePath":"cargo-api-reference/single-shipment/quote-a-shipment","slug":"/cargo-api-reference/single-shipment/quote-a-shipment","pageMetadata":{"title":"Quote a shipment","description":"Asks for a price to insure one shipment. The answer is always `201`; read its `status`:\n\n- `approved`: `quote` holds the price, valid until `quote.valid_until`. Issue the policy from it.\n- `referred`: an underwriter has to review the shipment, and `reasons` says why. Read the request again until it is `approved` or `rejected`.\n- `rejected`: the shipment cannot be insured, and `reasons` says why.\n\nA quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. `missing_to_issue` lists the ones still missing.","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /quote-requests","href":"/cargo-api-reference/single-shipment/quote-a-shipment","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Asks for a price to insure one shipment. The answer is always \", _jsx(_components.code, {\n children: \"201\"\n }), \"; read its \", _jsx(_components.code, {\n children: \"status\"\n }), \":\"]\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"approved\"\n }), \": \", _jsx(_components.code, {\n children: \"quote\"\n }), \" holds the price, valid until \", _jsx(_components.code, {\n children: \"quote.valid_until\"\n }), \". Issue the policy from it.\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"referred\"\n }), \": an underwriter has to review the shipment, and \", _jsx(_components.code, {\n children: \"reasons\"\n }), \" says why. Read the request again until it is \", _jsx(_components.code, {\n children: \"approved\"\n }), \" or \", _jsx(_components.code, {\n children: \"rejected\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.li, {\n children: [_jsx(_components.code, {\n children: \"rejected\"\n }), \": the shipment cannot be insured, and \", _jsx(_components.code, {\n children: \"reasons\"\n }), \" says why.\"]\n }), \"\\n\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. \", _jsx(_components.code, {\n children: \"missing_to_issue\"\n }), \" lists the ones still missing.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Quote a shipment","description":"Asks for a price to insure one shipment. The answer is always `201`; read its `status`:\n\n- `approved`: `quote` holds the price, valid until `quote.valid_until`. Issue the policy from it.\n- `referred`: an underwriter has to review the shipment, and `reasons` says why. Read the request again until it is `approved` or `rejected`.\n- `rejected`: the shipment cannot be insured, and `reasons` says why.\n\nA quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. `missing_to_issue` lists the ones still missing.","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /quote-requests","href":"/cargo-api-reference/single-shipment/quote-a-shipment","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/yasmina/ccacd844f457d935/script.js"],"openApiReferenceData":{"operation":{"summary":"Quote a shipment","tags":["Single shipment"],"description":"Asks for a price to insure one shipment. The answer is always `201`; read its `status`:\n\n- `approved`: `quote` holds the price, valid until `quote.valid_until`. Issue the policy from it.\n- `referred`: an underwriter has to review the shipment, and `reasons` says why. Read the request again until it is `approved` or `rejected`.\n- `rejected`: the shipment cannot be insured, and `reasons` says why.\n\nA quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. `missing_to_issue` lists the ones still missing.","requestBody":"763d9fcc-f9cd-4345-859f-cdbc93453e48","responses":{"201":"44ab8ecd-c449-4985-92a5-89d0f0ebed35","401":"e50da0e0-8d75-47c3-b3ad-e3cc1042690a","422":"659f50b3-52b9-4e4b-b05f-e14d5f9090f8"},"method":"post","type":"path","servers":["833cb1b2-4dba-4f48-89fd-ac3e88182caa"],"security":["a57224f4-6d83-44d1-b757-d6d2d0207d75"],"path":"/quote-requests","baseUrlOptions":["https://sandbox.yasmina.ai/api/v1/cargo"],"title":"Quote a shipment","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer_id":{"type":"integer","description":"A customer you registered.","isRequired":true,"uniqueKey":"customer_id","typeLabel":"integer"},"shipment":{"type":"object","properties":{"goods":{"type":"object","properties":{"description":{"type":"string","description":"What the goods are, in plain words.","maxLength":500,"isRequired":true,"uniqueKey":"shipment.goods.description","typeLabel":"string"},"category":{"type":"string","description":"The kind of goods. One of the `goods_categories` values from Get the options.","isRequired":true,"uniqueKey":"shipment.goods.category","typeLabel":"string"},"packaging":{"type":"string","description":"How the goods are packed. One of the `packaging` values from Get the options.","isRequired":true,"uniqueKey":"shipment.goods.packaging","typeLabel":"string"},"characteristics":{"type":"array","description":"Anything about the goods that changes the risk. Each one of the `characteristics` values from Get the options.","items":{"type":"string","uniqueKey":"shipment.goods.characteristics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"shipment.goods.characteristics","typeLabel":"string[]"},"quantity":{"type":"integer","description":"Number of packages.","minimum":1,"uniqueKey":"shipment.goods.quantity","typeLabel":"integer"},"condition":{"type":"string","description":"New or used. One of the `conditions` values from Get the options.","uniqueKey":"shipment.goods.condition","typeLabel":"string"}},"required":["description","category","packaging"],"isRequired":true,"uniqueKey":"shipment.goods","typeLabel":"object"},"transport_mode":{"type":"string","description":"How the goods travel. One of the `transport_modes` values from Get the options.","isRequired":true,"uniqueKey":"shipment.transport_mode","typeLabel":"string"},"origin":{"type":"object","properties":{"country":{"type":"string","description":"Two-letter country code.","example":"CN","isRequired":true,"uniqueKey":"shipment.origin.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"shipment.origin.city","typeLabel":"string"}},"required":["country"],"isRequired":true,"uniqueKey":"shipment.origin","typeLabel":"object"},"destination":{"type":"object","properties":{"country":{"type":"string","description":"Two-letter country code.","example":"SA","isRequired":true,"uniqueKey":"shipment.destination.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"shipment.destination.city","typeLabel":"string"}},"required":["country"],"isRequired":true,"uniqueKey":"shipment.destination","typeLabel":"object"},"invoice_value":{"type":"number","description":"The value of the goods on the commercial invoice, in `currency`.","example":250000,"isRequired":true,"uniqueKey":"shipment.invoice_value","typeLabel":"number"},"currency":{"type":"string","description":"The currency of the invoice, freight and other costs. One of the `currencies` values from Get the options.","isRequired":true,"uniqueKey":"shipment.currency","typeLabel":"string"},"coverage":{"type":"string","description":"The cover wanted. One of the `coverages` values from Get the options.","isRequired":true,"uniqueKey":"shipment.coverage","typeLabel":"string"},"freight":{"type":"number","description":"Freight cost, in `currency`.","uniqueKey":"shipment.freight","typeLabel":"number"},"other_costs":{"type":"number","description":"Other costs to deliver the goods, in `currency`.","uniqueKey":"shipment.other_costs","typeLabel":"number"},"insured_amount":{"type":"number","description":"The amount to insure, in `currency`. Leave it out to insure the shipment's value on the valuation basis.","uniqueKey":"shipment.insured_amount","typeLabel":"number"},"incoterm":{"type":"string","description":"The Incoterm the goods are sold under. One of the `incoterms` values from Get the options.","uniqueKey":"shipment.incoterm","typeLabel":"string"},"insurance_arranged_by":{"type":"string","description":"Which side of the sale arranges the insurance. One of the `insurance_arranged_by` values from Get the options.","uniqueKey":"shipment.insurance_arranged_by","typeLabel":"string"},"extensions":{"type":"array","description":"Extra cover on top. Each one of the `extensions` values from Get the options.","items":{"type":"string","uniqueKey":"shipment.extensions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"shipment.extensions","typeLabel":"string[]"},"valuation_basis":{"type":"string","description":"How the shipment is valued. Defaults to `cif_plus_10`. One of the `valuation_bases` values from Get the options.","uniqueKey":"shipment.valuation_basis","typeLabel":"string"},"departure_date":{"type":"string","description":"The day the shipment leaves, `YYYY-MM-DD`. Needed before a policy can be issued.","format":"date","uniqueKey":"shipment.departure_date","typeLabel":"string\u003cdate>"},"arrival_date":{"type":"string","description":"The day it is expected to arrive, on or after `departure_date`.","format":"date","uniqueKey":"shipment.arrival_date","typeLabel":"string\u003cdate>"},"conveyance":{"type":"object","properties":{"carrier_name":{"type":"string","description":"Who carries the shipment. Needed before a policy can be issued.","uniqueKey":"shipment.conveyance.carrier_name","typeLabel":"string"},"vessel_name":{"type":"string","uniqueKey":"shipment.conveyance.vessel_name","typeLabel":"string"},"voyage_or_flight_number":{"type":"string","uniqueKey":"shipment.conveyance.voyage_or_flight_number","typeLabel":"string"}},"uniqueKey":"shipment.conveyance","typeLabel":"object"},"references":{"type":"object","properties":{"invoice_number":{"type":"string","description":"The commercial invoice the shipment travels under. Needed before a policy can be issued.","uniqueKey":"shipment.references.invoice_number","typeLabel":"string"},"bill_of_lading":{"type":"string","uniqueKey":"shipment.references.bill_of_lading","typeLabel":"string"},"airway_bill":{"type":"string","uniqueKey":"shipment.references.airway_bill","typeLabel":"string"},"customs_declaration":{"type":"string","uniqueKey":"shipment.references.customs_declaration","typeLabel":"string"}},"uniqueKey":"shipment.references","typeLabel":"object"},"beneficiary":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"shipment.beneficiary.name","typeLabel":"string"},"address":{"type":"string","uniqueKey":"shipment.beneficiary.address","typeLabel":"string"}},"description":"Who a claim is paid to, when that is not the customer (a bank, for example).","uniqueKey":"shipment.beneficiary","typeLabel":"object"}},"required":["goods","transport_mode","origin","destination","invoice_value","currency","coverage"],"description":"One shipment to quote. The goods, route, value and cover set the price and are fixed once quoted; the departure date, carrier, references and beneficiary can be sent now or when the policy is issued.","isRequired":true,"uniqueKey":"shipment","typeLabel":"object"}},"required":["customer_id","shipment"],"uniqueKey":"","typeLabel":"object"},"example":{"customer_id":2,"shipment":{"goods":{"description":"Consumer electronics, 400 cartons","category":"electronics","packaging":"cartons","quantity":400,"characteristics":["fragile"]},"transport_mode":"sea","origin":{"country":"CN","city":"Shanghai"},"destination":{"country":"SA","city":"Jeddah"},"invoice_value":250000,"currency":"USD","freight":12000,"other_costs":1500,"incoterm":"FOB","coverage":"icc_a","extensions":["war","strikes"]}},"examples":{"Example":{"title":"Example","value":{"customer_id":2,"shipment":{"goods":{"description":"Consumer electronics, 400 cartons","category":"electronics","packaging":"cartons","quantity":400,"characteristics":["fragile"]},"transport_mode":"sea","origin":{"country":"CN","city":"Shanghai"},"destination":{"country":"SA","city":"Jeddah"},"invoice_value":250000,"currency":"USD","freight":12000,"other_costs":1500,"incoterm":"FOB","coverage":"icc_a","extensions":["war","strikes"]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"44ab8ecd-c449-4985-92a5-89d0f0ebed35":{"description":"The quote request, with its decision","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The request's id.","format":"uuid","uniqueKey":"id","typeLabel":"string\u003cuuid>"},"type":{"type":"string","enum":["single_shipment","open_cover"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"`approved`: `quote` holds the price and a policy can be issued. `referred`: an underwriter is reviewing it; read the request again until the status changes. `rejected`: it cannot be insured.","enum":["approved","referred","rejected"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"customer_id":{"type":"integer","uniqueKey":"customer_id","typeLabel":"integer"},"shipment":{"type":"object","properties":{"goods":{"type":"object","properties":{"description":{"type":"string","description":"What the goods are, in plain words.","maxLength":500,"isRequired":true,"uniqueKey":"shipment.goods.description","typeLabel":"string"},"category":{"type":"string","description":"The kind of goods. One of the `goods_categories` values from Get the options.","isRequired":true,"uniqueKey":"shipment.goods.category","typeLabel":"string"},"packaging":{"type":"string","description":"How the goods are packed. One of the `packaging` values from Get the options.","isRequired":true,"uniqueKey":"shipment.goods.packaging","typeLabel":"string"},"characteristics":{"type":"array","description":"Anything about the goods that changes the risk. Each one of the `characteristics` values from Get the options.","items":{"type":"string","uniqueKey":"shipment.goods.characteristics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"shipment.goods.characteristics","typeLabel":"string[]"},"quantity":{"type":"integer","description":"Number of packages.","minimum":1,"uniqueKey":"shipment.goods.quantity","typeLabel":"integer"},"condition":{"type":"string","description":"New or used. One of the `conditions` values from Get the options.","uniqueKey":"shipment.goods.condition","typeLabel":"string"}},"required":["description","category","packaging"],"isRequired":true,"uniqueKey":"shipment.goods","typeLabel":"object"},"transport_mode":{"type":"string","description":"How the goods travel. One of the `transport_modes` values from Get the options.","isRequired":true,"uniqueKey":"shipment.transport_mode","typeLabel":"string"},"origin":{"type":"object","properties":{"country":{"type":"string","description":"Two-letter country code.","example":"CN","isRequired":true,"uniqueKey":"shipment.origin.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"shipment.origin.city","typeLabel":"string"}},"required":["country"],"isRequired":true,"uniqueKey":"shipment.origin","typeLabel":"object"},"destination":{"type":"object","properties":{"country":{"type":"string","description":"Two-letter country code.","example":"SA","isRequired":true,"uniqueKey":"shipment.destination.country","typeLabel":"string"},"city":{"type":"string","uniqueKey":"shipment.destination.city","typeLabel":"string"}},"required":["country"],"isRequired":true,"uniqueKey":"shipment.destination","typeLabel":"object"},"invoice_value":{"type":"number","description":"The value of the goods on the commercial invoice, in `currency`.","example":250000,"isRequired":true,"uniqueKey":"shipment.invoice_value","typeLabel":"number"},"currency":{"type":"string","description":"The currency of the invoice, freight and other costs. One of the `currencies` values from Get the options.","isRequired":true,"uniqueKey":"shipment.currency","typeLabel":"string"},"coverage":{"type":"string","description":"The cover wanted. One of the `coverages` values from Get the options.","isRequired":true,"uniqueKey":"shipment.coverage","typeLabel":"string"},"freight":{"type":"number","description":"Freight cost, in `currency`.","uniqueKey":"shipment.freight","typeLabel":"number"},"other_costs":{"type":"number","description":"Other costs to deliver the goods, in `currency`.","uniqueKey":"shipment.other_costs","typeLabel":"number"},"insured_amount":{"type":"number","description":"The amount to insure, in `currency`. Leave it out to insure the shipment's value on the valuation basis.","uniqueKey":"shipment.insured_amount","typeLabel":"number"},"incoterm":{"type":"string","description":"The Incoterm the goods are sold under. One of the `incoterms` values from Get the options.","uniqueKey":"shipment.incoterm","typeLabel":"string"},"insurance_arranged_by":{"type":"string","description":"Which side of the sale arranges the insurance. One of the `insurance_arranged_by` values from Get the options.","uniqueKey":"shipment.insurance_arranged_by","typeLabel":"string"},"extensions":{"type":"array","description":"Extra cover on top. Each one of the `extensions` values from Get the options.","items":{"type":"string","uniqueKey":"shipment.extensions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"shipment.extensions","typeLabel":"string[]"},"valuation_basis":{"type":"string","description":"How the shipment is valued. Defaults to `cif_plus_10`. One of the `valuation_bases` values from Get the options.","uniqueKey":"shipment.valuation_basis","typeLabel":"string"},"departure_date":{"type":"string","description":"The day the shipment leaves, `YYYY-MM-DD`. Needed before a policy can be issued.","format":"date","uniqueKey":"shipment.departure_date","typeLabel":"string\u003cdate>"},"arrival_date":{"type":"string","description":"The day it is expected to arrive, on or after `departure_date`.","format":"date","uniqueKey":"shipment.arrival_date","typeLabel":"string\u003cdate>"},"conveyance":{"type":"object","properties":{"carrier_name":{"type":"string","description":"Who carries the shipment. Needed before a policy can be issued.","uniqueKey":"shipment.conveyance.carrier_name","typeLabel":"string"},"vessel_name":{"type":"string","uniqueKey":"shipment.conveyance.vessel_name","typeLabel":"string"},"voyage_or_flight_number":{"type":"string","uniqueKey":"shipment.conveyance.voyage_or_flight_number","typeLabel":"string"}},"uniqueKey":"shipment.conveyance","typeLabel":"object"},"references":{"type":"object","properties":{"invoice_number":{"type":"string","description":"The commercial invoice the shipment travels under. Needed before a policy can be issued.","uniqueKey":"shipment.references.invoice_number","typeLabel":"string"},"bill_of_lading":{"type":"string","uniqueKey":"shipment.references.bill_of_lading","typeLabel":"string"},"airway_bill":{"type":"string","uniqueKey":"shipment.references.airway_bill","typeLabel":"string"},"customs_declaration":{"type":"string","uniqueKey":"shipment.references.customs_declaration","typeLabel":"string"}},"uniqueKey":"shipment.references","typeLabel":"object"},"beneficiary":{"type":"object","properties":{"name":{"type":"string","uniqueKey":"shipment.beneficiary.name","typeLabel":"string"},"address":{"type":"string","uniqueKey":"shipment.beneficiary.address","typeLabel":"string"}},"description":"Who a claim is paid to, when that is not the customer (a bank, for example).","uniqueKey":"shipment.beneficiary","typeLabel":"object"}},"required":["goods","transport_mode","origin","destination","invoice_value","currency","coverage"],"description":"One shipment to quote. The goods, route, value and cover set the price and are fixed once quoted; the departure date, carrier, references and beneficiary can be sent now or when the policy is issued.","uniqueKey":"shipment","typeLabel":"object"},"quote":{"oneOf":[{"type":"object","description":"The price of the shipment. `null` unless the request is approved.","properties":{"insurance_provider":{"type":"string","description":"The insurance company behind the quote.","example":"walaa","uniqueKey":"quote.oneOf.0.insurance_provider","typeLabel":"string"},"insurance_provider_name":{"type":"string","example":"Walaa Cooperative Insurance","uniqueKey":"quote.oneOf.0.insurance_provider_name","typeLabel":"string"},"coverage":{"type":"string","uniqueKey":"quote.oneOf.0.coverage","typeLabel":"string"},"extensions":{"type":"array","items":{"type":"string","uniqueKey":"quote.oneOf.0.extensions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"quote.oneOf.0.extensions","typeLabel":"string[]"},"valuation_basis":{"type":"string","uniqueKey":"quote.oneOf.0.valuation_basis","typeLabel":"string"},"insured_amount":{"type":"number","description":"The amount insured, in `currency`.","uniqueKey":"quote.oneOf.0.insured_amount","typeLabel":"number"},"currency":{"type":"string","uniqueKey":"quote.oneOf.0.currency","typeLabel":"string"},"insured_amount_sar":{"type":"number","description":"The amount insured, in SAR.","uniqueKey":"quote.oneOf.0.insured_amount_sar","typeLabel":"number"},"rate_percent":{"type":"number","description":"The premium rate, as a percentage of the insured amount.","uniqueKey":"quote.oneOf.0.rate_percent","typeLabel":"number"},"premium":{"type":"number","description":"The premium before VAT, in SAR.","uniqueKey":"quote.oneOf.0.premium","typeLabel":"number"},"vat":{"type":"number","description":"15% VAT, in SAR.","uniqueKey":"quote.oneOf.0.vat","typeLabel":"number"},"total_price":{"type":"number","description":"What is paid, in SAR.","uniqueKey":"quote.oneOf.0.total_price","typeLabel":"number"},"price_currency":{"type":"string","example":"SAR","uniqueKey":"quote.oneOf.0.price_currency","typeLabel":"string"},"valid_until":{"type":"string","description":"The last day a policy can be issued from this quote.","format":"date","uniqueKey":"quote.oneOf.0.valid_until","typeLabel":"string\u003cdate>"}},"uniqueKey":"quote.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"quote.oneOf.1","typeLabel":"null"}],"uniqueKey":"quote","typeLabel":"object | null"},"missing_to_issue":{"type":"array","description":"The shipment details still needed before a policy can be issued, as paths into `shipment`. Send them with Issue a policy.","items":{"type":"string","uniqueKey":"missing_to_issue.items.[INDEX]","typeLabel":"string"},"example":["departure_date","conveyance.carrier_name","references.invoice_number"],"uniqueKey":"missing_to_issue","typeLabel":"string[]"},"reasons":{"type":"array","description":"Why the request was referred or rejected, in plain sentences. Stays on a referral after it is approved.","items":{"type":"string","uniqueKey":"reasons.items.[INDEX]","typeLabel":"string"},"uniqueKey":"reasons","typeLabel":"string[]"},"policy_id":{"oneOf":[{"type":"integer","description":"The policy issued from this request, once there is one.","uniqueKey":"policy_id.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The policy issued from this request, once there is one.","uniqueKey":"policy_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"policy_id","typeLabel":"integer | null"},"decided_at":{"oneOf":[{"type":"string","description":"When the request was approved or rejected. `null` while it is referred.","format":"date-time","uniqueKey":"decided_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the request was approved or rejected. `null` while it is referred.","format":"date-time","uniqueKey":"decided_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"decided_at","typeLabel":"string\u003cdate-time> | null"},"created_at":{"type":"string","format":"date-time","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"approved":{"title":"approved","summary":"Approved","value":{"id":"a34af107-128e-4c87-934f-5658d04f5870","type":"single_shipment","status":"approved","customer_id":2,"shipment":{"goods":{"description":"Consumer electronics, 400 cartons","category":"electronics","packaging":"cartons","quantity":400,"characteristics":["fragile"]},"transport_mode":"sea","origin":{"country":"CN","city":"Shanghai"},"destination":{"country":"SA","city":"Jeddah"},"invoice_value":250000,"currency":"USD","freight":12000,"other_costs":1500,"incoterm":"FOB","coverage":"icc_a","extensions":["war","strikes"]},"quote":{"insurance_provider":"walaa","insurance_provider_name":"Walaa Cooperative Insurance","coverage":"icc_a","extensions":["war","strikes"],"valuation_basis":"cif_plus_10","insured_amount":289850,"currency":"USD","insured_amount_sar":1086937.5,"rate_percent":0.45,"premium":4891.22,"vat":733.68,"total_price":5624.9,"price_currency":"SAR","valid_until":"2026-12-23"},"reasons":[],"missing_to_issue":["departure_date","conveyance.carrier_name","references.invoice_number"],"policy_id":null,"decided_at":"2026-11-23T08:31:06.000000Z","created_at":"2026-11-23T08:31:06.000000Z","updated_at":"2026-11-23T08:31:06.000000Z"}},"referred":{"title":"referred","summary":"Referred to an underwriter","value":{"id":"a34af107-9cae-4c87-a179-2423e81d00af","type":"single_shipment","status":"referred","customer_id":2,"shipment":{"goods":{"description":"Consumer electronics, 400 cartons","category":"electronics","packaging":"cartons","quantity":400,"characteristics":["hazardous"]},"transport_mode":"sea","origin":{"country":"CN","city":"Shanghai"},"destination":{"country":"SA","city":"Jeddah"},"invoice_value":250000,"currency":"USD","freight":12000,"other_costs":1500,"incoterm":"FOB","coverage":"icc_a","extensions":["war","strikes"]},"quote":null,"reasons":["Hazardous goods need an underwriter's review."],"missing_to_issue":["departure_date","conveyance.carrier_name","references.invoice_number"],"policy_id":null,"decided_at":null,"created_at":"2026-11-23T08:31:07.000000Z","updated_at":"2026-11-23T08:31:07.000000Z"}},"rejected":{"title":"rejected","summary":"Rejected","value":{"id":"a34af108-2143-4865-9069-2c2b05a618dd","type":"single_shipment","status":"rejected","customer_id":2,"shipment":{"goods":{"description":"Consumer electronics, 400 cartons","category":"electronics","packaging":"cartons","quantity":400,"characteristics":["fragile"]},"transport_mode":"sea","origin":{"country":"KP"},"destination":{"country":"SA","city":"Jeddah"},"invoice_value":250000,"currency":"USD","freight":12000,"other_costs":1500,"incoterm":"FOB","coverage":"icc_a","extensions":["war","strikes"]},"quote":null,"reasons":["Shipments to or from North Korea cannot be insured."],"missing_to_issue":["departure_date","conveyance.carrier_name","references.invoice_number"],"policy_id":null,"decided_at":"2026-11-23T08:31:07.000000Z","created_at":"2026-11-23T08:31:07.000000Z","updated_at":"2026-11-23T08:31:07.000000Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"e50da0e0-8d75-47c3-b3ad-e3cc1042690a":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"On `42201`, the messages for each field that failed, keyed by the field's path.","uniqueKey":"details","typeLabel":"object"},"missing_fields":{"type":"array","description":"On `40033`, the shipment details still needed.","items":{"type":"string","uniqueKey":"missing_fields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missing_fields","typeLabel":"string[]"},"policy_id":{"type":"integer","description":"On `40026`, the policy the quote was already issued as.","uniqueKey":"policy_id","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"40101","message":"Unauthenticated"},"examples":{"Example":{"title":"Example","value":{"code":"40101","message":"Unauthenticated"}}},"exampleType":"examples"}},"exampleType":"examples"},"659f50b3-52b9-4e4b-b05f-e14d5f9090f8":{"description":"A field is missing or not valid. `details` names each one.","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"details":{"type":"object","description":"On `42201`, the messages for each field that failed, keyed by the field's path.","uniqueKey":"details","typeLabel":"object"},"missing_fields":{"type":"array","description":"On `40033`, the shipment details still needed.","items":{"type":"string","uniqueKey":"missing_fields.items.[INDEX]","typeLabel":"string"},"uniqueKey":"missing_fields","typeLabel":"string[]"},"policy_id":{"type":"integer","description":"On `40026`, the policy the quote was already issued as.","uniqueKey":"policy_id","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"code":"42201","message":"The shipment.goods.description field cannot be empty. (and 1 more error)","details":{"shipment.goods.description":["The shipment.goods.description field cannot be empty."],"shipment.goods.category":["The selected shipment.goods.category is invalid."]}},"examples":{"Example":{"title":"Example","value":{"code":"42201","message":"The shipment.goods.description field cannot be empty. (and 1 more error)","details":{"shipment.goods.description":["The shipment.goods.description field cannot be empty."],"shipment.goods.category":["The selected shipment.goods.category is invalid."]}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"a57224f4-6d83-44d1-b757-d6d2d0207d75":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"833cb1b2-4dba-4f48-89fd-ac3e88182caa":{"url":"https://sandbox.yasmina.ai/api/v1/cargo"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"cargo-api-reference/openapi.json"},"subdomain":"yasmina","siteName":"Yasmina embedded insurance","title":"Quote a shipment - Yasmina embedded insurance","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T08:36:40.645Z","originalFileLocation":"cargo-api-reference/single-shipment/quote-a-shipment.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Asks for a price to insure one shipment. The answer is always 201; read its status: - approved: quote holds the price, valid until quote.valid_until. Issue the policy from it. - referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected. - rejected: the shipment cannot be insured, and reasons says why. A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Quote a shipment - Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:description\" content=\"Asks for a price to insure one shipment. The answer is always 201; read its status: - approved: quote holds the price, valid until quote.valid_until. Issue the policy from it. - referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected. - rejected: the shipment cannot be insured, and reasons says why. A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://yasmina.mintlify.site/_mintlify/api/og/v2?division=Single+shipment\u0026amp;title=Quote+a+shipment\u0026amp;description=Asks+for+a+price+to+insure+one+shipment.+The+answer+is+always+%60201%60%3B+read+its+%60status%60%3A%0A%0A-+%60approved%60%3A+%60quote%60+holds+the+price%2C+valid+until+%60quote.valid_until%60.\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=60a568a4d9efa45d6a952e3884a2b65c1e99cca9b1addc00b934b582248f1e11\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Quote a shipment - Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Asks for a price to insure one shipment. The answer is always 201; read its status: - approved: quote holds the price, valid until quote.valid_until. Issue the policy from it. - referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected. - rejected: the shipment cannot be insured, and reasons says why. A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://yasmina.mintlify.site/_mintlify/api/og/v2?division=Single+shipment\u0026amp;title=Quote+a+shipment\u0026amp;description=Asks+for+a+price+to+insure+one+shipment.+The+answer+is+always+%60201%60%3B+read+its+%60status%60%3A%0A%0A-+%60approved%60%3A+%60quote%60+holds+the+price%2C+valid+until+%60quote.valid_until%60.\u0026amp;theme=1cc1a06a619a5807e2553927\u0026amp;signature=60a568a4d9efa45d6a952e3884a2b65c1e99cca9b1addc00b934b582248f1e11\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/yasmina/Flkq5q_nHTtKlHnv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Yasmina embedded insurance\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cargo-api-reference/single-shipment/quote-a-shipment.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.yasmina.ai/#organization\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/yasmina/gYT_wrUNH6DJHRcX/logo/light.svg?fit=max\u0026auto=format\u0026n=gYT_wrUNH6DJHRcX\u0026q=85\u0026s=8f104780e9e2be0f5ed858abf5daf565\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.yasmina.ai#website\",\"name\":\"Yasmina embedded insurance\",\"url\":\"https://docs.yasmina.ai\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment#webpage\",\"url\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment\",\"name\":\"Quote a shipment\",\"description\":\"Asks for a price to insure one shipment. The answer is always 201; read its status: - approved: quote holds the price, valid until quote.valid_until. Issue the policy from it. - referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected. - rejected: the shipment cannot be insured, and reasons says why. A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.\",\"dateModified\":\"2026-11-23T08:36:40.645Z\",\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Cargo Insurance APIs\",\"item\":\"https://docs.yasmina.ai/cargo-api-reference/options/get-the-options\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Quote a shipment\",\"item\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment#apireference\",\"headline\":\"Quote a shipment\",\"name\":\"Quote a shipment\",\"description\":\"Asks for a price to insure one shipment. The answer is always 201; read its status: - approved: quote holds the price, valid until quote.valid_until. Issue the policy from it. - referred: an underwriter has to review the shipment, and reasons says why. Read the request again until it is approved or rejected. - rejected: the shipment cannot be insured, and reasons says why. A quote needs the goods, the route, the value and the cover. The departure date, the carrier and the invoice number are needed to issue a policy but not to quote: send them now if you have them, or later with Issue a policy. missing_to_issue lists the ones still missing.\",\"url\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment\",\"mainEntityOfPage\":{\"@id\":\"https://docs.yasmina.ai/cargo-api-reference/single-shipment/quote-a-shipment#webpage\"},\"dateModified\":\"2026-11-23T08:36:40.645Z\",\"publisher\":{\"@id\":\"https://docs.yasmina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.yasmina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Yasmina embedded insurance\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Yasmina embedded insurance\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/cargo-api-reference/single-shipment/quote-a-shipment.md","siteName":"Yasmina embedded insurance","nav":{"global":null,"tabs":[{"tab":"Guide","icon":"book","pages":[{"title":"Guide","href":"/introduction"}]},{"tab":"API Reference","icon":"file-code","groups":[{"group":"Authentication","pages":[{"group":"Oauth 2.0","pages":[{"title":"Generate Token","deprecated":null,"version":null,"openapi":"/auth-api-reference/openapi.json post /oauth/token","href":"/auth-api-reference/oauth-20/generate-token"}]}]},{"group":"SME Medical APIs","pages":[{"group":"Company","pages":[{"title":"List companies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies","href":"/medical-api-reference/company/list-companies"},{"title":"Create company","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies","href":"/medical-api-reference/company/create-company"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/policy-cancellation","href":"/medical-api-reference/company/cancel-policy"}]},{"group":"Employees","pages":[{"title":"List the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /companies/{companyId}/employees","href":"/medical-api-reference/employees/list-the-employees"},{"title":"Save the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/employees","href":"/medical-api-reference/employees/save-the-employees"},{"title":"Fetch the employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /companies/{companyId}/employees/fetch","href":"/medical-api-reference/employees/fetch-the-employees"}]},{"group":"Medical Forms","pages":[{"title":"Submit the declarations","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json put /companies/{companyId}/declarations","href":"/medical-api-reference/medical-forms/submit-the-declarations"},{"title":"Download the declaration form","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms/download","href":"/medical-api-reference/medical-forms/download-the-declaration-form"},{"title":"Get the Medical form questions","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /medical-forms","href":"/medical-api-reference/medical-forms/get-the-medical-form-questions"},{"title":"Get the terms and consent","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /texts","href":"/medical-api-reference/medical-forms/get-the-terms-and-consent"}]},{"group":"Quotes","pages":[{"title":"Get prices from every provider","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /quote-requests","href":"/medical-api-reference/quotes/get-prices-from-every-provider"},{"title":"Read a quote request","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /quote-requests/{quoteRequestId}","href":"/medical-api-reference/quotes/read-a-quote-request"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies","href":"/medical-api-reference/policies/list-policies"},{"title":"Issue the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies","href":"/medical-api-reference/policies/issue-the-policy"},{"title":"Read the policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /policies/{policyId}","href":"/medical-api-reference/policies/read-the-policy"},{"title":"Cancel a policy","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/deletion","href":"/medical-api-reference/policies/cancel-a-policy"},{"title":"Add employees","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json post /policies/{policyId}/additions","href":"/medical-api-reference/policies/add-employees"}]},{"group":"Products","pages":[{"title":"List a network's facilities","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/networks","href":"/medical-api-reference/products/list-a-networks-facilities"},{"title":"List categories","deprecated":null,"version":null,"openapi":"/medical-api-reference/openapi.json get /products/categories","href":"/medical-api-reference/products/list-categories"}]}]},{"group":"Motor Insurance APIs (Multiple Providers)","pages":[{"group":"Vehicle lookups","pages":[{"title":"List vehicle makers","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-makers","href":"/car-api-reference/vehicle-lookups/list-vehicle-makers"},{"title":"List vehicle models","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-models","href":"/car-api-reference/vehicle-lookups/list-vehicle-models"},{"title":"List vehicle body types","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /vehicle-body-types","href":"/car-api-reference/vehicle-lookups/list-vehicle-body-types"}]},{"group":"Quotes","pages":[{"title":"Show quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests/{id}","href":"/car-api-reference/quotes/show-quote"},{"title":"Delete quote","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json delete /quote-requests/{id}","href":"/car-api-reference/quotes/delete-quote"},{"title":"List quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /quote-requests","href":"/car-api-reference/quotes/list-quotes"},{"title":"Request quotes","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests","href":"/car-api-reference/quotes/request-quotes"},{"title":"Guideline texts","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /guideline-texts","href":"/car-api-reference/quotes/guideline-texts"},{"title":"Upload vehicle photos","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-requests/{id}/attachments","href":"/car-api-reference/quotes/upload-vehicle-photos"}]},{"group":"Embed sessions","pages":[{"title":"Create embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions","href":"/car-api-reference/embed-sessions/create-embed-session"},{"title":"Show embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /embed-sessions/{id}","href":"/car-api-reference/embed-sessions/show-embed-session"},{"title":"Store vehicle photos for an embed session","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /embed-sessions/{id}/photos","href":"/car-api-reference/embed-sessions/store-vehicle-photos-for-an-embed-session"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies/{carPolicy}","href":"/car-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json get /policies","href":"/car-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /policies","href":"/car-api-reference/policies/issue-policy"}]},{"group":"OTPs","pages":[{"title":"Request OTP for quote verification","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /quote-otp","href":"/car-api-reference/otps/request-otp-for-quote-verification"},{"title":"Request OTP for Issuing Policy","deprecated":null,"version":null,"openapi":"/car-api-reference/openapi.json post /issue-otp","href":"/car-api-reference/otps/request-otp-for-issuing-policy"}]}]},{"group":"Property Insurance APIs","pages":[{"group":"Prices","pages":[{"title":"List prices","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /prices","href":"/property-api-reference/prices/list-prices"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}","href":"/property-api-reference/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies","href":"/property-api-reference/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies","href":"/property-api-reference/policies/issue-policy"},{"title":"Cancellation status","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /policies/{propertyPolicy}/cancellation-status","href":"/property-api-reference/policies/cancellation-status"},{"title":"Upload documents","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/documents","href":"/property-api-reference/policies/upload-documents"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json post /policies/{propertyPolicy}/claims","href":"/property-api-reference/claims/issue-claim"}]},{"group":"Addresses","pages":[{"title":"Get full address from short address code","deprecated":null,"version":null,"openapi":"/property-api-reference/openapi.json get /address-from-short","href":"/property-api-reference/addresses/get-full-address-from-short-address-code"}]}]},{"group":"Cargo Insurance APIs","pages":[{"group":"Options","pages":[{"title":"Get the options","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /options","href":"/cargo-api-reference/options/get-the-options"}]},{"group":"Customers","pages":[{"title":"List customers","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /customers","href":"/cargo-api-reference/customers/list-customers"},{"title":"Register a customer","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /customers","href":"/cargo-api-reference/customers/register-a-customer"},{"title":"Read a customer","description":null,"deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /customers/{customerId}","href":"/cargo-api-reference/customers/read-a-customer"}]},{"group":"Single shipment","pages":[{"title":"Quote a shipment","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /quote-requests","href":"/cargo-api-reference/single-shipment/quote-a-shipment"},{"title":"Read a quote request","description":"The quote request as it stands now. Use it to follow a referral: once the underwriter has decided, `status` turns `approved` (and `quote` is filled) or `rejected`.","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /quote-requests/{quoteRequestId}","href":"/cargo-api-reference/single-shipment/read-a-quote-request"}]},{"group":"Open cover","pages":[{"title":"Apply for open cover","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /open-cover-applications","href":"/cargo-api-reference/open-cover/apply-for-open-cover"},{"title":"Read an open-cover application","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /open-cover-applications/{applicationId}","href":"/cargo-api-reference/open-cover/read-an-open-cover-application"},{"title":"List declarations","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}/declarations","href":"/cargo-api-reference/open-cover/list-declarations"},{"title":"Declare a shipment","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /policies/{policyId}/declarations","href":"/cargo-api-reference/open-cover/declare-a-shipment"},{"title":"Read a declaration","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}/declarations/{declarationId}","href":"/cargo-api-reference/open-cover/read-a-declaration"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies","href":"/cargo-api-reference/policies/list-policies"},{"title":"Issue a policy","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json post /policies","href":"/cargo-api-reference/policies/issue-a-policy"},{"title":"Read a policy","deprecated":null,"version":null,"openapi":"/cargo-api-reference/openapi.json get /policies/{policyId}","href":"/cargo-api-reference/policies/read-a-policy"}]}]},{"group":"Travel Insurance APIs","pages":[{"group":"Quotes","pages":[{"title":"Request Quote","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /quotes","href":"/yasmina-schengen-travel-insurance/quotes/request-quote"}]},{"group":"Policies","pages":[{"title":"Show policy","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies/{travelPolicy}","href":"/yasmina-schengen-travel-insurance/policies/show-policy"},{"title":"List policies","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json get /policies","href":"/yasmina-schengen-travel-insurance/policies/list-policies"},{"title":"Purchase","deprecated":null,"version":null,"openapi":"/yasmina-schengen-travel-insurance/openapi.json post /policies","href":"/yasmina-schengen-travel-insurance/policies/purchase"}]}]},{"group":"Life (S\u0026P) Insurance APIs","pages":[{"group":"Offers","pages":[{"title":"Life S\u0026P Products","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /offers","href":"/life-snp/offers/life-s\u0026p-products"}]},{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json get /policies","href":"/life-snp/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies","href":"/life-snp/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{lifePolicy}/cancellation","href":"/life-snp/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Submit claim","deprecated":null,"version":null,"openapi":"/life-snp/openapi.json post /policies/{policyId}/claims","href":"/life-snp/claims/submit-claim"}]}]},{"group":"TPL Motor Insurance - Flat Fee APIs V2","pages":[{"group":"Policies","pages":[{"title":"List policies","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json get /v2/car/policies","href":"/cartpl-api-reference-v2/policies/list-policies"},{"title":"Issue policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies","href":"/cartpl-api-reference-v2/policies/issue-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/car/policies/{carPolicy}/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy"},{"title":"Cancel policy by VIN","deprecated":null,"version":null,"openapi":"/cartpl-api-reference-v2/openapi.json post /v2/clients/policies/cancellation","href":"/cartpl-api-reference-v2/policies/cancel-policy-by-vin"}]}]},{"group":"Horse Insurance APIs","pages":[{"group":"Policies","pages":[{"title":"Create a horse policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies","href":"/horse-api-reference/policies/create-a-horse-policy"},{"title":"Cancel policy","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{horsePolicy}/cancellation","href":"/horse-api-reference/policies/cancel-policy"}]},{"group":"Claims","pages":[{"title":"Issue claim","deprecated":null,"version":null,"openapi":"/horse-api-reference/openapi.json post /policies/{policyId}/claims","href":"/horse-api-reference/claims/issue-claim"}]}]},{"group":"Payment","pages":[{"group":"Payments","pages":[{"title":"List payments","deprecated":null,"version":null,"openapi":"/payments-api-reference/openapi.json get /payments","href":"/payments-api-reference/payments/list-payments"}]}]}]},{"tab":"SDKs","icon":"brackets-curly","pages":[{"title":"SDKs","href":"/sdks/ios"}]},{"tab":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Quote a shipment - Yasmina embedded insurance","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","CodeSnippet-B373COAT.js","getApiPlaygroundDisplay-CfL-UuDS.js","Page-DuqezyvM.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}