Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /accounts/{accountId}/catalogs | Create a catalog request to generate a new catalog for Brand account |
| POST | /accounts/{accountId}/catalogs/sellers | Create a catalog request to generate a new catalog for Seller account |
| GET | /catalogs/{catalogId}/status | Retrieve the status of a specific catalog request. |
| GET | /catalogs/{catalogId}/output | Download the output of a specific catalog once it’s ready. |
Catalog Creation Request Attributes (for Brand accounts)
| Attribute | Data Type | Description |
|---|---|---|
format | enum | Format of the catalog data returnedAccepted values: json-newline Default: json-newline Writeable? N / Nullable? Y |
brandIdFilter | list<string> | Brand ID(s) used to filter down catalog results based on specified brandsAccepted values: list of string/int64 Writeable? N / Nullable? N |
Catalog Creation Request Attributes (for Seller accounts)
| Attribute | Data Type | Description |
|---|---|---|
sellers | list<object> | List of required seller pairs retailerId and sellerId associated with the catalog to be generatedParameters:- retailerId: Retailer ID, generated internally by Criteo |
sellerId: seller ID in the respective retailer’s catalog, used to filter down catalog products |
Catalog Status Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
id | string | ID of the catalog creation request, to be used to retrieve its status and output (using other endpoints below - async)Accepted values: string of int64 Writeable? N / Nullable? N |
status | enum | Possible status of respective catalog creationAccepted values: pending, success, failure, expired, unknown Default: pending Writeable? N / Nullable? N |
currency | enum | Currency of the products in the catalogAccepted values: 3-chars currency code (in ISO-4217 ; e.g. USD, EUR) Writeable? N / Nullable? Y |
rowCount | integer | Number of products available in the catalog (available when reach success status)Accepted values: int32 Writeable? N / Nullable? Y |
fileSizeBytes | integer | File size of catalog, in bytes (available when reach success status)Accepted values: int32 Writeable? N / Nullable? Y |
md5Checksum | string | MD5 checksum of catalog’s content (available when reach success status)Accepted values: 32-char alpha-numeric strings Writeable? N / Nullable? Y |
createdAt | timestamp | Timestamp of catalog creation, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm(in ISO-8601) Writeable? N / Nullable? N |
message | string | Optional informative message, for developer consumptionAccepted values: string Writeable? N / Nullable? Y |
Catalog Output Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
id | string | Product ID, defined by the retailerAccepted values: up to 500-chars string Writeable? N / Nullable? N |
name | string | Product name, defined by the retailerAccepted values: up to 1000-chars string Writeable? N / Nullable? N |
category | string | Product category, defined by the retailerAccepted values: up to 1000-chars string Writeable? N / Nullable? Y |
brandName | string | Brand name of the product; brands are standardized across retailersAccepted values: up to 120-chars string Writeable? N / Nullable? Y |
retailerId | string | Retailer ID that contains the product offerAccepted values: string of int64 Writeable? N / Nullable? N |
retailerName | string | Retailer name that contains the product offerAccepted values: up to 100-chars string Writeable? N / Nullable? N |
price | decimal | Current product price in the respective retailerAccepted values: price ≥ 0.0 Writeable? N / Nullable? Y |
isInStock | boolean | Flag defining if product is currently in stock or notAccepted values: true, false Writeable? N / Nullable? N |
minBid | decimal | Minimum Cost-Per-Click (CPC) an advertiser must bid for the product, established by the retailer Any Line Item with this product must have its targetBid satisfying this valueAccepted values: minBid > 0.0 Writeable? N / Nullable? Y |
gtin | string | Global Trade Item Number (GTIN), if available; also known as European Article Number (EAN) or Universal Product Code (UPC)Accepted values: up to 14-chars numeric string Writeable? N / Nullable? Y |
mpn | string | Manufacturer Part Number (MPN), if availableAccepted values: up to 70-chars string Writeable? N / Nullable? Y |
imageUrl | string | HTTP URL of the product image provided by the retailerAccepted values: string Writeable? N / Nullable? N |
updatedAt | timestamp | Timestamp of last product info update in retailer’s catalog, in UTCAccepted values: yyyy-mm-ddThh:mm:ss±hh:mm(in ISO-8601 ) Writeable? N / Nullable? N |
Catalog Asynchronous Workflow: Step 1 of 3
- Create a request for the latest catalog of the specified account using the appropriate endpoint.
- This action generates a
catalogIdthat represents the account’s catalog. - Catalog requests are cached for 1 hour, meaning repeated requests within this timeframe will return the same
catalogIdand output.
Create a Catalog Request for Brand account
This endpoint creates a request for the latest available catalog for a specific accountBest Practice Tip!To speed up catalog downloads, you can narrow down the results by using the
brandIdFilter body parameter. This allows you to filter the catalog by specific brands, helping to return results faster.Catalog Asynchronous Workflow: Step 2 of 3After generating a
catalogId, use it to poll the catalog status endpoint to check the progress. Continue polling until the catalog is successfully created and ready for download.Create a Catalog Request for Seller account
This endpoint creates catalog for a particular Seller account: Sample RequestGet Status of a Specific Catalog
This endpoint retrieves the status of a specific catalog. Status can bepending, success, failure, or expired
Sample Request
Catalog Asynchronous Workflow: Step 3 of 3Once the catalog is successfully created, use the catalog output endpoint to download the collection of catalog products. Note that catalog outputs are typically available for 72 hours before they expire, so be sure to download them within this time frame.
Download Output of a Specific Catalog
This endpoint returns the products in a specific catalog as a newline-delimited JSON byte stream Sample RequestResponses
| Response | Description |
|---|---|
🟢200 | Success |
🔴400 | The indicated catalog is not available for retrieval, wait for a success status |
🔴403 | API user does not have the authorization to make requests to the account ID. For an authorization request, follow theauthorization requeststeps |