Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binshops/prestashop-rest
PrestaShop REST API module to expose your PrestaShop website's REST endpoints
https://github.com/binshops/prestashop-rest
ecommerce-api prestashop prestashop-api prestashop-integration prestashop-rest prestashop-rest-api shopping-api
Last synced: 5 days ago
JSON representation
PrestaShop REST API module to expose your PrestaShop website's REST endpoints
- Host: GitHub
- URL: https://github.com/binshops/prestashop-rest
- Owner: binshops
- License: afl-3.0
- Created: 2020-01-22T12:21:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-23T13:17:39.000Z (4 months ago)
- Last Synced: 2025-01-12T12:17:01.300Z (12 days ago)
- Topics: ecommerce-api, prestashop, prestashop-api, prestashop-integration, prestashop-rest, prestashop-rest-api, shopping-api
- Language: PHP
- Homepage: https://www.binshops.com/prestashop-api
- Size: 726 KB
- Stars: 97
- Watchers: 12
- Forks: 33
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://addons.prestashop.com/en/website-performance/52062-rest-api-pro-version-with-fast-api-caching.html)
Compatible with PrestaShop 8.x, Annotation-based API routing support, and many admin APIs and full front APIs.Latest release v5.4.0 (Jan, 2025)
## [Free Version v2.5](https://www.binshops.com/prestashop-api)
For demo and testing, not recommended for production.## The products that use this REST API
# [Headless Commerce](https://www.binshops.com/blog/why-headless-commerce)
This module helps you to build Headless applications based on PrestaShop platform. You can read [this article](https://www.binshops.com/blog/why-headless-commerce) 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.
```php
/**
* @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.- ps_mainmenu (Native Ps Menu module)
- ps_featuredproducts (Native Ps Featured Products module)
- ps_facetedsearch (Native Ps Faceted Search module)
- productcomments (Native Ps Product Comments module)
- ps_banner (Native Ps Banner module)
- ps_imageslider (Native Ps Image slider module)
- ps_wirepayment (Native Ps Bankwire module)
- ps_checkpayment (Native Ps Pay by Check module)
- blockwishlist (Native Ps Wishlist module)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](https://www.binshops.com/prestashop-api#request-custom-api)