Create and update products without deleting existing ones. This endpoint only creates new products and updates existing ones.
external_id, leaving other products unchanged.
Perfect for incrementally adding products to your catalog without affecting the rest.
| Parameter | Type | Required | Description |
|---|---|---|---|
promptBlockId | string | Yes | Product block ID to add products to |
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Product name |
description | string | Yes | Natural language description for AI (max 8192 chars) |
price | number | Yes | Product price (must be positive) |
currency | string | Yes | Currency code (USD, EUR, CLP, etc.) |
type | string | Yes | Product type (PRODUCT or SERVICE) |
external_id | string | Yes | Your unique identifier for this product |
file_url | string | No | URL to product image or file |
metadata | array | Yes | Array of key-value pairs for additional data |
| Type | Use For |
|---|---|
PRODUCT | Physical or digital products |
SERVICE | Services, consultations, subscriptions |
| Feature | Create (This Endpoint) | Upsert |
|---|---|---|
| New Products | ✅ Creates | ✅ Creates |
| Existing Products | ✅ Updates (by external_id) | ✅ Updates |
| Other Products | ✅ Keeps unchanged | ❌ Deletes if not in request |
| Use When | Adding/updating specific items | Full catalog sync |
| Status Code | Description |
|---|---|
| 400 | Bad Request - Invalid product data |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient permissions |
| 404 | Not Found - Product block not found |
| 500 | Internal Server Error |
API key needed to authorize the request
The prompt block ID to create the products
The payload to send with the products
1 - 2000 elements1In 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
1 - 8192shopify, vambe, woocommerce, axis, vtex CLP, ARS, COP, MXN, EUR, USD, UF, PEN, BRL, HNL x > 0Products created successfully.