Osoby odpowiedzialne

Dodaj nową osobę odpowiedzialną

Tworzy nową osobę odpowiedzialną na podstawie przekazanych danych.

post/responsiblepersons

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": "Miasto",
  "country_code": "PL",
  "email": "email@example.com",
  "form_url": "https://example.com/contact",
  "name": "Imię i nazwisko",
  "own_name": "Własna nazwa",
  "phone_number": "+48123456789",
  "postal_code": "00-000",
  "street": "Ulica 123"
}

Response

Osoba odpowiedzialna została pomyślnie utworzona.

idinteger
own_namestring

Example response

{
  "id": 123,
  "own_name": "Własna nazwa"
}

Changes

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