Available for all licenses
Introduction
In this article, you will discover all the configurations related to Prestashop, following this structure:
- Adding a new user
- Generating API keys
- Entering data on MarketRock
- Additional configuration on MarketRock
- Current functionalities
Adding a New User
Adding a new user on MarketRock is done as usual from the Prestashop menu by accessing Prestashop Settings > Users. From this section, you can create or manage the various linked users.
Setting the "Prestashop API Address" Field
When creating a new user, one of the key fields to fill in is the Prestashop API Address. To obtain this information:
- Go to Prestashop > Advanced Parameters > Webservice.
- Retrieve the API address as displayed on the page.
Generating API Keys
From the same Prestashop page, by clicking on "Add a new service key", you can create an API key that must later be entered into MarketRock. Here’s how to correctly fill in the API key creation page:
- Key: Click on the Create button to let Prestashop generate a key automatically. This is the value you will need to copy and enter into MarketRock.
- Key Description: Enter "MarketRock" to easily identify this key.
- Enable Webservice Key: Leave the option set to Yes.
- Permissions: You can select all permissions or, if you prefer to limit MarketRock’s access to certain resources, click on All and select the following entries:
- carriers, countries, currencies, customers, customizations, deliveries, order_carriers, order_details, order_histories, order_invoices, order_payments, order_states, orders, product_customization_fields, product_options, shops, states.
Entering Data on MarketRock
Once you have obtained the Prestashop API Address and API Key, enter them into MarketRock. MarketRock will automatically verify the correctness of the entered data.
- If the data is correct, the user creation window will expand, allowing you to complete the operation.
- If the data is incorrect, you will receive a red error message.
Additional Configuration on MarketRock
After passing the API verification, you need to configure two additional settings:
-
Prestashop Store: Select the Prestashop store to link to this user. This selection is necessary because multiple stores can be hosted on a single Prestashop installation. If the customer has multiple sites on Prestashop, you will need to link a different user for each site.
-
Update Carrier During Shipment: This option allows you to automatically update the carrier's name associated with the order on Prestashop when you mark an order as shipped on MarketRock.
Important: For this function to work correctly, the carrier name on MarketRock must match the one defined on Prestashop.
To verify the carriers defined on Prestashop, go to Shipping > Carriers. If there is a discrepancy between the names (for example, MarketRock has "BRT" while Prestashop has "Bartolini"), the carrier name in the Prestashop order will not be updated.
Current Functionalities
Currently, MarketRock supports:
Automatic order download from Prestashop every 10-15 minutes.
Shipping status updates from MarketRock to Prestashop.