---
title: "Create Product"
method: POST
path: "/products"
tags: ["Products"]
---

# Create Product

`POST /products`

Create new product

## Request body

- CreateProductRequest — Object used to create new product
  - `name` string — name of the product
  - `kitchen_name` string — kitchen name of the product
  - `official_name` string, required — official name of the product
  - `selling_price` integer — selling price in cent
  - `stock_price` integer — stock price in cent
  - `client` integer, required — client id of client that this product belongs to
  - `image` integer — image id
  - `code` string — bar code of the product
  - `color` string — color attached to the product for example \#ffffffaa
  - `unit` integer — unit id
  - `tax` integer — takeaway tax id
  - `tax_in_stay` integer — stay in tax id
  - `tag` integer, required — tag id
  - `sku_code` string — sku code
  - `inventory_on_variants` integer — weather inventory fo variants should be calculated on variants or on products with applied percentage
  - `closed_for_discount` integer — 0 or 1

## Response `201`

Created

- EProduct
  - `uid` integer
  - `crdate` integer
  - `tstamp` integer
  - `crdate_formatted` string
  - `tstamp_formatted` string
  - `name` string
  - `tag` integer
  - `kitchen_name` string
  - `official_name` string
  - `is_favourite` integer
  - `stock_price` integer
  - `selling_price` integer
  - `code` string
  - `sku_code` string
  - `quantity` integer
  - `client` integer
  - `color` string
  - `weight` integer
  - `description` string
  - `type` integer
  - `integration` string
  - `type_text` string
  - `not_kitchen` integer
  - `is_visible` integer
  - `inventory_on_variants` integer
  - `closed_for_discount` integer — 0 or 1
  - `tax0` Tax
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `enabled` integer
    - `percentage` integer
    - `client` integer
    - `standard_tax_codes` integer
    - `code` string
  - `tax_in_stay0` Tax
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `enabled` integer
    - `percentage` integer
    - `client` integer
    - `standard_tax_codes` integer
    - `code` string
  - `tag0` Tag
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `client` integer
    - `weight` integer
    - `not_kitchen` integer
    - `color` string
    - `product_count` integer
    - `is_visible` integer
  - `unit0` Unit
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
  - `image0` Image
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `path` string
    - `image_original` string
    - `image_large` string
    - `image_medium` string
    - `image_small` string
  - `product_variances` ProductVariance[]
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `stock_price` integer
    - `selling_price` integer
    - `quantity` integer
    - `product` integer
    - `image` integer
    - `name` string
    - `parent` integer
    - `inventory_multiply_factor` integer
    - `weight` integer
    - `barcode` string
  - `modifier_group` EModifierGroup
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `name` string
    - `client` integer
    - `type` integer
    - `limit` integer
    - `modifiers_count` integer
    - `standalone_modifier_group` integer — 0 = normal group, 1 = standalone
    - `hidden` integer
    - `deleted` integer
    - `modifiers` Modifier[]
      - `uid` integer
      - `crdate` integer
      - `tstamp` integer
      - `crdate_formatted` string
      - `tstamp_formatted` string
      - `name` string
      - `official_name` string
      - `kitchen_name` string
      - `is_favourite` integer
      - `stock_price` integer
      - `selling_price` integer — Customer price in minor units (from active filter or default)
      - `takeaway_price` integer — Takeaway price in minor units when enabled for client
      - `code` string
      - `sku_code` string
      - `quantity` integer
      - `client_id` integer
      - `color` string
      - `weight` integer
      - `modifier_groups_ids` integer[] — Group uids this modifier belongs to (response field name)
      - `is_visible` integer
      - `not_kitchen` integer
      - `tax0` Tax
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `name` string
        - `enabled` integer
        - `percentage` integer
        - `client` integer
        - `standard_tax_codes` integer
        - `code` string
      - `tax_in_stay0` Tax
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `name` string
        - `enabled` integer
        - `percentage` integer
        - `client` integer
        - `standard_tax_codes` integer
        - `code` string
      - `tag0` ETag
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `name` string
        - `client` integer
        - `weight` integer
        - `not_kitchen` integer
        - `color` string
        - `product_count` integer
        - `is_visible` integer
        - `image` Image
          - `uid` integer
          - `crdate` integer
          - `tstamp` integer
          - `crdate_formatted` string
          - `tstamp_formatted` string
          - `path` string
          - `image_original` string
          - `image_large` string
          - `image_medium` string
          - `image_small` string
        - `integration_accounts` TagIntegrationAccount[]
          - `tag_id` integer
          - `account` integer
          - `tax_id` integer
          - `uid` integer
          - `crdate` integer
          - `tstamp` integer
          - `crdate_formatted` string
          - `tstamp_formatted` string
      - `unit0` Unit
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `name` string
      - `image0` Image
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `path` string
        - `image_original` string
        - `image_large` string
        - `image_medium` string
        - `image_small` string
      - `product_barcods` ProductBarCode[]
        - `uid` integer
        - `crdate` integer
        - `tstamp` integer
        - `crdate_formatted` string
        - `tstamp_formatted` string
        - `barcode` string
  - `product_barcods` ProductBarCode[]
    - `uid` integer
    - `crdate` integer
    - `tstamp` integer
    - `crdate_formatted` string
    - `tstamp_formatted` string
    - `barcode` string

---

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