Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

H&M Product Detail

Dokumentacja API
https://api.sandbase.ai/v1/api/hm/product-detail

Fetch product details including pricing, availability, color variants, and images for a given article code or product URL. Returns full variant information with all color options, stock states, and image galleries. Either article_code or url must be provided.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 2 opcjonalnych

Playground

Wejście
Full product URL (e.g. 'https://www2.hm.com/en_us/productpage.0685816001.html'). Either article_code or url must be provided.
Article code (e.g. '0685816001', '1347416001'). Either article_code or url must be provided.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

H&M Product Detail API

Fetch product details including pricing, availability, color variants, and images for a given article code or product URL. Returns full variant information with all color options, stock states, and image galleries. Either article_code or url must be provided.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hm/product-detail", "url": "", "article_code": "1347416001"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
article_codestringNoArticle code (e.g. '0685816001', '1347416001'). Either article_code or url must be provided.
urlstringNoFull product URL (e.g. 'https://www2.hm.com/en_us/productpage.0685816001.html'). Either article_code or url must be provided.

Pricing

Flat $0.03 per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON
H&M$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API H&M Product Detail?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/hm/product-detail z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API H&M Product Detail?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API H&M Product Detail?

Nie są wymagane żadne parametry. Opcjonalne: url (string) i article_code (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API H&M Product Detail?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego H&M lub klucza API?

Nie. H&M Product Detail działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API H&M.