简体   繁体   中英

Magento REST API details or swagger doc

How to find the correct json schema to post to the magento endpoint and create an account?

Am able to create account only from the front end, I need to be able to do from the backend using curl or Postman.

http://{ipaddress}/index.php/customer/account/create/

This is an external api , i need to consume.

I want to post to this end point from java, however am not able to find the correct request schema of the json endpoint.

Any help to find the swagger end point or schema would be great

I am assuming you are talking about magento 1? Have you tried the REST API by chance? It's well written out on how you should make a call to it here .

If you need more functionality than just creating an account, you can also take a look at the SOAP API which handles more things, but does not support JSON from the box. They did implement the WS-I complaint mode to support Java calls, so maybe that's something you'd be interested in as well.

Good luck!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM