Vizit Public APIAPI
Product Details

Get bulk import status

Poll the progress and outcome of a bulk import.

GET/v1/pdps/bulk-import/{bulk_import_id}

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.

Authorization

bearerAuth
Authorization<token>

Short-lived access token issued by Create a token. Send it on every request as Authorization: Bearer <token>.

In: header

Path Parameters

bulk_import_id*string

The id returned by the bulk import request.

Formatuuid

Response Body

application/json

application/json

curl -X GET "https://ext.vizit.com/v1/pdps/bulk-import/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "PROCESSING",  "total_items": 0,  "items_created": 0,  "items_skipped": 0,  "items_completed": 0,  "items_errored": 0,  "created_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z"}
Empty
{  "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"}

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.

POSTCreate a bulk export job

Queues an asynchronous bulk export for the caller's organization. The response returns immediately with `status: PROCESSING` and a `status_url` pointing at [Retrieve an export](/api/exports/getExport); poll there until `status` reaches `COMPLETED` to obtain the short-lived presigned download URL. Org scope is enforced by the access token; the optional `filters` block narrows within the org. Each caller is limited to one in-flight `PROCESSING` export at a time — additional submissions return `409 EXPORT_CONCURRENCY_LIMIT`. ## CSV format Exports are CSV in v1 (JSONL and Parquet deferred to v2). The header row is fixed per `subject`. New columns are appended after the existing ones; read columns by header name, not position. `subject=images` exports also include images you submitted through the API that are not currently on a PDP, such as images scored on their own with [Submit an image for scoring](/api/images/scoreImage) or images no longer linked to any PDP. Each such image gets one row, after all PDP image rows. ### `subject=pdps` column set | Column | Type | Notes | | --- | --- | --- | | `pdp_id` | uuid | PDP identifier; stable across refreshes | | `portfolio_id` | uuid | Owning portfolio | | `retailer_region` | string | e.g. `amazon_us`, `walmart_us`, or `us_composite_us` for PDPs submitted for another retailer | | `item_id` | string | ASIN or GTIN, depending on retailer. A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula | | `name` | string \| null | PDP display name. A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value | | `brand` | string \| null | A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value | | `category_id` | uuid \| null | Vizit category identifier | | `category` | string \| null | Category display name. A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula | | `listing_score` | int \| null | 0–100, resolved per org; empty when the score is withheld (see `withheld_reason`) | | `score_penalty` | bool \| null | `True` if any penalty applied, otherwise `False`. Empty on FORMULA rows and before the PDP is scored | | `image_count_penalty` | bool \| null | `True` when this penalty lowered the listing score, otherwise `False`; the same value as `image_count_penalty` on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored | | `image_mix_penalty` | bool \| null | `True` when this penalty lowered the listing score, otherwise `False`; the same value as `image_mix_penalty` on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored | | `image_order_penalty` | bool \| null | `True` when this penalty lowered the listing score, otherwise `False`; the same value as `image_order_penalty` on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored | | `high_scoring_asset_count` | int \| null | | | `is_ideal_content_mix` | bool \| null | | | `images_matching_ideal_mix` | int \| null | | | `score_status` | string | `CREATED`, `PROCESSING`, `SCORED`, `CATEGORY_NOT_FOUND`, or `FAILED` (scoring did not complete after a retry; refresh the PDP to try again) | | `created_at` | date-time | | | `updated_at` | date-time | | | `last_refreshed` | date-time \| null | When a retailer refresh last found a change to the hero image, carousel, price or rating. Empty until Vizit refreshes the PDP from the retailer, including for PDPs you submit through the API | | `shopper_clarity_status` | string \| null | `PASS`, `REVIEW`, or `FAIL` for the hero image; empty while unscored | | `image_quality_status` | string \| null | `PASS`, `REVIEW`, or `FAIL` for the hero image; empty while unscored | | `composition_status` | string \| null | `HIGH`, `MEDIUM`, or `LOW` for the hero image; empty while unscored | | `product_staging_status` | string \| null | `HIGH`, `MEDIUM`, or `LOW` for the hero image; empty while unscored | | `score_method` | string | `FORMULA` or `LEGACY`: how `listing_score` was computed | | `scoring_version` | string \| null | Version of the scoring rules behind a FORMULA score; empty for LEGACY rows and when the component breakdown isn't available | | `hero_utility` | int \| null | Hero component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available | | `carousel_utility` | int \| null | Carousel component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available | | `order_utility` | int \| null | Order component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available | | `image_count_utility` | int \| null | Image count component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available | | `asset_mix_utility` | int \| null | Asset mix component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available | | `formula_version` | date \| null | Date the scoring weights behind a FORMULA score took effect; empty for LEGACY rows and when the component breakdown isn't available | | `withheld_reason` | string \| null | Why the score was withheld (same codes as `withheld_reason` on the PDP score endpoints); empty unless `listing_score` is withheld | | `planned_retailer` | string \| null | Planned retailer of a PDP submitted for another retailer (`retailer_region` `us_composite_us`); empty for Amazon and Walmart PDPs. A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value | ### `subject=images` column set Rows for images not on a PDP leave `pdp_id`, `retailer_region`, `item_id`, and `position` empty. `vizit_score` is filled the same way on every row. | Column | Type | Notes | | --- | --- | --- | | `image_id` | uuid | | | `pdp_id` | uuid \| null | Parent PDP; empty for images not on a PDP | | `portfolio_id` | uuid | Owning portfolio | | `retailer_region` | string \| null | Retailer region of the parent PDP; empty for images not on a PDP | | `item_id` | string \| null | ASIN or GTIN of the parent PDP; empty for images not on a PDP. A value starting with `=`, `+`, `-`, `@`, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading `'` so a spreadsheet does not run it as a formula | | `image_type` | string | `hero` or `carousel` | | `image_url` | string \| null | The image URL you submitted; empty when no submitted URL is on record, such as for images Vizit collected from the retailer, images scored on their own before Vizit began keeping their URLs, and URLs longer than 2,048 characters | | `position` | int \| null | `0` for the hero image, 1-based for carousel images; empty when the image is not the PDP's current hero or in its carousel, which includes every image not on a PDP | | `source` | string | How the image reached Vizit, e.g. `scraped`; `public_api` for images you submitted through the API | | `vizit_score` | float \| null | The score the Vizit platform shows for this image, 0–100; the same value as `vizit_score` on [Retrieve an image score](/api/images/getImageScore). Empty while the image is still processing, when scoring timed out, when the image was omitted from scoring, or when a hero image has no hero score | | `classification` | string \| null | The label the Vizit platform shows for this image, e.g. `Lifestyle`, `Alternate Product Views`; the same value as `classification` on [Retrieve an image score](/api/images/getImageScore). Empty while the image is still processing or when scoring timed out | | `created_at` | date-time | | | `updated_at` | date-time | | | `scored_at` | date-time \| null | When the image was last updated, including its latest scoring |