Update existing project

POST /wf/update_project_2

Update existing project

Body

Body of the POST request

  • first_name_customer string Required

    The first name of the customer.

  • last_name_customer string Required

    The last name of the customer.

  • email_customer string

    This is the email of the customer the offer is sent to.

  • project string Required

    The unique ID of the project created on Cloover can be found in the response from the Create Project endpoint.

  • address_project object Required

    The address where the installation will be conducted. It can be different from the customer's personal address.

    Hide address_project attributes Show address_project attributes object
    • address string

      Formatted address

    • lat number(float)

      Address latitude

    • lng number(float)

      Address longitude

  • type_project string Required

    The type of project among the following possibilities.

    Values are Solar, Solar + Battery/Charging station, or Battery/Charging station.

  • country_project string Required

    The country where the installation will be conducted.

    Values are Germany, Sweden, Switzerland, or Netherlands.

  • currency_project string Required

    The currency of the project's invoice.

    Values are EUR, kr, or CHF.

  • offer_PDF array[string] Required

    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.

  • type_customer string Required

    The type of customer among the following possibilities.

    Values are Individual or Company.

  • sales_rep string Required

    You can obtain your sales representative ID by making a GET request to the Get User Information endpoint.

  • organization string Required

    You can get your organization ID by making a GET request to the Get User Information endpoint.

  • send_offer_email boolean Required

    Indicates if the offer email should be sent to the customer.

  • phone_customer string Required

    The phone number of the customer.

  • VAT boolean

    Indicates if VAT is applicable.

  • financing_options array[string] Required

    Available financing options.

    Values are Invoice or Financing.

  • LTI_durations array[string]

    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, or 20 years.

  • Heatpump_subsidized_price number(float)

    Subsidized price for the heat pump installation.

  • Total_cost_installation number(float) Required

    Total cost of the installation after subsidies, including VAT.

Responses

  • 200

    Workflow response

    Hide response attributes Show response attributes object
    • status string

      Outcome of the workflow

    • response object
  • 400

    Workflow failure

    Hide response attributes Show response attributes object
    • status string

      Outcome of the workflow

    • message string

      Error message for the workflow

  • 401

    Permission denied

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 404

    Not found

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 405

    Wrong method

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 429

    Too many requests

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

  • 500

    Internal bug. Please file a bug report at bubble.io/support/report with the request that triggers this bug

    Hide response attributes Show response attributes object
    • code string

      Error code

    • message string

      Error message for the operation

  • 503

    Service Unavailable

    Hide response attribute Show response attribute object
    • message string

      Error message for the operation

POST /wf/update_project_2
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}'
Request examples
{
  "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
}
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"
}