curl --request PATCH \
--url https://thirdparty.qonto.com/v2/insurance_contracts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"insurance_contract": {
"name": "ProLiability Plan 2024",
"contract_id": "12345",
"origin": "insurance_hub",
"provider_slug": "axa",
"type": "business_liability",
"status": "active",
"troubleshooting_url": "https://patner.com/troubleshoot",
"service_url": "https://partner.com/service",
"expiration_date": "2025-12-31",
"start_date": "2024-12-31",
"renewal_date": "2025-12-31",
"payment_frequency": "month",
"price": {
"value": "99.99",
"currency": "EUR"
}
}
}
'{
"insurance_contract": {
"id": "888e4567-e89b-12d3-a456-426614174123",
"name": "ProLiability Plan 2024",
"contract_id": "12345",
"origin": "insurance_hub",
"provider_slug": "axa",
"type": "business_liability",
"status": "active",
"troubleshooting_url": "https://patner.com/troubleshoot",
"service_url": "https://partner.com/service",
"expiration_date": "2025-12-31",
"start_date": "2024-12-31",
"renewal_date": "2025-12-31",
"payment_frequency": "month",
"price": {
"value": "99.99",
"currency": "EUR"
}
}
}OAuth scope: insurance_contract.write
Updates the insurance contract identified by the id path parameter.
curl --request PATCH \
--url https://thirdparty.qonto.com/v2/insurance_contracts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"insurance_contract": {
"name": "ProLiability Plan 2024",
"contract_id": "12345",
"origin": "insurance_hub",
"provider_slug": "axa",
"type": "business_liability",
"status": "active",
"troubleshooting_url": "https://patner.com/troubleshoot",
"service_url": "https://partner.com/service",
"expiration_date": "2025-12-31",
"start_date": "2024-12-31",
"renewal_date": "2025-12-31",
"payment_frequency": "month",
"price": {
"value": "99.99",
"currency": "EUR"
}
}
}
'{
"insurance_contract": {
"id": "888e4567-e89b-12d3-a456-426614174123",
"name": "ProLiability Plan 2024",
"contract_id": "12345",
"origin": "insurance_hub",
"provider_slug": "axa",
"type": "business_liability",
"status": "active",
"troubleshooting_url": "https://patner.com/troubleshoot",
"service_url": "https://partner.com/service",
"expiration_date": "2025-12-31",
"start_date": "2024-12-31",
"renewal_date": "2025-12-31",
"payment_frequency": "month",
"price": {
"value": "99.99",
"currency": "EUR"
}
}
}Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
UUID of the insurance contract to update
JSON payload containing the fields to update.
Insurance contract data provided by Partner
Show child attributes
Name of the insurance contract signed by the customer
"ProLiability Plan 2024"
ID of the contract created by partner
"12345"
Insurance contract origin
insurance_hub, qonto_other, stello "insurance_hub"
Identifier representing insurance provider
"axa"
Defined category of insurance taken by the customer
"business_liability"
Insurance contract status
active, pending_payment, pending_others, action_required, expired, archived "active"
Link for troubleshooting when contract status is not active
"https://patner.com/troubleshoot"
Static link for customer to access their insurance management portal
"https://partner.com/service"
Date when the contract terminates unless it is renewed
"2025-12-31"
Date when the insurance contract becomes active and coverage begins
"2024-12-31"
Date when the policy is scheduled for renewal
"2025-12-31"
Payment frequency
month, quarter, semester, annual "month"
Returns the updated insurance contract.
Insurance contract data provided by Partner
Show child attributes
UUID of the insurance contract
"888e4567-e89b-12d3-a456-426614174123"
Name of the insurance contract signed by the customer
"ProLiability Plan 2024"
ID of the contract created by partner
"12345"
Insurance contract origin
insurance_hub, qonto_other, stello "insurance_hub"
Identifier representing insurance provider
"axa"
Defined category of insurance taken by the customer
"business_liability"
Insurance contract status
active, pending_payment, pending_others, action_required, expired, archived "active"
Link for troubleshooting when contract status is not active
"https://patner.com/troubleshoot"
Static link for customer to access their insurance management portal
"https://partner.com/service"
Date when the contract terminates unless it is renewed
"2025-12-31"
Date when the insurance contract becomes active and coverage begins
"2024-12-31"
Date when the policy is scheduled for renewal
"2025-12-31"
Payment frequency
month, quarter, semester, annual "month"
Was this page helpful?