Skip to main content
This guide walks through the Product Importer API: submit a batch of product upserts or deletes, retrieve the ingestion report to verify results, then check the merchant catalog statistics. By the end, you will have product data live in Criteo’s catalog, confirmed through the ingestion summary and the catalog statistics.

Prerequisites

  • Auth scope: MarketingSolutions_Catalog_Manage (upload), MarketingSolutions_Catalog_Read (report and statistics) — see Authentication
  • Merchant ID: the identifier of the merchant whose catalog you are updating — obtainable from your Criteo account team
  • Product data: a list of products to upsert or delete, each identified by a unique id

Steps

1. Submit a product batch

→ POST /2027-01/marketing-solutions/catalog/products/batch Send an entries array. Each entry must include a merchantId and a method (insert or delete). For an insert, add a product object with the catalog fields. Required product fields are id, title, link, imageLink and availability (in_stock, out_of_stock, preorder or backorder). For a delete, set productId on the entry to the id of the product to remove.
The response returns the ingestion identifier in data.id. Save this value — it is the id used in the next step.
Do not send multiple updates of the same product in a single batch — the batch will be rejected. Only send entries for products whose data has actually changed.
Products that are not updated expire after 30 days. Use the expirationDate field to extend the lifespan up to one year.

2. Retrieve the batch report

→ GET /2027-01/marketing-solutions/catalog/products/batch/report/{id} Poll using the id from step 1. Returns the ingestion status and product counts.
Counts (numberOfProducts*) are JSON numbers. Retry with backoff while data.attributes.status is accepted or inProgress. Stop when it reaches validated, validatedWithErrors, or failed. The report is available for 4 days.
validatedWithErrors is a terminal state — some products were rejected but the remainder were accepted. The top-level errors[] array contains per-product details: code, title, detail, type ("validation" for a product data issue, "unknown" for a service failure), traceId, instance, and source.productId. Both errors[] and warnings[] are omitted when empty.

3. Check the merchant catalog statistics

→ GET /2027-01/marketing-solutions/catalog/stats/merchants/{merchant-id} Once your batches are processed, check the state of the whole merchant catalog. Set the time window with last-number-of-hours: from 1 to 1000, 24 by default.
data.attributes.records[] contains one record per time bucket of the requested window. All counters are JSON numbers:
  • added, updated, and deleted count the products changed between startDate and endDate.
  • All other counters (total, displayable, nonDisplayable, outOfStock, missing*, etc.) give the state of the catalog at endDate.
Use the missing* counters to see how many products have incomplete data.

Verify

A successful upload returns HTTP 202 with a non-empty data.id. A successful ingestion has data.attributes.status of validated. A validatedWithErrors status indicates partial success — some products were rejected. If failed, all products in the batch were rejected. A batch rejected as a whole returns HTTP 400 on upload and has no report.

Constraints

The upload is rejected immediately with HTTP 400, and no report is created, if the batch contains duplicate products, more than 1,000 products, more than one merchant, or invalid dates.

Best practices

  • Only update changed products. This API is not a feed ingestion mechanism — submit requests only for new, updated, or deleted products.
  • Send updates immediately after a change. Do not hold updates to group them into a larger batch — send them as soon as the product data changes.
  • Submit a deletion immediately when a product is removed from your store. Do not rely on the expiration date — a product approaching expiry may still be displayed even if it is no longer available.
  • Do not send multiple updates for the same product in a single batch. The upload is rejected with HTTP 400 if the batch contains duplicates.
  • Do not send updates for unchanged products, unless the product is approaching its expiration date.
  • id and itemGroupId must be different. Use id to uniquely identify a single product and itemGroupId to group products as variants.
  • itemGroupId must be outside the id range. If a product shares an id with an existing itemGroupId or vice versa, the behavior is undefined and updates may be silently ignored.