PrestaShop combinations API integration issue

Hi everyone,

I am working on integrating PrestaShop (version 1.7.8.x) with Make (formerly Integromat) via the API, and I have encountered issues when working with product combinations.

Problem Description:

  1. I can successfully fetch products using the API, but retrieving product combinations seems to be problematic. Specifically:
  • The “combinations” endpoint in the PrestaShop API (e.g., /api/combinations) does not seem to respond as expected, or it returns a 401 Unauthorized error despite using valid credentials.
  • In some cases, the combinations linked to a product (via the product ID) are not retrieved properly.
  1. I attempted to configure the Make HTTP module with proper Basic Auth and correct API endpoints. Here is an example of an API call I made:

ruby

Kód másolása

GET https://accessories.hu/api/combinations/[combination_id]

However, the API returns an error with the following response:

  • HTTP Status Code: 401 (Unauthorized)
  1. I confirmed that:
  • The API credentials (username: API key) are correct.
  • The API is enabled in the PrestaShop admin panel.
  • The necessary permissions are granted for the API key.

Steps Taken:

  • I tested the API manually using tools like Postman, but the same issues persist.
  • I also reviewed the PrestaShop logs and found errors related to backward compatibility for some methods, but I’m unsure if they are directly related to the API issue.

Goal:

I need to retrieve the combinations of a specific product and map them into my Make scenario for automation purposes. For example, I need to fetch the combinations of a product (like size or color variants) for inventory synchronization and further processing.

Request:

Could anyone provide guidance on:

  • Correctly retrieving product combinations using the PrestaShop API?
  • Proper configuration of the Make HTTP module for handling combination-related API calls?
  • Any known issues or workarounds for PrestaShop combination APIs?

Thank you for your help!

1 Like

Hi @Szarvas_Adam

To help you better, could you please share the screenshots of mappings and the error???

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

Hi @Msquare_Automation,

Thank you for responding to my query. The main issue I’m facing is that I cannot retrieve and display product combinations (variations, such as size and color) from PrestaShop using the Make platform.

I’m uncertain whether I should configure the PrestaShop module differently or if I need to rely on the HTTP module for this task. The data I’m trying to fetch includes variation details like specific IDs, sizes, and colors of the products.

If needed, I can provide screenshots of the current mapping and setup I’ve tried. Let me know if additional details would help clarify the issue further.

Thank you for your guidance!

Best
Adam