This application allows you to integrate multi-carrier shipping using InnoShip API.
- Use the vtex toolbelt to install.
vtex install vtex.innoship
Open the app settings on your store admin - https://{{accountName}}.myvtex.com/admin/apps
- click on the InnoShip app and fill in the:
InnoShip API TOKEN
(required) - provided by the Innoship platform
You will also need to link your store's warehouses to your innoship account.
- Go in your VTEX admin
ORDERS > Inventory & shipping > Shipping strategy
, and in theWarehouses
tab, for each active warehouse you must have/create a corresponding location in your innoship account. - In you innoship account, go to
Locations & Carriers
, create/edit a location and set theExternal Location Id
to correspond to the VTEX's warehouseID
.
After configuration, the shipping list can be accessed in your VTEX admin ORDERS > Shipping List
.
When generating AWBs, there are a variety of helpful features at your disposal:
Having the order's total weight available and displayed, you have the option to either generate AWBs with only one parcel covering the entire order's weight thus having only one label for the parcel when printing out the AWB, or you can choose to have more than one parcel per AWB with the possibility to manually distribute the order's weight across the parcels weight fields with an indicator alerting you when the distribution is under or over the total weight limit.
This feature is useful when you need to generate AWBs for orders that needs to be split across multiple packages. Generating a single AWB will generate labels for each parcel.
Based on selected options, a shipping rate simulation will run, displaying a list of eligible carriers with their respected
shipping rates, from which you can choose a carrier/shipping rate of your desire or leave it on Automatic
, which will let the
innoship
API decide the appropriate carrier, based on the web application's configuration.
To activate this feature follow these steps:
- Install the scheduler by making a
POST
request to the following endpoint
https://{{accountName}}.myvtex.com/api/scheduler/master/innoship?version=4
with the following body:
{
"id": "sync-innoship-pickup-points",
"scheduler": {
"expression": "*/30 * * * *"
},
"request": {
"uri": "http://{{accountName}}.myvtex.com/no-cache/sync-pickup-points",
"method": "POST"
}
}
This will synchronize all available pickup points from innoship into vtex.
The pickup points will be available under ORDERS > Inventory & shipping > Pickup points
.
-
You will also need to add a valid Google Maps API Key under
ORDERS > Inventory & shipping > Geolocation shipping
andSTORE SETUP > Checkout > {click settings cog} > {click checkout tab} > {Google Maps API Key field}
. -
Then you must create a shipping policy under
ORDERS > Inventory & shipping > Shipping strategy
, check theLink pickup points
section and underPickup points tags
select theinnoship pickup
tag. -
Configure the shipping rate for the new shipping policy under
ORDERS > Inventory & shipping > Shipping rates
.
Turn on the AWB AUTO-UPDATE
feature in the Shipping
page.
The update will run every 4 hours.
You can configure which carriers will be included in this update by accessing the AWB CARRIERS SETTINGS
.
WARNING In order fot the application to work correctly, payment systems must be properly configured:
Cash
payment methods must be configured to belong to thecash
payment groupPayment order
payment methods must be configured to belong to thepromissary
payment group.
Value of field ExternalClientLocation is not valid
- represents the warehouse ID declared in VTEX underORDERS > Inventory & shipping > Shipping strategy > Warehouses
.
In the Innoship Web Application, underLocations & Carriers
, this VTEX warehouses Is must be associated to a location'sExternal Location Id
.
Each active warehouse ID declared in VTEX must have a correspondence in the Innoship Web Application'sLocations & Carriers
, via theExternal Location Id
.
Upcoming documentation: