PrestaShop REST Module

Download PrestaShop REST API module for free. Easily expose your endpoints.

prestashop rest module

Let's download it!

Download the PrestaShop REST Module for free.

Your REST API endpoint: http://yourdomain.tld/rest. Check list of all APIs on Postman: Postman Doc

Full Version

The full version of this module includes important endpoints like account management, address management and checkout steps. Also, in the full version, the product data is more complete (prices, and other attributes). See all of the endpoints in the full version here. To purchase full version from official PrestaShop marketplace click on full version button.

PrestaShop REST API

You may be a developer or a project manager which is looking for a way to communicate with your PrestaShop website. So you search for PrestaShop REST API or something like that, and you reach the official PrestaShop Webservice API. Let's see what it is and why you may need a REST module.

PrestaShop Webservice API

As we know PrestaShop has a Webservice API out-of-box which gives the PrestaShop websites the ability access to their shop's database through CRUD (PrestaShop Webservice API). With Webservice API you can do the four common operations on your website's data (Create, Read, Update, Delete) and it's a nice feature if you want to connect another software to your website and manage your data. You can manipulate your User Account, Orders, Products etc, through this feature. To use this feature you will need to generate a token in back-office and you give appropriate permissions to it.

So, what is the challenge? does this fulfill all of our API requirements? or do we still need something else? Suppose that you want to have a mobile application or a PWA for your PrestaShop website. The existing feature does not fulfill your requirement because:

  1. When you use Webservice API and you assign permissions to your token, handling access control will be complicated. Suppose that you grant write access for Account model to your token. So, everyone who has the token can edit any user account regardless if it's his own account or not.
  2. For example we want to add an item to our cart. Although we can add item to a cart through these APIs, but we do not know the logic behind it, and we MUST implement all of them. For example, which hooks are triggered when we add an item to cart, or any other logics which resides here.

So, we need a REST module to do all of theese.

Binshops REST API

Binshops REST Module exposes REST API endpoints for any Prestashop website. This module does not require the Prestashop's Webservices feature to be enabled. Totally free without any restriction. Available Endpoints:

  • Authentication
    • Login
    • Register
    • Logout
  • Bootstrap: to get required data for home page
    • Menu Items
    • Featured products
    • Slider
    • Banner Image
  • Cart Items
  • Add to Cart
  • Remove from Cart
  • Product Search
  • Product Detail
  • Category Products
  • Account Info

More endpoints will be added.

Youtube Video

Postman Documentation

You can access full documentation for REST endpoints on Postman publisher: Postman Doc

Code and Contribution

You can also contribute to the source code on Github. For bug report and feature request send us a message here or create a new issue on Github Issues.

Full Version