Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Chapter 1 - Introduction: Creating Access to Back Office
Chapter 2 - Discovery: Testing access to the web service with the browser
Chapter 3 - First steps: Access the Web service and list client
Chapter 3.1 - Access the web service through the bookstore
Chapter 3.2 - Handling errors
Chapter 3.3 - List clients
Chapter 4 - Retrieve Data: Retrieving a client
Chapter 5 - Modification: Update client
Chapter 6 - Creation: Remote Online Form
Chapter 7 - Removal: Remove customer accounts from the database
Chapter 8 - Advanced Use

Files

Download the PDF Version of this tutorial.

A handy reminder of the concepts outlined in this tutorial, download the cheat-sheet.

Examples files

Attachments
oldtrue
patterns0-CustomersList.php,1-Retrieve.php,2-Update.php,3-Create.php,4-Delete.php

Web service library

Attachments
oldtrue
patternsPSWebServiceLibrary.php

Implementations

  • Manage your PrestaShop website through Open ERP: Prestashop OpenERP Connector by Akretion & CampToCamp (GNU Affero GPLv3)
  • A Scala library to access the PrestaShop web service: prestasac by Alex Dean (GNU Affero GPLv3)
  • A Python library to access the PrestaShop web service: prestapyt by Guewen Baconnier (GNU Affero GPLv3)

Files

Web service library

The latest version of the PSWebServiceLibrary.php file can be found on our code repository: https://github.com/PrestaShop/PrestaShop-webservice-lib/blob/master/PSWebServiceLibrary.php
To download the file:

  1. Click here to view the raw file: https://raw.github.com/PrestaShop/PrestaShop-webservice-lib/master/PSWebServiceLibrary.php
  2. Copy/paste the file into an empty text local file, using for instance Notepad.
  3. Save the file as PSWebServiceLibrary.php

You can also directly download a zip archive of all the files in this repository, including the example files, by clicking here: https://github.com/PrestaShop/PrestaShop-webservice-lib/archive/master.zip

Examples files

All the example files can be found on our code repository: https://github.com/PrestaShop/PrestaShop-webservice-lib/tree/master/examples