Skip to main content
POST
Upload Base Products Csv

Headers

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

Cookies

stytch_session
string | null

Body

application/json

Request model for base product CSV upload.

csv_content
string
required

CSV content as string

batch_size
integer
default:25

Batch size for processing (1-50)

Required range: 1 <= x <= 50
enrich_product
boolean
default:true

Run AI enrichment (description, features, attributes)

merge_only_provided
boolean
default:false

When True, for each existing product overlay ONLY the columns present in the CSV onto the latest version, preserving all other fields. New products are created normally. Ignored when enrichment is requested.

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 batch product creation.

created
integer
required

Number successfully created

failed
integer
required

Number that failed

total
integer
required

Total products submitted

errors
Errors · object[]

List of errors

job_id
string | null

Job ID for tracking batch progress

skipped
integer
default:0

Number unchanged (no new version created)

variants_created
integer
default:0

Number of variants created/updated from variant rows