Skip to main content
PUT
Save pricing tier and peril selection

Authorizations

Authorization
string
header
required

Machine-to-machine clients use the OAuth 2.0 client credentials grant. Each tenant has its own authorization server: in the token URL below, replace tenant with your tenant identifier.

Headers

tenant
string
required

Your tenant identifier. Requests without it are rejected.

Path Parameters

policyId
string
required

Policy ID

Pattern: ^policy(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$

Query Parameters

branchId
string

Branch ID (optional, defaults to latest)

Pattern: ^branch(_test)?_[346789ABCDEFGHJKLMNPQRTUVWXYabcdefghijkmnpqrtwxyz]{21}$

Body

application/json
tierId
string
required

Tier ID, as returned in GET /policies/{policyId}/available-pricing. Tiers are computed per policy, so there is no fixed list.

policyCustomFields
object[]

Policy-level custom fields to save

Response

saved
boolean
required

Whether the selection was saved successfully