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...!
Solved! Go to Solution.
@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
@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
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
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.
If want all products use like this
searchCriteria[pageSize] = 0
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.