Jump to content

API with options to buy, check account and provide log in for users


Recommended Posts

I have been studying the API Web Service that Prestahop offers, but this API can only be used for manage the shop, not for the users login and buy items , check it's accounts, etc.

 

Exist some API in which you can get an access token for authentication to use in the API calls and buy items, check account state, find products, etc to use for example to make an app for the shop?

 

Thanks in advance.

Link to comment
Share on other sites

Through API you have access to almost all tables in the database, so everything you mentioned is possible, for example you have access to the product table where you can obtain information of a specific product or you can search one, you also have access to the search API.

Link to comment
Share on other sites

Through API you have access to almost all tables in the database, so everything you mentioned is possible, for example you have access to the product table where you can obtain information of a specific product or you can search one, you also have access to the search API.

 

Yes , but I can't allow to users log in to allow buy items for example and execute payments.

 

My idea is develop an app to allow user consume the store in the app like Amazon, Ebay, etc , but I want to use the api in the way that an user can log in like in the web and add products to the shopping cart and buy products, etc.

 

It's this possible??

Link to comment
Share on other sites

Maybe you are confused, each company creates APIs depending in their needs, but regarding your example to create a new order, when this happen, all the changes only happen in the database, so, if you have access to the most of tables in the database (including all about this), logically this is possible, but you need advanced knowledges programming and about PrestaShop.

The best option for this is create a module controller and generate all from here, but in whatever case you need have knowledges about this because is a delicate information and you can damage your current store.

 

Regards

Link to comment
Share on other sites

×
×
  • Create New...