---
title: "Dodaj nowego odpowiedzialnego producenta"
method: POST
path: "/responsibleproducers"
tags: ["Odpowiedzialni producenci"]
---

# Dodaj nowego odpowiedzialnego producenta

`POST /responsibleproducers`

Tworzy nowego odpowiedzialnego producenta na podstawie przekazanych danych.

## Request body

- ResponsibleProducerCreate
  - `city` string
  - `country_code` string
  - `email` string — Wymagane jest podanie email lub form_url
  - `form_url` string — Wymagane jest podanie email lub form_url
  - `manufacturer_id` integer, required — Identyfikator producenta (wymagane)
  - `name` string
  - `phone_number` string
  - `postal_code` string
  - `street` string
  - `trade_name` string

## Response `200`

Odpowiedzialny producent został pomyślnie utworzony.

- object
  - `id` integer
  - `manufacturer_id` integer

## Other responses

- `400` — Nieprawidłowe dane żądania. Komunikat błędu w odpowiedzi.

---

[API](https://skmtc.dev/sellasist/apis/sellasist-api.md) · [All operations](https://skmtc.dev/sellasist/apis/sellasist-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sellasist/sellasist-api/revisions/821a1ff699fb/schema)
