Enterprise
Multiple Create Enterprise

Create multiple enterprise

Create multiple Enterprises with one call.

With a maximum of 50 objects for call.

POST/enterprise/multiple-create

Parameters

data - [object] required
An array of Enterprises.

Example (required parameters selected)
{
  "data": [
    {
      "name": "Salesly.app 2",
      "email": "test2@salesly.app",
      "comments": null,
      "cif": "G123454789",
      "type": "client",
      "users": ["responsible@salesly.app"]
    },
    {
      "name": "Salesly.app 3",
      "email": "test3@salesly.app",
      "comments": null,
      "cif": "F1123454789",
      "type": "no_client",
      "users": ["responsible@salesly.app"]
    }
  ]
}

Response

status 200

The response will be an array of all created enterprises IDs.

Response
{
    "enterprises_created_ids": [
        11,
        12
    ]
}