HM - Hennes Mauritz

FREEMIUM
Durch Api Dojo | Aktualisiert 21 दिन पहले | eCommerce
Popularität

9.7 / 10

Latenz

2,121ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

Products api is returning 0 results

Rapid account: Neerajgudi 95
neerajgudi95
vor 2 Jahren

const axios = require(“axios”);

const options = {
method: ‘GET’,
url: ‘https://apidojo-hm-hennes-mauritz-v1.p.rapidapi.com/products/list’,
params: {country: ‘asia2’, lang: ‘en’, currentpage: ‘0’, pagesize: ‘30’},
headers: {
‘X-RapidAPI-Key’: ‘f4a4c05eeamsh61047049e56804bp1886c4jsnb810b2cee6d5’,
‘X-RapidAPI-Host’: ‘apidojo-hm-hennes-mauritz-v1.p.rapidapi.com
}
};

axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});

above code is giving 0 results, in fact all the categories are showing 0 results for products list

Rapid account: Apidojo
apidojo Commented vor 2 Jahren

Hello,

H&M may stop their store in the country "asia2"
You may try again with this : …/products/list?categories=men_all&concepts=H%26M MAN&country=us&lang=en&currentpage=1&pagesize=30

Regards.

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen