binshops / prestashop-rest

PrestaShop REST API module to expose your PrestaShop website's REST endpoints
https://www.binshops.com/prestashop-api
Academic Free License v3.0
95 stars 33 forks source link
ecommerce-api prestashop prestashop-api prestashop-integration prestashop-rest prestashop-rest-api shopping-api

PrestaShop REST API Module

Easily expose REST API endpoints for your Prestashop website. No configuration needed, just install and use it.

Official Supported Version v5

Compatible with PrestaShop 8.x, Annotation-based API routing support and many admin APIs and full front APIs.

Free Version v2.5

For demo and testing, not recommended for production.

The products that use this REST API

PrestaShop PWAPrestaShop PWA PrestaShop Mobile Application PrestaShop Mobile App

Headless Commerce

This module helps you to build Headless applications based on PrestaShop platform. You can read this article to know about Headless PrestaShop and Headless Commerce, why we need it and why it matters.

Demo Link

https://rest.binshops.com/rest/bootstrap

Your API Endpoint

After installation access your API endpoints at: http://yourdomain.tld/rest.

Why we need this API module? Is not Webservice API enough?

You can get more info about this module: https://www.binshops.com/prestashop-api

Documentation

You can access full documentation for REST endpoints on Postman publisher: https://documenter.getpostman.com/view/1491681/TzkyP1UC

How to write your API?

Annotation-based API routing added in v5.

/**
* @Route("/rest/get-products", name=”products”)
*/
public function getProducts()
{
// ...
}

Required Modules

These native modules, which are already included in PrestaShop out of the box, are required to work with some endpoints.

If you need custom APIs or you want to have APIs for a third-party module, you can send your request for custom API implementation on Binshops website - Request Form