---
title: "Create products"
method: POST
path: "/api/public/product/create/{promptBlockId}"
tags: ["Product"]
---

# Create products

`POST /api/public/product/create/{promptBlockId}`

Create and update products without deleting existing ones. This endpoint only creates new products and updates existing ones.

## Path parameters

- `promptBlockId` string, required

## Headers

- `x-api-key` string, required

## Request body

- object[]
  - `name` string, required
  - `file_url` string
  - `description` string, required — In the description you only need to add words that help the AI do a semantic search, avoide placing here prices, links or other type of data that is not natural language
  - `type` 'shopify' | 'vambe' | 'woocommerce' | 'axis' | 'vtex' | 'jumpseller' | 'odoo' | 'tiendanube' | 'magento' | 'custom_app', required
  - `currency` 'CLP' | 'USD' | 'MXN' | 'BRL' | 'UF' | 'ARS' | 'COP' | 'UYU' | 'PEN' | 'EUR' | 'HNL' | 'BOB' | 'PYG' | 'GTQ' | 'NIO' | 'PAB' | 'CRC' | 'DOP' | 'VES' | 'BZD' | 'SRD' | 'GYD', required
  - `price` number, required
  - `external_id` string, required
  - `sku` string
  - `metadata` object[], required
    - `key` string, required
    - `value` string, required

## Response `201`

Products created successfully.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.
- `403` — Forbidden.

---

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