POST
/
site
/
many
Create multiple sites
curl --request POST \
  --url http://localhost:8080/site/many \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "sites": [
    {
      "code": "<string>",
      "name": "<string>",
      "street": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "fiscal_name": "<string>",
      "cif": "<string>",
      "zip_code": "<string>"
    }
  ]
}'
[
  {
    "code": "<string>",
    "name": "<string>",
    "street": "<string>",
    "city": "<string>",
    "state": "<string>",
    "country": "<string>",
    "fiscal_name": "<string>",
    "cif": "<string>",
    "zip_code": "<string>"
  }
]

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Body

application/json

Response

Successfully created sites

The response is of type object[].