View Categories

Prestashop

1 min read

This is how to set up a Prestashop seller account for AtomicSeller:

Store name: This is the full name of the store used only in user interface.

Store key: This is the main identifier of the store essential when using webservices.

Merchant key: This is the main identifier of the merchant (Optional except if you have multiple stores and multiple merchants)

Store API URL: This is the store path (NOT followed by “/api”)

Prestashop API Token: This is the API key. 

How to create API access to the webservice and get credentials ? 

  1. By default, the webservice feature is disabled on PrestaShop and needs to be switched on before the first use. Go in the PrestaShop back office, open the “Web service” page under the “Advanced Parameters” menu, and then choose “Yes” for the “Enable PrestaShop Webservice” option.
  2. Then, create an access key via the user interface: Open the “Webservice” page under the “Advanced Parameters” menu, and then click the “Add new webservice key” button to access the account configuration section.

Please find the informations from the prestashop documentation:

https://devdocs.prestashop.com/1.7/webservice/tutorials/creating-access

1 – Enable the Webservice vis the user interface

Go in the PrestaShop back office, open the “Web service” page under the “Advanced Parameters” menu, and then choose “Yes” for the “Enable PrestaShop Webservice” option.

2 – Enable access rights

Enable all columns Get Put and Post.

Troubleshooting:

NB: You may have this error message:

[PHP Warning #2] count(): Parameter must be an array or an object that implements Countable

In that case, it is suggested to downgrade from PHP 7.2 to PHP 7.0

More explanations here:

https://github.com/yiisoft/yii/issues/4167#:~:text=count%28%29%3A%20Parameter%20must%20be%20an%20array%20or%20an,many%20places%20so%20code%20needs%20to%20be%20adjusted.

Powered by BetterDocs