Odpowiedzialni producenci

Zaktualizuj odpowiedzialnego producenta

Aktualizuje istniejące dane odpowiedzialnego producenta.

put/responsibleproducers/{id}

Path parameters

idinteger required
Example:123

ID odpowiedzialnego producenta do aktualizacji.

Request body

citystring
country_codestring
emailstring

Wymagane jest podanie email lub form_url

form_urlstring

Wymagane jest podanie email lub form_url

manufacturer_idinteger
namestring
phone_numberstring
postal_codestring
streetstring
trade_namestring

Example request

{
  "city": "Nowe miasto",
  "country_code": "DE",
  "email": "newemail@example.com",
  "form_url": "https://example.com/new-contact",
  "manufacturer_id": 456,
  "name": "Nowa pełna nazwa",
  "phone_number": "+48987654321",
  "postal_code": "12-345",
  "street": "Nowa ulica 456",
  "trade_name": "Nowa nazwa handlowa"
}

Response

Sukces. Dane odpowiedzialnego producenta zostały zaktualizowane.

idinteger
manufacturer_idinteger

Example response

{
  "id": 123,
  "manufacturer_id": 456
}

Changes

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