cancel
Showing results for 
Search instead for 
Did you mean: 

Did Magento REST API is available for Community Edition??

SOLVED

Did Magento REST API is available for Community Edition??

 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

6 REPLIES

Re: Did Magento REST API is available for Community Edition??

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.

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Did Magento REST API is available for Community Edition??

Yes Magento Community Edition will support REST API.

 

You can check link for all rest api strucuture from below link,

REST Api

 

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.

 

If Issue Solved, Click Kudos/Accept As solutions.

Re: Did Magento REST API is available for Community Edition??

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?? 

Re: Did Magento REST API is available for Community Edition??

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

Re: Did Magento REST API is available for Community Edition??

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
  }

 

 

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Did Magento REST API is available for Community Edition??

Hi @Damian Culotta

 

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