Skip to content

Update quote

Request

Security
bearerAuth
Path
policyIdstringrequired
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
Bodyapplication/json

Full request structure per product can be taken from json scheme Product json scheme. with type: policy and name: {name of the insurance product}.

any
curl -i -X PUT \
  'https://ledger.app.beta.insly.training/api/v1/ledger/sales/policies/{policyId}/' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-TENANT-ID: {$inputs.tenant}' \
  -d '{
    "policy": {
      "dateInception": "2022-05-25",
      "dateExpiry": "2022-05-24"
    }
  }'

Responses

Full request structure per product can be taken from json scheme Product json scheme. with type: policy and name: {name of the insurance product}.

Bodyapplication/json
any
Response
[ "See response description for more details." ]