Application configuration is an integral activity prior to the process of integration. If your chosen application is Prestashop, credentials need to be provided for validating the agent. Here you will find the detailed description on how to configure the agents for the application of Prestashop, Troubleshooting issues and the attributes and action.
Prestashop is a REST (CRUD type) application which supports the Webservices authentication. The Adapter of the application Prestashop provides the leverage to communicate and adapt with the AEC Portal. This section provides you the detailed process of validating the credential of the application Prestashop.
Pre-requisites for Prestashop Configuration
- Valid APPSeCONNECT Portal credentials.
- Select the Application Prestashop in the APP section.
- Create connection for Prestashop.
- Publish any Touchpoint, Update Adapters and Update Configuration in the agent.
Configure the Agent
To Know about Agent Configuration, Click here
Configure the Prestashop Application in the Agent
- In the App Configuration panel of the agent, click on the + button, beside the app Prestashop.
- On clicking the + button, the credential panel opens for the application Prestashop.
- Prestashop users can fetch the webservice key from Prestashop portal only.
Navigate to Advanced Parameters > Webservice > Key. For more details related to webservice, click here.
Web Id Prefixis an optional field. However, user can provide the detail as per the requirements.
- Web Id Prefix is generally used when the Prestashop is having multiple Store in the same installation. The prefix of the respective store is provided in the Web Id Prefix to segregate the data coming from multiple stores.
- After providing the credentials, click on the SAVE Button followed by Validate.
Following this process, the Prestashop application can be configured in the agent.
ISSUE 1:Cannot POST data, Source application returned False
Cannot POST data, Source application returned False even if Data is present in the Source Application (Prestashop).
Some of the basic troubleshooting issue happens due to improper validations. In this case, check for the proper validations of the credential for the source application adapter. Also, try deleting the Temp and Cache files from the portal and the system, and try validating the adapter again. Once validated, resync the workflow for successful execution.
Attributes and Actions
While defining a connect to an API endpoint in Prestashop, you require clear understanding about the data requirements and endpoint configurations. You can refer to this document to find all the endpoint details of your Prestashop installation. To define the endpoint in APPSeCONNECT, you need to define Actions and Entities. Actions are specifically targeted for an endpoint while schema is the data needed to execute the API. Here is the list of some of the pre-packaged API actions defined for you which you can easily plug and play while doing your integration.
Prestashop has a generic API Document following the CRUD type REST API protocols.
|Endpoint||Action||Action Type||Schema||UI Help|
|customers||customers||GET||Customer||Fetching customers from Prestashop and posting it into Destination Application|
|addresses||addresses||GET||address||Fetching customer address from Prestashop and posting it into Destination Application|
|orders||orders||GET||Order||Fetching orders from Prestashop and posting it into Destination Application|
|order_invoices||order_invoices||GET||order_invoices||Fetching invoices from Prestashop and posting it into destination application|
|POST customers||POST customers||POST||customer||Posting customers from Source Application to Prestashop|
|POST products||POST products||POST||product||Posting products from Source Application to Prestashop|