v1

latestOpenAPI 3.0.2EULA2026-07-143221521.2 MB
Customers

Create a batch of property records for a customer

Add a batch of customer property records to a customer account. In case of an existing property record, CareCloud API will update this record. In case of error, CareCloud will cancel the whole transaction, and API will return error information.

post/customers/{customer_id}/property-records/batch

Path parameters

customer_idstring required

The unique ID of the customer.

Headers

Accept-Languagestring

The unique ID of the language code by ISO 639-1.

Request body

error_processing1 | 2

The parameter describes the batch method behavior in case of error occurs. Possible values are: 1 - It returns the first error found and rollback all previous changes (this is also the default behavior if the parameter is not set) / 2 - It creates all valid records and creates an error report from failed attempts.

Example request

{
  "property_records": [
    {
      "property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
      "property_id": "docasna_blokace_darce_do",
      "property_name": "Property #6",
      "last_change": "2023-02-02 00:00:00"
    }
  ]
}

Response

No Content