WHICH API DO I USE TO LIST CATALOGS (Products)

Does anyone know of an API where I can get the complete list of Catalogs?

Hi @FranciscoScore, you have a few endpoints for that and can use them in different ways.

Check out the article: Catalog API

Through this link Catalog API you can also get a general overview.

Hope it helps.

If it worked for you, mark it as the answer to support others in the community.

Cheers,
Four2one Team

Within those I didn’t find any that returns the complete table

catalog_system/pvt/sku/stockkeepingunitids?page=1&pagesize=1000 in this case, it only returns the ids.

This way I need to make a call to another API to get the details.
I wanted one that would bring everything

@FranciscoScore try using the search API.

https://developers.vtex.com/docs/api-reference/search-api#get-/api/catalog_system/pub/products/search/-search-

You might be able to pull all the products, or by using some parameter Legacy Search API

There’s no API to fetch everything at once, likely due to infrastructure and security reasons.

Hope this helps.

Cheers.

Hi Francisco,

As mentioned by the Four2One team, there is no request that returns the entire catalog. Such a request would require an excessive flow of information.

My recommendation would be to use the search API, as shared above, or to set up a runner for the Catalog APIs to retrieve information individually.

Another method that could be used, and which is more suitable for collecting information as you need, would be exporting the catalog via spreadsheet.

Eduardo Luciano
Field Software Engineer | VTEX