Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need step by step guidance to upload product to server using Magento 2.0 API #8317

Closed
manishpenkar opened this issue Jan 28, 2017 · 6 comments

Comments

@manishpenkar
Copy link

Preconditions

  1. I am new to Magento platform. I need to upload large number of product to website in Mangento version 2.0 using API. I have required credentials, as well as required keys with me. I have checked example on magento site, however it didn't worked for me. Could you please give me simple example using API. Step by Step guidance will be more preferable. Thanks in advance.

Steps to reproduce

Expected result

1.Magento version 2.0 API should upload products to website.

Actual result

  1. [Screenshot, logs]
@NotAndD
Copy link

NotAndD commented Jan 30, 2017

If you plan to use REST api, you can find examples of all the provided methods using swagger
http://devdocs.magento.com/swagger/

You can see there for every request, what it's expected from you to send and what you'll get back from Magento.

@manishpenkar
Copy link
Author

Thanks for your reply Andrea (ziliquas). The link you have suggested is given for Magento version 1.x, however we are using Magento version 2.0. I am still unable to get the result. I think i am missing something, about which i don't have any idea. So could please suggest some beginner level info. for e.g. How to initiate Rest API Call (i have tried Rest plugin extension for Chrome, Firefox etc ). Is this right way to call Rest API?

@NotAndD
Copy link

NotAndD commented Jan 31, 2017

Nope, the link I gave you is for magento 2.1.x or at least, if I open it, it gaves me the REST API document for the last version of magento.
Here's the documentation available for Rest API:
http://devdocs.magento.com/guides/v2.0/rest/bk-rest.html
You may also look here for some examples of uses:
http://devdocs.magento.com/guides/v2.0//get-started/gs-web-api-request.html
And stack overflow has more useful examples if you look there and search!

@manishpenkar
Copy link
Author

yes... Its for magento 2.1.x. Thank you Andrea. :)
This link looks very helpful to me. 👍

@veloraven
Copy link
Contributor

@manishpenkar thank you for your feedback.
If you want to report an issue please format this issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result.
Please, also identify which version of Magento you are running.

If you are looking for some advice or help please refer to the Community Forums or the Magento Stack Exchange site for technical questions. As GitHub issue tracker is intended for technical issues only.

@veloraven
Copy link
Contributor

According to contributor guide, tickets without response for two weeks should be closed.
If this issue still reproducible please feel free to create the new one: format new issue according to the Issue reporting guidelines: with steps to reproduce, actual result and expected result and specify Magento version.

magento-devops-reposync-svc pushed a commit that referenced this issue May 30, 2023
AC-8838: Undefined array key GND under CarrierTest Integration Test Issue resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants