Body
Body of the POST request
-
The address where the installation will be conducted. It can be different from the customer's personal address.
-
The country where the installation will be conducted.
Values are
Germany
,Sweden
,Switzerland
, orNetherlands
. -
You can obtain your sales representative ID by making a GET request to the Get User Information endpoint.
-
You can obtain your sales representative ID by making a GET request to the Get User Information endpoint.
-
Estimated total cost of the installation after subsidies, including VAT.
POST
/wf/new_lead
curl \
--request POST 'https://cloover.co/version-test/api/1.1/wf/new_lead' \
--data '{"address":{"address":"string","lat":42.0,"lng":42.0},"country":"Germany","organization":"string","customer_email":"string","customer_first_name":"string","customer_last_name":"string","customer_phone":"string","comment":"string","sales_rep_id":"string","estimated_cost_of_installation":42.0}'
Request examples
{
"address": {
"address": "string",
"lat": 42.0,
"lng": 42.0
},
"country": "Germany",
"organization": "string",
"customer_email": "string",
"customer_first_name": "string",
"customer_last_name": "string",
"customer_phone": "string",
"comment": "string",
"sales_rep_id": "string",
"estimated_cost_of_installation": 42.0
}
Response examples (200)
{
"status": "string",
"response": {}
}
Response examples (400)
{
"status": "string",
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (405)
{
"message": "string"
}
Response examples (429)
{
"message": "string"
}
Response examples (500)
{
"code": "string",
"message": "string"
}
Response examples (503)
{
"message": "string"
}