v1

latestOpenAPI 3.0.02026-07-2612645160.3 KB
Product

Upsert products

Upsert products and their embeddings, this endpoint creates and updates all products that are in the list and delete all products that are not in the list.

post/api/public/product/upsert/{promptBlockId}

Path parameters

promptBlockIdstring required

The prompt block ID to upsert the products

Headers

x-api-keystring required

API key needed to authorize the request

Request body

namestring required
file_urlstring
descriptionstring 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
pricenumber required
external_idstring required
skustring

Response

Products upserted successfully.