PrestaShop
DSTNC can fully automate inventory updates and order routing with PrestaShop. To connect your PrestaShop account, please follow the instructions below.
Last updated
DSTNC can fully automate inventory updates and order routing with PrestaShop. To connect your PrestaShop account, please follow the instructions below.
Last updated
By default, the webservice feature is disabled on PrestaShop and needs to be switched on before the first use.
Via the user interface, go to the PrestaShop back office, open the “Web service” page under the “Advanced Parameters” menu, and then choose “Yes” for the “Enable PrestaShop Webservice” option.
Pulling in your product catalog and syncing inventory updates, such as pricing, stock levels, and description, your will need to provide the following:
Store domain
Store URL: You can find the correct store URL by clicking on “View my store” in your PrestaShop account and copying the URL from the top.
API key: To generate an API key, you will need to navigate to Advanced Parameters > Webservice > Add new webservice key in your account.
Click “Generate” next to key. This will generate a specific key.
Note!
Before saving, you will need to allow this set of permissions: addresses (add, view), carts (add, view) categories (view) combinations (view) countries (view) customers (add, view) images (view) orders (add, view) order_carriers (view) order_states (view) product_option_values (view) product_options (view) products (view) specific_prices (view) states (view) stock_availables (view) tags (view) tax_rules (view) taxes (view) weight_ranges (view)
Once the permissions have been set, you can click save and copy the API key.
If you have Multi Store enabled, you will need to provide the store ID, which can be found in Advanced parameters > Multistores.
Also, if the store is hosted in a subdirectory, Api path will need to be configured as /subdirectory/api where subdirectory is the folder where Prestashop is installed.
Setting up automatic order routing means that you will be able to view and fulfill orders coming from DSTNC directly from your own PrestaShop store. To enable this, you will need to provide the following:
API path: (optional)
API key: This is the same key that was generated for the inventory sync, that was described in the section above.
Language: To find the language ID, you will need to navigate to International under the Improve section > Localization > Languages. The number displayed under the ID column of the preferred language is the one needed .
Currency: The currency ID can also be found under International > Localization > Currencies. When clicking into the preferred currency, the URL will display a section, such as “currencies/
1
/edit?...
”; the number (in this case 1), is the ID needed.
Carriers: To find the carrier ID, you will need to navigate to Shipping > Carrier under the Improve section, and the ID number displayed next to the preferred carrier is the one needed.
Shop: if you have multistore disabled in your account (Shop parameters > General), enter 1 in this field. If you have it enabled, you will need to provide the store ID, that can be found in Advanced parameters > Multistores.
Shop group: Enter 1 here.
Order status: Order status ID can be found under Shop parameters > Order settings > Statuses. The ID number of the preferred status is needed.
Payment module: The payment module can be found by going to Payment > Payment methods and clicking on “Configure” next to the preferred method. The URL will display a section such as “ps_checkpayment
”, this is what needs to be copied.
Payment message: (Optional)