Skip to main content
POST
/
api
/
products
/
import-from-crawl
Import From Crawl
curl --request POST \
  --url https://api.merchantops.ai/api/products/import-from-crawl \
  --header 'Content-Type: application/json' \
  --data '
{
  "discovery_job_id": "<string>",
  "enrich_product": true,
  "scrape_brand_site": true,
  "search_lakehouse": true,
  "selected_urls": [
    "<string>"
  ]
}
'
{
  "discovery_job_id": "<string>",
  "import_job_id": "<string>",
  "message": "<string>",
  "urls_to_import": 123
}

Headers

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

Cookies

stytch_session
string | null

Body

application/json

Request model for importing selected URLs as products.

discovery_job_id
string
required

The discovery job ID

enrich_product
boolean
default:true

Run AI enrichment after import

scrape_brand_site
boolean
default:true

Scrape brand site during enrichment

search_lakehouse
boolean
default:true

Search lakehouse for existing data

selected_urls
string[] | null

List of URLs to import (if None, uses all selected)

Response

Successful Response

Response model for import from crawl.

discovery_job_id
string
required

Original discovery job ID

import_job_id
string
required

New import/enrichment job ID

message
string
required

Status message

urls_to_import
integer
required

Number of URLs queued for import