article_codestringzorunlu
10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints.
https://api.sandbase.ai/v1/api/hm/size-guideReturn the H&M size guide shown on a product page: measurement tables (chest, waist, hip, inside leg, etc.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Return the H&M size guide shown on a product page: measurement tables (chest, waist, hip, inside leg, etc.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "hm/size-guide", "article_code": "1353272003"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
article_code | string | Yes | 10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints. |
locale | string | No | Storefront locale in <language>_<country> form controlling the language and size systems of the guide. Verified values: 'en_us' (US sizes, inch and cm) and 'ko_kr' (Korean text and KR sizes). Other H&M storefront locales |
Flat $0.03 per call. Failed calls are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/hm/size-guide" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"locale": "en_us"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
article_codestringzorunlu10-digit H&M article code (e.g. '1347416001'); one code per call. Use hits[*].id from search_products or article_code from the Korean listing endpoints.
localestringStorefront locale in <language>_<country> form controlling the language and size systems of the guide. Verified values: 'en_us' (US sizes, inch and cm) and 'ko_kr' (Korean text and KR sizes). Other H&M storefront locales are forwarded unverified.
Varsayılan: "en_us"
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
H&M Size GuideBu API H&M | $0.03 çağrı başına | JSON |
H&M | $0.03 çağrı başına | JSON |
H&M | $0.03 çağrı başına | JSON |
H&M | $0.03 çağrı başına | JSON |
H&M | $0.03 çağrı başına | JSON |
H&M | $0.03 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/hm/size-guide adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.03, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: article_code (string). İsteğe bağlı: locale (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. H&M Size Guide, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. H&M API erişimi için ayrıca başvuru yapmanız gerekmez.