To get your PrestaShop API Key, you should do the following:
- Access your PrestaShop admin panel
- Go to Configure → Additional Parameters → Webservice
- Click on the + (plus) icon on the top right to create a new Webservice
- Then, click on Generate key
- Under Resource, enable All in the following items according to your use case:
- customers will allow receiving customer data (i.e., retrieving and adding customers)
- groups will allow receiving group data (i.e., registered customer, guest, etc.)
- orders and order_states will allow receiving the current order state and use that state as the order’s segmentation
- currencies will allow receiving order’s currency (i.e., EUR, USD, etc.)
- addresses will allow receiving the order’s address and customer’s phone number
- shops will allow receiving shop’s data (i.e., order’s shop name, shop’s customers, and orders, in case you’ve activated multishop mode)
- Click on Save at the bottom of the page
- Then, on the Webservice area, switch Enable PrestaShop’s Webservice to YES
- Click on Save again
- Finally, you should copy the key you just generated and paste it into your PrestaShop integration at LeadsBridge
The URL and Protocol are the ones used on your PrestaShop website.
PrestaShop Common Questions
I’m using Multi-Store functionality. How can I retrieve the Customers from all my shops?
If you are using Multi-Store functionality and you want to retrieve the Customers from all your shops, you just need to add the shops Resource (with at least the “GET” permission) in the Permissions section of your Web Service configuration page.
For further information, read from PrestaShop docs.
Which modules should I activate in order to receive specific data?
If you want to receive specific values, you should activate the following modules while creating your API Key explained above in the step 5.
If you don’t enable those modules, you’ll receive an empty value on the Fields Mapping step of your bridge.
Comments
0 comments
Please sign in to leave a comment.