---
title: "created product"
method: POST
path: "/products/"
tags: ["platform"]
---

# created product

`POST /products/`

created product

## Request body

- MessageCreateProductReq
  - `components` StructsProductComponentProperty[]
    - `availableZones` StructsComponentInstanceZoneWithSpecs[] — Information on the specifications of the resources online for the running of product components,organized by different Zone
      - `specs` StructsComponentInstanceResourceSpec[]
        - `cpu` integer
        - `diskType` string — eg: NVMeSSD/SSD/SATA
        - `id` string — ID of the instance resource specification
        - `memory` integer — The amount of memory occupied by the instance, in GiB
        - `name` string — Name of the instance resource specification,eg: TiDB.c1.large
        - `zoneId` string
        - `zoneName` string
      - `zoneId` string
      - `zoneName` string
    - `endPort` integer
    - `id` string — ID of the product component, globally unique
    - `maxInstance` integer — Maximum number of instances when the product component is running, e.g. PD can run up to 7 instances, other components have no upper limit
    - `maxPort` integer
    - `minInstance` integer — Minimum number of instances of product components at runtime, e.g. at least 1 instance of PD, at least 3 instances of TiKV
    - `name` string — Name of the product component, globally unique
    - `purposeType` string — The type of resources required by the product component at runtime, e.g. storage class
    - `startPort` integer
    - `suggestedInstancesCount` integer[]
  - `productInfo` StructsProduct
    - `arch` string
    - `id` string — The ID of the product
    - `internal` integer
    - `name` string — the Name of the product
    - `regionId` string
    - `regionName` string
    - `status` string
    - `vendorId` string — the vendor ID of the vendor, e.go AWS
    - `vendorName` string — the Vendor name of the vendor, e.g AWS/Aliyun
    - `version` string

## Response `200`

OK

- object
  - `code` integer
  - `data` object
  - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

- **2022-03-07** `e9e75c7c2edb` — 2 info
  - api tag `platform` added
  - api tag `product` removed

[Change history](https://skmtc.dev/pingcap/apis/em-ui-api/changes/products/post.md)

---

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