Skip to main content
POST
/
api
/
products
/
{key}
/
versions
/
{version}
/
enrich
Enrich Product Version
curl --request POST \
  --url https://api.merchantops.ai/api/products/{key}/versions/{version}/enrich \
  --header 'Content-Type: application/json' \
  --data '
{
  "enrich_product": true,
  "reinitialize_attributes": false,
  "scrape_brand_site": true,
  "search_lakehouse": true
}
'
{
  "job_id": "<string>",
  "message": "<string>",
  "product_key": "<string>",
  "source": "<string>",
  "version": 123
}

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required
version
integer
required

Cookies

stytch_session
string | null

Body

application/json

Request model for enriching an existing product version.

enrich_product
boolean
default:true

Run AI enrichment (description, features, attributes)

reinitialize_attributes
boolean
default:false

Clear and reinitialize attributes from ProductType before enrichment

scrape_brand_site
boolean
default:true

Scrape brand website during enrichment

search_lakehouse
boolean
default:true

Search product lakehouse for existing data

Response

Successful Response

Response model for enrich version request.

job_id
string
required

Job ID for tracking enrichment progress

message
string
required

Status message

product_key
string
required

Product key

source
string
required

Product source

version
integer
required

Version number being enriched