Integrating your Voila Account on Peoplevox
Overview
This document provides step-by-step instructions for integrating your Voila account with Peoplevox.
Courier Integration Setup from Peoplevox to Voila
3 Phases:
This process involves integrating a courier service in Peoplevox, utilising Voila as the intermediary. It consists of three main phases:
- Peoplevox Courier Integration Setup: Configuring the courier connection within Peoplevox to point to Voila.
- Voila Configuration: Setting up the corresponding connection and processing rules within Voila.
- Key Linking: Establishing the secure communication link between Peoplevox and Voila.
Detailed Steps:
Prerequisites:
- Access to a Peoplevox account.
- An API user account within Voila.
- An API token for the API user within Voila.
Integration Process:
- Generate a Secure Key:
- Use a random key generator (e.g., Randomkeygen.com) to create a unique and secure key.
- Peoplevox Configuration:
- Utilise the generated key during the courier integration setup within Peoplevox.
- Voila Configuration:
- Enter the same generated key into the appropriate linking configuration section within Voila.
Note: Ensuring the same key is used in both Peoplevox and Voila is crucial for establishing a successful connection.
Setting Up a Courier API in Peoplevox:
To integrate a new courier service via API, follow these steps:
Setting up linking to Voila
Provide Voila with
Generate a random Pairing Key: Randomkeygen.com
Provide Voila with :
Generate a random Pairing Key:
Populate the below with Live customer details
{
"peoplevox_authorization_header": "12345",
"ship_from": {
"name": "Fake Company",
"phone": "01377 334140",
"email": "[email protected]",
"company_name": "Fake Company",
"address_1": "Unit 99, Warfield Road",
"address_2": "",
"address_3": "",
"city": "Fakefurt",
"postcode": "YO250FK",
"county": "East Yorkshire",
"country_iso": "GB",
"company_id": "03764419",
"tax_id": "284256444",
"eori_id": "GB284256444000",
"ioss_number": null
}
}
Advise Peoplevox the below and share the random pairing key via https://privatebin.despatchcloud.app
The endpoint to send requests to is:
https://production.courierapi.co.uk/api/couriers/v1/third-parties/peoplevox/create-label
The documentReference for the main label must be 'Carrier label'
The documentReference for customs must be 'Customs documentation'
from Peoplevox end must be using:
"metadata": {
"schemaVersion": "2.0",
"platformVersion": "2.0",
"documentBundleEndpointVersion": "1.1"
Service Codes from Peoplevox will point at the smart shipping Rule Group
POST Request to this endpoint:
https://production.courierapi.co.uk/api/couriers/v1/third-parties/peoplevox/link-auth
headers: {'api-user': 'YOUR API USER', 'api-token': 'YOUR API USER TOKEN'},
and this is the JSON to POST:
{
"peoplevox_authorization_header" : "12345",
"ship_from": {
"name": "Fake Company",
"phone": "01377 334140",
"email": "[email protected]",
"company_name": "Fake Company",
"address_1": "Unit 99, Warfield Road",
"address_2": "",
"address_3": "",
"city": "Fakefurt",
"postcode": "YO250FK",
"county": "East Yorkshire",
"country_iso": "GB",
"company_id": "03764419",
"tax_id": "284256444",
"eori_id": "GB284256444000",
"ioss_number": null
}
}
Setting up a Service Type:
Services???? 1.38 Time... TestDC
Service Type, needs to match the smart shipping rule group name NOT SURE WHERE TO SET....