---
title: "Tworzy klienta"
method: POST
path: "/users"
tags: ["Klienci"]
---

# Tworzy klienta

`POST /users`

Tworzenie nowego klienta

## Request body

- object
  - `bill_address` AddressData — Dane adresowe
    - `city` string — Miasto
    - `company_name` string — Nazwa firmy
    - `company_nip` string — NIP
    - `country` CountryData
      - `code` string — Kod Alpha-2 kraju
      - `id` integer — Identyfikator kraju w Sellasist
      - `name` string — Nazwa kraju
    - `description` string — Dodatkowy opis do adresu
    - `flat_number` string — Numer mieszkania
    - `home_number` string — Numer domu
    - `name` string — Imię
    - `phone` string — Telefon
    - `postcode` string — Kod pocztowy
    - `state` string — Województwo
    - `street` string — Ulica
    - `surname` string — Nazwisko
  - `email` string
  - `shipment_address` AddressData — Dane adresowe
    - `city` string — Miasto
    - `company_name` string — Nazwa firmy
    - `company_nip` string — NIP
    - `country` CountryData
      - `code` string — Kod Alpha-2 kraju
      - `id` integer — Identyfikator kraju w Sellasist
      - `name` string — Nazwa kraju
    - `description` string — Dodatkowy opis do adresu
    - `flat_number` string — Numer mieszkania
    - `home_number` string — Numer domu
    - `name` string — Imię
    - `phone` string — Telefon
    - `postcode` string — Kod pocztowy
    - `state` string — Województwo
    - `street` string — Ulica
    - `surname` string — Nazwisko

## Response `200`

Sukces

- object
  - `id` integer

## Other responses

- `401` — Błąd autoryzacji

---

[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)
