---
title: "Add a product"
method: POST
path: "/v1/products"
---

# Add a product

`POST /v1/products`

## Request

- Base URL: `https://api.octapi.app`
- URL: `https://api.octapi.app/v1/products`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required
  - `description` string, nullable
  - `active` boolean
  - `variants` object[], required
    - `id` string, uuid
    - `sku` string, nullable
    - `title` string, nullable
    - `price` number, nullable
    - `currency` string, nullable
    - `barcode` string, nullable
    - `attributes` object, nullable

## Response `200`

Default Response

- unknown

---

[API](https://skmtc.dev/octapi/apis/octapi-api.md) · [All operations](https://skmtc.dev/octapi/apis/octapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/octapi/apis/octapi-api/revisions/580afda787d2?raw)
