post
https://{project_url}/webservice/rest-api/{api_interface}/{version}/customers
Add a new customer account in the CareCloud platform.
Partner assignment
When a new customer account is created, CareCloud creates one or more customer-partner relations automatically. The assignment depends on the project configuration:
- If the project is configured for store-based partner assignment and
store_idis set inpersonal_information- a single relation is created for the partner derived from the store. - If the project is not configured for store-based partner assignment - relations are created for all partners accessible to the authenticated API user. The
store_id, if set, is still recorded on the customer account but does not determine partner assignment.
To control partner assignment explicitly after registration, use POST /customers/actions/set-partners (enterprise interface only), which replaces all partner assignments in a single call.