How to get a list of all products

How to get a list of all products ? Not product ids, but a list of all products in catalog.

You can export.

Or use this api Product
to get the ids and use this api Product
to get the product information

1 Like

Thnak you!
I am interested in getting a list of products through API. And I thought there’s an API endpoint for this.
So the only way to do this is to get first the ids of products and then using another method, get the product information ?

Do you need only active products or all products?

All products.

Thnak you!
I am interested in getting a list of products through API. And I thought there’s an API endpoint for this.
So the only way to do this is to get first the ids of products and then using another method, get the product information ?

:confused: in this case you need follow with this approach.

And if it would be to take only active products, what approach would fit?
It would be nice though to have the possibility to get a paginated list of all products.

You can use the search API.

In this case, the API will return only the salable products.

https://developers.vtex.com/vtex-rest-api/reference/search-3#productsearchfilteredandordered

1 Like