Did Magento REST API is available for Community Edition?? I am unable to get all products using RESTFUL API with c#. it shows error and also help me how to find whether my magento website is community edition or Enterprise edition.
Thanks in advance
Solved! Go to Solution.
Hi @MagentoAPI,
Maybe this link helps you: http://devdocs.magento.com/guides/v2.1/rest/list.html
In your case, the url could be:
http://www.partsclick.com/rest/V1/products/[SKU]
You'll use the PUT verb and the body/payload could be something like:
"product": { "type_id": "simple", "attribute_set_id": 4, "sku": "YOUR-PRODUCT-SKU", "name": "YOUR-PRODUCT-NAME", "status": 1, "weight": 0.78, "price": 100.00 }
Hi @MagentoAPI,
Yes, Magento Open Source (formerly Magento CE). I'm not sure which version of Magento are you using but you'll find documentation and exampels for both versions.
Yes Magento Community Edition will support REST API.
You can check link for all rest api strucuture from below link,
You can check your magento version is Magento Open Source(community) or Magento Commerce(Enterprise)
Using below way,
{your-site-url}/magento_version
You have to keep magento_version as suffix in your base url.
Second way using you can check it from composer.json file at root of your project.
in second line with name key display your version of community or enterprise.
if issue resolved, click Kudos/Accept as solutions.
Hi Damian,
Thanks for your reply. i am using Magento ver. 2.0.13, i am unable to create a connection establish using C# or phython. it shows me an error. is there any version problem??
Hi Rakesh,
Thanks for your reply, its really useful.
when i post this url
http://www.partsclick.com/api/rest/products
it shows me a bad request how to test whether my API is returning output or not. kindly help, I am waiting for your valuable reply
Hi @MagentoAPI,
Maybe this link helps you: http://devdocs.magento.com/guides/v2.1/rest/list.html
In your case, the url could be:
http://www.partsclick.com/rest/V1/products/[SKU]
You'll use the PUT verb and the body/payload could be something like:
"product": { "type_id": "simple", "attribute_set_id": 4, "sku": "YOUR-PRODUCT-SKU", "name": "YOUR-PRODUCT-NAME", "status": 1, "weight": 0.78, "price": 100.00 }
Thanks alot for your valuable reply. really happy after seeing the output. Thankful for your valuable time which you spent on my post.
Thanks
Ajithnath