HM - Hennes Mauritz

FREEMIUM
By Api Dojo | Updated 9 days ago | eCommerce
Popularity

9.7 / 10

Latency

2,124ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Products api is returning 0 results

Rapid account: Neerajgudi 95
neerajgudi95
2 years ago

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 2 years ago

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.

Join in the discussion - add comment below:

Login / Signup to post new comments