---
title: "Create a product"
method: POST
path: "/v1/products"
tags: ["products"]
---

# Create a product

`POST /v1/products`

## Request body

- HttpCreateProductRequest
  - `code_internal` string, required
  - `image_url` string
  - `is_unique` 0 | 1
  - `min_quantity` integer, required
  - `name` string, required
  - `return_url` string
  - `state` 1 | 2, required
  - `type` 1 | 2 | 3 | 4, required
  - `type_owner` 1 | 2

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

---

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