Overview
Integrate with Prestashop to import your orders and create shipment labels.
The integration can also write back tracking information to these orders after printing your shipment labels.
1. Create webservice access in PrestaShop
Enable PrestaShop's webservice
- Log in to your PrestaShop admin account.
- Under Configure, select Advanced Parameters, then select Webservice.
- Toggle Enable PrestaShop's webservice to YES, then click Save.
Create a new webservice account
- In the top right, click Add new webservice key.
- Click Generate! to generate a new key.
- For the resources listed in the table below, select the appropriate attribute: View (GET) or Modify (PUT). These are the necessary permissions required to import and update orders for the purpose of shipping.
- Click Save.
Resource |
View(Get) |
Modify(Put) |
Add(Post) |
Delete(Post) |
orders |
X |
X | ||
order_carriers |
X |
X | ||
currencies |
X |
|||
countries |
X | |||
states |
X | |||
carriers |
X | |||
order_details |
X | |||
customers |
X | |||
addresses |
X | |||
messages |
X |
2. Add your webservice in DHL Express Commerce
- In your DHL Express Commerce account, go to Settings, then select Integrations.
- Click Add a new integration, and select PrestaShop from the list.
- Select the Enable PrestaShop checkbox.
- Enter your PrestaShop Store URL.
- Copy and paste the webservice key from your PrestaShop admin page.
- Fill in other details as required.
- Click Save.
3. Map your courier to the PrestaShop courier ID
To enable order write-back, you'll need to map the couriers in your DHL Express Commerce account to the courier ID in PrestaShop. To do this:
- Go to the PrestaShop settings page Settings > Integrations > PrestaShop.
- Click Add a new mapping.
- Enter the associated carrier ID from PrestaShop to the courier in DHL Express Commerce.
You can find the PrestaShop ID in your PrestaShop admin account > Shipping > Carriers. - Click Save, then click the tick icon to confirm.
4. Specify the status to import
You can specify the status of the order to be imported. Go to your PrestaShop settings page and enter the status number in the Status to Import field. Add multiple statuses by separating them with a semicolon.
The most common statuses are:
- 3 = Processing
- 4 = Shipped
You can find a list of the different status IDs in your PrestaShop account:
- PrestaShop v1.6.x - Orders > Statuses.
- PrestaShop v1.7.x - Shop Parameters > Order Settings > Statuses.
Latest supported version:
- 1.7.0 - 8.2
What's Next?
You can set up live rates at checkout for in PrestaShop.