---
title: "Create product"
method: POST
path: "/products"
tags: ["Reference Data"]
---

# Create product

`POST /products`

Creates a new product. Custom field values use `cf_*` keys — see the [Custom fields](/api-v2/custom-fields) guide.

## Request body

- ProductInput
  - `name` string, required — Product name
  - `type` 'PRODUCT' | 'SERVICE' — Product type
  - `price` number — Product price
  - `description` string, nullable — Product description
  - `sku` string, nullable — SKU code
  - `buyPrice` number, nullable — Cost/buy price
  - `isActive` boolean — Whether the product is active

## Response `200`

OK

- Product
  - `id` string, required — Product ID
  - `name` string, required — Product name
  - `price` number, required — Product price
  - `description` string, nullable — Product description
  - `sku` string, nullable — SKU code
  - `type` string, required — Product type (PRODUCT or SERVICE)
  - `isActive` boolean, required — Whether the product is active

## Other responses

- `400` — Validation error or bad request
- `401` — Missing or invalid API key
- `403` — Insufficient permission
- `404` — Resource not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/heffl/apis/heffl-api-v2-beta.md) · [All operations](https://skmtc.net/heffl/apis/heffl-api-v2-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/heffl/heffl-api-v2-beta/versions/27006cfef4d8/schema)
