Loading...
Docs
Custom API Connection Setup

Custom API Connection Setup

A step-by-step guide to creating a custom API connection to a supplier.

Custom API Connection Setup

This guide will help you set up a custom API connection to a supplier. Please ensure that the supplier has an API and that you have the necessary authentication credentials. If you need assistance, consider reaching out to a developer or our customer service team.

Prerequisites

  • Access to the supplier's API documentation.
  • Authentication credentials (e.g., API key, token).
  • Basic understanding of API concepts.

Step 1: Gather API Information

Before you begin, gather the following information from the supplier's API documentation:

  • Base URL: The root URL for the API.
  • Authentication Endpoint: The endpoint used for authentication.
  • Required Headers: Any headers needed for requests (e.g., Authorization).
  • Request Method: The HTTP method to use (e.g., GET, POST).

Gather API Information

Step 2: Set Up Authentication Credentials

Ensure you have the necessary credentials to authenticate with the supplier's API. This may include:

  • API Key
  • Access Token
  • Username and Password

If you're unsure how to obtain these credentials, contact the supplier or consult their API documentation.

Set Up Authentication Credentials

Step 3: Configure the API Connection

  1. Open the API Connection Form: Navigate to the API connection form in your dashboard.

  2. Enter the Base URL: Input the base URL provided by the supplier.

  3. Specify the Authentication Endpoint: Enter the endpoint used for authentication.

  4. Select the Request Method: Choose the appropriate HTTP method (e.g., POST).

  5. Add Headers: Include any required headers, such as Authorization.

  6. Provide Body Content: If necessary, add the request body content in JSON format.

Configure the API Connection

Step 4: Test the Connection

Once you've configured the connection, test it to ensure everything is set up correctly.

  • Click the Test Endpoint button.
  • Review the response to verify successful authentication and data retrieval.

Test the Connection

Troubleshooting

If you encounter issues, consider the following:

  • Double-check the API credentials and endpoint URLs.
  • Ensure the request method and headers are correct.
  • Review the supplier's API documentation for any additional requirements.

For further assistance, contact our customer service team or consult a developer.

Troubleshooting

Conclusion

By following these steps, you should be able to set up a custom API connection to your supplier. If you need further help, don't hesitate to reach out to our support team.

Conclusion