---
title: "Store"
method: POST
path: "/api/suppliers"
tags: ["Proveedores"]
---

# Store

`POST /api/suppliers`

Guardar proveedor

## Request body

- SupplierCreate
  - `proveedor_tipo_documento` string, required
  - `proveedor_denominacion` string, required
  - `proveedor_numero_documento` string, required
  - `proveedor_email` union
    - string, email
    - string
  - `proveedor_telefono` string, nullable
  - `proveedor_distrito_id` string, nullable
  - `proveedor_direccion` string, nullable
  - `user_id` integer, nullable
  - `company_id` integer, nullable

## Response `200`

Successful Response

- SupplierOut
  - `proveedor_tipo_documento` string, required
  - `proveedor_denominacion` string, required
  - `proveedor_numero_documento` string, required
  - `proveedor_email` union
    - string, email
    - string
  - `proveedor_telefono` string, nullable
  - `proveedor_distrito_id` string, nullable
  - `proveedor_direccion` string, nullable
  - `document_type_code` union
    - integer
    - string
  - `id` integer, nullable
  - `user_id` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/factpro/apis/note-service-api.md) · [All operations](https://skmtc.net/factpro/apis/note-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factpro/note-service-api/revisions/d88e14b2de42/schema)
