Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.
You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page
Postman is a powerful collaboration platform that simplifies the process of developing, testing, documenting, and sharing APIs (Application Programming Interfaces) by providing a user-friendly interface and a comprehensive set of tools.
Some example collections of Postman requests on PrestaShop Webservice are available on our repository.
Postman is available on Linux, MacOS and Windows. Please follow instructions here.
First, clone the example repository locally:
git clone [email protected]:PrestaShop/webservice-postman-examples.git
Open Postman, and choose “File > Import”. Then navigate to the cloned repository, and import a JSON
collection.
The collection will be available in the sidebar:
Click on the collection title (PrestaShop Webservice Demo Resource
), and navigate in the Variables
tab:
webservice_key
with your webservice key (set value in the CURRENT VALUE
cell).webservice_url
with your PrestaShop instance url (set value in the CURRENT VALUE
cell).Confirm the connection with the Webservice is working properly by running a request:
Select a request, and click on the Send
button.
This collection shows all CRUD actions on the Product resource:
GET
)GET
)POST
)PUT
and PATCH
)DELETE
)This collection illustrates how to create a product from A to Z with all of its relations (to Brand, Category, Manufacturer, Images, etc.)
This collection is related to the tutorial: How to extend the Webservice with a custom resource