PUT
/
site
/
:id
Update site
curl --request PUT \
  --url http://localhost:8080/site/:id \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "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.

Path Parameters

id
string
required

Site ID

Body

application/json

Response

Successfully updated site

The response is of type object.