Body
Body of the POST request
-
The first name of the customer.
-
The last name of the customer.
-
This is the email of the customer the offer is sent to.
-
The unique ID of the project created on Cloover can be found in the response from the Create Project endpoint.
-
The address where the installation will be conducted. It can be different from the customer's personal address.
-
The type of project among the following possibilities.
Values are
Solar
,Solar + Battery/Charging station
, orBattery/Charging station
. -
The country where the installation will be conducted.
Values are
Germany
,Sweden
,Switzerland
, orNetherlands
. -
The currency of the project's invoice.
Values are
EUR
,kr
, orCHF
. -
Provide a link to the technical offer (PDF) of the project here. The file needs to be hosted by you for a better user experience.
-
The type of customer among the following possibilities.
Values are
Individual
orCompany
. -
You can obtain your sales representative ID by making a GET request to the Get User Information endpoint.
-
You can get your organization ID by making a GET request to the Get User Information endpoint.
-
Indicates if the offer email should be sent to the customer.
-
The phone number of the customer.
-
Indicates if VAT is applicable.
-
Available financing options.
Values are
Invoice
orFinancing
. -
The duration for the long-term investment (LTI).
Values are
1 year
,2 years
,3 years
,4 years
,5 years
,6 years
,7 years
,8 years
,9 years
,10 years
,11 years
,12 years
,13 years
,14 years
,15 years
,16 years
,17 years
,18 years
,19 years
, or20 years
. -
Subsidized price for the heat pump installation.
-
Total cost of the installation after subsidies, including VAT.
curl \
--request POST 'https://cloover.co/version-test/api/1.1/wf/update_project_2' \
--data '{"first_name_customer":"string","last_name_customer":"string","email_customer":"string","project":"string","address_project":{"address":"string","lat":42.0,"lng":42.0},"type_project":"Solar","country_project":"Germany","currency_project":"EUR","offer_PDF":["string"],"type_customer":"Individual","sales_rep":"string","organization":"string","send_offer_email":true,"phone_customer":"string","VAT":true,"financing_options":["Financing","Invoice"],"LTI_durations":["3 years","10 years"],"Heatpump_subsidized_price":42.0,"Total_cost_installation":42.0}'
{
"first_name_customer": "string",
"last_name_customer": "string",
"email_customer": "string",
"project": "string",
"address_project": {
"address": "string",
"lat": 42.0,
"lng": 42.0
},
"type_project": "Solar",
"country_project": "Germany",
"currency_project": "EUR",
"offer_PDF": [
"string"
],
"type_customer": "Individual",
"sales_rep": "string",
"organization": "string",
"send_offer_email": true,
"phone_customer": "string",
"VAT": true,
"financing_options": [
"Financing",
"Invoice"
],
"LTI_durations": [
"3 years",
"10 years"
],
"Heatpump_subsidized_price": 42.0,
"Total_cost_installation": 42.0
}
{
"status": "string",
"response": {}
}
{
"status": "string",
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"message": "string"
}
{
"code": "string",
"message": "string"
}
{
"message": "string"
}