Odpowiedzialni producenci

Dodaj nowego odpowiedzialnego producenta

Tworzy nowego odpowiedzialnego producenta na podstawie przekazanych danych.

post/responsibleproducers

Request body

citystring
country_codestring
emailstring

Wymagane jest podanie email lub form_url

form_urlstring

Wymagane jest podanie email lub form_url

manufacturer_idinteger required

Identyfikator producenta (wymagane)

namestring
phone_numberstring
postal_codestring
streetstring
trade_namestring

Example request

{
  "city": "Miasto",
  "country_code": "PL",
  "email": "email@example.com",
  "form_url": "https://example.com/contact",
  "manufacturer_id": 456,
  "name": "Pełna nazwa",
  "phone_number": "+48123456789",
  "postal_code": "00-000",
  "street": "Ulica 123",
  "trade_name": "Nazwa handlowa"
}

Response

Odpowiedzialny producent został pomyślnie utworzony.

idinteger
manufacturer_idinteger

Example response

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

Changes

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