Osoby odpowiedzialne

Zaktualizuj osobę odpowiedzialną

Aktualizuje istniejące dane osoby odpowiedzialnej.

put/responsiblepersons/{id}

Path parameters

idinteger required
Example:123

ID osoby odpowiedzialnej do aktualizacji.

Request body

citystring
country_codestring
emailstring

Wymagane jest podanie email lub form_url

form_urlstring

Wymagane jest podanie email lub form_url

namestring
own_namestring
phone_numberstring
postal_codestring
streetstring

Example request

{
  "city": "Nowe miasto",
  "country_code": "DE",
  "email": "newemail@example.com",
  "form_url": "https://example.com/new-contact",
  "name": "Nowe imię i nazwisko",
  "own_name": "Nowa własna nazwa",
  "phone_number": "+48987654321",
  "postal_code": "12-345",
  "street": "Nowa ulica 456"
}

Response

Sukces. Dane osoby odpowiedzialnej zostały zaktualizowane.

idinteger
own_namestring

Example response

{
  "id": 123,
  "own_name": "Nowa własna nazwa"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.