Create clients bulk
create_clients_bulkCreate many customers from a list, such as a page of rows read with read_file_rows. Up to 100 a call; for a longer list call again with the next page. Partial success: returns {error, message, created: [{line, id, name}], matched: [{line, id, name}], errors: [{line, name, message}]}. A row whose name matches a customer already in stub is matched, not added twice, and fills only blank details. A refused row is listed in errors with the reason and the rest are saved. error is true only when no row was created or matched. Show the entrepreneur a preview and get one confirm before you call it. To change an existing customer use save_client.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Up to 100 customers to create, in file order. Partial success: a row that is refused is listed in errors and the rest are saved. |