Bulk import products
Import up to 5,000 products by item ID and retailer in a single request.
/v1/pdps/bulk-importCreates products in bulk from a list of item IDs and a retailer. All items must use the same retailer. Duplicate item IDs within the request are deduplicated. Items that already exist in your default workspace are skipped, not duplicated.
Returns 202 with a bulk_import_id that you can poll with
Get bulk import status until
status is COMPLETED.
Rate limited to one bulk import per minute per organization.
Authorization
bearerAuth Short-lived access token issued by Create a token.
Send it on every request as Authorization: Bearer <token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
List of products to import. All items must use the same retailer.
1 <= items <= 5000Response Body
application/json
application/json
application/json
curl -X POST "https://ext.vizit.com/v1/pdps/bulk-import" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "item_id": "B0BN1K7WBM", "retailer": "amazon_us" } ] }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "PROCESSING", "total_items": 0, "items_created": 0, "items_skipped": 0}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}PUTSubmit a PDP by Amazon ASIN
Submitting an ASIN runs Vizit's standard Amazon scrape-and-score pipeline server-side: ASIN lookup and validation, category inference with ICP check, retailer scrape, image ingest, and scoring. Unlike [Submit a PDP by id](/api/product-details/upsertPdpById), the caller does not supply images or a category — both are derived from the scrape. **Upsert semantics.** If a PDP already exists for this ASIN in your organization (and region), this call refreshes it — same behavior as the in-product "refresh" action. While it is `PROCESSING`, the score fields are `null` until the new scores land. The response returns immediately with a `score_url`, normally with `status: PROCESSING`. Use [Retrieve PDP scores by ASIN](/api/product-details/getPdpByAsin) (with the same `region`) to watch the scores come in. Score availability is bounded by the scrape and scoring pipeline — expect tens of seconds for typical Amazon ASINs. **Common errors.** `INVALID_ASIN` if the path parameter is not 10 uppercase alphanumeric characters; `ASIN_NOT_FOUND_AT_RETAILER` if Amazon does not return the listing; `CATEGORY_NOT_IN_ORG_ICP` if the scraped category is outside your organization's ICP; `NO_VALID_CATEGORY` if the retailer returned no usable category data.
GETGet bulk import status
Returns the current status of a bulk import. Poll this endpoint until `status` is `COMPLETED`. - `items_completed`: products that were scraped and scored successfully. - `items_errored`: products that failed during scraping or scoring. - `items_skipped`: products that already existed and were not re-imported.