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

# Create a new product

`POST /v1/product`

## Request body

- CreateProduct
  - `name` string, required — name of product
  - `sku` string, required — unique sku of product
  - `salesforceProductId` string, required — corresponding product id in salesforce
  - `stripeProductId` string, required — corresponding product id in stripe
  - `features` string[], required — set of features this product has access to
  - `featureOptions` object — map of options for the feature
  - `status` 'ACTIVE' | 'LEGACY' | 'INACTIVE', required — whether the product is Active (currently being sold), Legacy (in use, but not being sold to new customers), or Inactive (no longer in use by any active customers)

## Response `201`

product created

- Product
  - `id` string — globally unique id
  - `name` string, required — name of product
  - `sku` string, required — unique sku of product
  - `salesforceProductId` string, required — corresponding product id in salesforce
  - `stripeProductId` string, required — corresponding product id in stripe
  - `features` string[], required — set of features this product has access to
  - `featureOptions` object — map of options for the feature
  - `status` 'ACTIVE' | 'LEGACY' | 'INACTIVE', required — whether the product is Active (currently being sold), Legacy (in use, but not being sold to new customers), or Inactive (no longer in use by any active customers)

## Other responses

- `400` — invalid data
- `401` — not authorized
- `403` — permission denied

---

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