Submit a PDP by Amazon ASIN
Trigger Vizit's scrape-and-score pipeline for an Amazon ASIN.
/v1/pdps/asin/{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, 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
(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.
Authorization
bearerAuth Short-lived access token issued by Create a token.
Send it on every request as Authorization: Bearer <token>.
In: header
Path Parameters
Amazon Standard Identification Number — 10 characters, uppercase
letters and digits only. Validated at the router; a mismatch
returns 400 INVALID_ASIN before any retailer call is made.
^[A-Z0-9]{10}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Amazon storefront region (e.g., us, uk, de, ca). Combined
with amazon server-side to resolve the storefront. Unknown
values return 400 INVALID_REGION.
"us"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://ext.vizit.com/v1/pdps/asin/B07XVTRJKX" \ -H "Content-Type: application/json" \ -d '{}'{ "asin": "B07XVTRJKX", "region": "us", "pdp_id": "2ed2d86b-85b6-49b8-bfaf-11ce19f11301", "status": "PROCESSING", "score_url": "/v1/pdps/asin/B07XVTRJKX?region=us"}{ "asin": "B07XVTRJKX", "region": "us", "pdp_id": "2ed2d86b-85b6-49b8-bfaf-11ce19f11301", "status": "PROCESSING", "score_url": "/v1/pdps/asin/B07XVTRJKX?region=us"}{ "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"}{ "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"}{ "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"}GETRetrieve PDP scores by ASIN
Returns the current scores and processing state for a PDP submitted via [Submit a PDP by ASIN](/api/product-details/upsertPdpByAsin). Poll until `status` reaches a terminal `COMPLETED` or `ERROR`. While `status` is `PROCESSING`, including during a refresh, the score fields are `null` until the new scores land. `score_method` tells you whether `pdp_score` is a `FORMULA` score, broken down in `score_breakdown`, or a `LEGACY` score. See [How the score is computed](/guides/how-the-score-is-computed) for how to read the breakdown. Use the optional `region` query parameter to disambiguate between regional storefronts when the same ASIN has been ingested under multiple regions in your organization. The `score_url` returned by the PUT response already includes this parameter.
POSTBulk import products
Creates 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](/api/pdps/getBulkImportStatus) until `status` is `COMPLETED`. Rate limited to one bulk import per minute per organization.