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)
format
Data Type: stringDescription: Format of the catalog data returnedValues:
json-newlinebrandIDFilter
Data Type: stringDescription: Brand(s) ids used to filter down catalog results based on specified brandsValues: int64
Catalog Creation Request Attributes (for Seller accounts)
Data Type: stringValues: int64Description: Retailer id(s) carrying the product
Data Type: stringValues: -Description: Seller id(s) in respective retailers’ catalogs, used to filter down catalog items
Catalog Status Response Attributes
id
Data Type: stringValues: int64Description: ID of the catalog creation status request
type
Data Type: stringValues:
RetailMediaCatalogStatusDescription: Type definition of the following attributes structurestatus
Data Type: stringValues: enum with possible values:
pending, success, failure, expired, unknownDescription: Status of the catalog creation requestcurrency
Data Type: stringValues:
USD, EUR, etcDescription: ISO-4217 currency of the items in the respective catalogrowCount
Data Type: integerValues: int32Description: Number of products contained in the catalog (available when creation reaches
success status)fileSizeBytes
Data Type: integerValues: int32Description: Size of catalog, in bytes (available when creation reaches
success status)md5Checksum
Data Type: stringValues: 32-char alpha-numeric stringsDescription: MD5 checksum of catalog’s content (available when creation reaches
success status)createdAt
Data Type: timestampValues: ISO-8601Description: Timestamp of the creation
message
Data Type: stringValues: -Description: Optional informative message, for developer consumption
Catalog Output Response Attributes
id
Data Type: stringValues: 500 char limitDescription: Retailer product ID, established by the retailer
name
Data Type: stringValues: 1000 char limitDescription: Retailer product name
category
Data Type: stringValues: 1000 char limitDescription: Retailer product category
brandName
Data Type: stringValues: 120 char limitDescription: Brand name of the product; names are standardized across retailers
retailerId
Data Type: stringValues: int64Description: Retailer ID carrying the product
retailerName
Data Type: stringValues: 100 char limitDescription: Retailer name carrying the product
price
Data Type: numberValues: -Description: Retailer product price in USD
isInStock
Data Type: booleanValues:
true, falseDescription: Whether or not the product is in stockminBid
Data Type: numberValues: greater than 0Description: Minimum Cost-Per-Click (CPC) an advertiser must bid for the product, established by the retailer; any line item with this product must have targetBid meet this value
gtin
Data Type: stringValues: -Description: Global Trade Item Number (GTIN), if available; also known as European Article Number (EAN) or Universal Product Code (UPC)
mpn
Data Type: stringValues: -Description: Manufacturer Part Number (MPN), if available
imageUrl
Data Type: stringValues: -Description: An http image URL provided by the retailer
updatedAt
Data Type: timestampValues: ISO-8601Description: Timestamp in UTC of last update
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 |