Skip to main content
PUT
/
pricing
/
{policyId}
/
selection
Save pricing tier and peril selection
curl --request PUT \
  --url https://api.example.com/pricing/{policyId}/selection \
  --header 'Content-Type: application/json' \
  --data '
{
  "tierId": "<string>",
  "policyCustomFields": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ]
}
'
{
  "saved": true
}

Path Parameters

policyId
string
required

Policy ID

Query Parameters

branchId
string

Branch ID (optional, defaults to latest)

Body

application/json
tierId
string
required

Selected tier ID

policyCustomFields
object[]

Policy-level custom fields to save

Response

saved
boolean
required

Whether the selection was saved successfully