Skip to main content

Update a policy

PUT 

/v1/policies/:id

Update the details of a policy with information neccessary for claims

Request

Path Parameters

    id integerrequired

    ID of the policy

Body

    policy_number stringrequired

    Policy number of the policy

    expiry_date daterequired

    Expiry date of the policy

    policy_doc stringrequired

    URL of the policy document

Responses

OK

Schema
    id integer

    ID of the policy

    full_name string

    Full name of the user

    start_date string

    Start date of the policy

    policy_type string

    Possible values: [third_party, comprehensive]

    Type of the policy

    purchase_date string

    Date of purchase of the policy

    end_date string

    End date of the policy

    status string

    Status of the policy

    product string

    Name of the product

    premium string

    Premium of the policy

    policy_document string

    URL of the policy document

    policy_number string

    Number of the policy

Loading...