{ } API Explorer Support

PrestaShop

Avasam can be integrated with one or more PrestaShop websites to download orders, and update listings with stock levels. sales channel integrations

The list of sales channel integrations has 4 columns:

  • The logo representing the type of channel integration.
  • The type of channel integration.
  • The name of the specific channel integration.
  • The status of the integration - yes/blue is enabled, no/grey is disabled.

New sales channel integration

To create new sales channel integration:

  1. In ‘Settings’, select ‘Sales channel integration’.
  2. Click the ‘Add sales channel’ button.
  3. Click on the ‘Add’ button next to ‘PrestaShop’. Click on Add button for PrestaShop
  4. Enter the name for this integration. Enter account name
  5. Click ‘Next’ to continue. Configuration screen
  6. Enter your website address in the ‘PrestaShop URL’ field.
  7. The ‘Access token ‘comes from your website.
    a. Login to the control panel of your website.
    Log in b. Select ‘Advanced Parameters’.
    Advanced Parameters c. Select ‘Web service’.
    Web service d. Click the ‘+’ button in the top right corner.
    + button e. Click ‘Generate’.
    Generate f. Add ‘Avasam integration’ as the description for the key.
    g. Ensure all permissions are ticked and active.
    description for key h. Copy the contents of the ‘Key’ field.
    i. Scroll down and click on the ‘Save’ button.
  8. Paste the key into the ‘Access token’ field. Access token
  9. Confirm whether your prices include VAT (‘cost includes tax’) (y/n).
  10. Confirm if you want to use the tax settings defined in your website (‘Use channel tax’) (y/n).
  11. Confirm if you want to apply discounts based on the settings on the site (‘Use order discount’)(y/n).
  12. Click ‘Next’ to continue.
  13. You will be returned to the sales channel list in Avasam, with a new row added for your new integration. sales channel list
  • Click ‘Cancel’ to return to the sales channel integration list without completing the integration.

Disable channel integration

When you create new channel integration, it is automatically enabled and active.

To disable the integration to stop it downloading orders and updating listings temporarily:

  1. In ‘Settings’, select ‘Sales channel integration’.
  2. Locate the integrated sales channel you wish to disable.
  3. Click the status switch to toggle it from ‘Yes’/active to ‘No’/disabled.
  4. The channel will be disabled.

Enable channel integration

When you create new channel integration, it is automatically enabled and active. You, or someone else, may temporarily disable it.

To re-enable the integration to resume downloading orders and updating listings:

  1. In ‘Settings’, select ‘Sales channel integration’.
  2. Locate the integrated sales channel you wish to enable.
  3. Click the status switch to toggle it from ‘No’/disabled to ‘Yes’/active.
  4. The channel will be re-enabled.

Remove channel integration

If you no longer wish to have Avasam connected to a sales channel, it can be easily removed.

Once deleted, you will need to re-create the integration from scratch should you choose to re-use it.

To remove channel integration:

  1. In ‘Settings’, select ‘Sales channel integration’.
  2. Locate the channel integration you want to remove.
  3. To open the integration, click the name. Remove channel integration
  4. Click the red ‘Remove account’ button to remove the integration.
  5. Click ‘OK’ to confirm.
  6. You will be returned to the list of channel integrations.
  • Click ‘Cancel’ if you decide to not delete the integration.
  • If you delete integration and then reintegrate the same channel, the analytics and reports will not recognise orders from the two integrations as being from the same site.

Update/verify channel integration

If Avasam is having issues downloading from updating a sales channel, it can be easily checked. In ‘Settings’, select ‘Sales channel integration’ to ensure that you are connecting to the correct website end point.

To update/verify channel integration:

  1. Locate the channel integration.
  2. To open the integration, click the name. Update-verify channel integration
  3. Click ‘Reauthorize’. Reauthorize
  4. Check the ‘PrestaShop URL’ value is correct.
  5. Confirm the ‘Access token’ is correct.
  6. Click ‘Save’ to apply any updates/changes.
  7. You will be returned to the list of channel integrations.
  • Click ‘Cancel’ if you decide to not change/update the integration.

Shipping mapping

If you want the shipping service paid for by the customer to automatically select the correct shipping provider and service when the order is downloaded to Avasam, then you will need to map the services from the site/channel to those in Avasam. Shipping mapping The ‘Shipping mapping’ section will list any existing mappings. You can open/expand the ‘marketplace to Avasam’ shipping mapping section by clicking on the arrow to the right of the title.

If any services are already mapped, then they will be listed here.

Delete a shipping mapping

To delete a shipping mapping:

If you want to remove an existing mapping – either because the service in question is not offered, or you want to change it, then click on the ‘X’ to the right of the entry.

Create a new shipping mapping

To create a new shipping mapping:

  1. Select the service you want to map under the ‘Sales channel shipping service’ drop down list.
  2. Select the Avasam shipping service to map this against under the ‘Avasam shipping service’ drop down list.
  3. Click ‘Map field’.
  • This will only affect orders downloaded after it is mapped. It will not affect orders already in Avasam.

SKU mapping

If you want Avasam to automatically recognise the correct Avasam Inventory SKU when the order is downloaded to Avasam, then you will need to ensure they are mapped correctly from the site to those in Avasam. SKU mapping The ‘SKU mapping’ section will list all existing mappings. You can open/expand the ‘SKU mapping’ section by clicking on the arrow to the right of the title.

Create a new SKU mapping

To create a new SKU mapping:

  1. Select the service you want to map under the ‘Sales channel shipping service’ drop down list
  2. Select the Avasam shipping service to map this against under the ‘Avasam shipping service’ drop down list.
  3. Click ‘Map them’. Create new SKU mapping
  • Sales channel SKU: Search for sales channel SKU and then display SKU list.
  • Avasam SKU: Search forAvasam inventory SKU and then list of display.
  • Changes made will only affect orders downloaded after it is mapped. It will not affect orders already in Avasam.
  • The ‘Save button will apply any changes you have made to the mappings.
  • You can return to the main page at any time without applying the changes by clicking on the ‘Sales channel integrations’ link on the top left, or the ‘Cancel’ button.