cancel
Showing results for 
Search instead for 
Did you mean: 

REST API Get all Products

SOLVED

REST API Get all Products

HI Team,

 

I'm new magento integrations. Can someone guide me to retrieve all the products in the store using REST API. How to construct the header and query to get the data.

 

Thanks in Advance...!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: REST API Get all Products

@harish_padala Use this for better info - https://devdocs.magento.com/swagger/

List of Reat API's - https://devdocs.magento.com/guides/v2.0/rest/list.html

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

View solution in original post

5 REPLIES 5

Re: REST API Get all Products

@harish_padala Use this for better info - https://devdocs.magento.com/swagger/

List of Reat API's - https://devdocs.magento.com/guides/v2.0/rest/list.html

-
Magento Programmer | Was my answer helpful? You can accept it as a solution.

Re: REST API Get all Products

As of now I  tried all the possibilities to get all the product data but I was not able to get ,

This is bug in magento2.3.0 as I am get individual product data and all other data, but in the case of all the product fetch the REST API method is not applicable

 

 

 

 

Re: REST API Get all Products

Hi @harish_padala ,

 

You can use magento default API, The API available from Magento V 2.2.x onwards.

 

URL: {{magento_base_url}}rest/V1/products-render-info
Method: GET

 

Params to pass:
searchCriteria[pageSize] = 10 {{ set limit of record to load per page }}
searchCriteria[currentPage] = 1 {{ Page No }}
storeId = {{Store Id of the store which you want to retrive}}
currencyCode = {{Your store currency code}}

 

Hope it helps!

 

if issue solved, Click Kudos & Accept as Solution.

Re: REST API Get all Products

If want all products use like this

 

searchCriteria[pageSize] = 0

Re: REST API Get all Products

Hi!

You can also try to use API2Cart solution for getting all Magento product data.

It provides product.list API method that allows getting the list of products with all the details like price, description, quantity, etc., from the store based on Magento.