Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

H&M Sale Products

API dokümanları
https://api.sandbase.ai/v1/api/hm/sale-products

Fetch sale/discounted products for a category. Returns products with both regular and discounted prices, discount percentages, and pagination. Uses the same listing mechanism as category pages but scoped to sale sections.

Fiyat
$0.03USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
0 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
Page number for pagination (1-based).
Sale category path (e.g. 'women/sale/view-all', 'men/sale/view-all').
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

H&M Sale Products API

Fetch sale/discounted products for a category. Returns products with both regular and discounted prices, discount percentages, and pagination. Uses the same listing mechanism as category pages but scoped to sale sections.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "hm/sale-products", "page": 1, "category": "women/sale/view-all"}'

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

Parameters

NameTypeRequiredDescription
categorystringNoSale category path (e.g. 'women/sale/view-all', 'men/sale/view-all').
pageintegerNoPage number for pagination (1-based).

Pricing

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

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
H&M$0.03 çağrı başınaJSON
H&M$0.03 çağrı başınaJSON
H&M$0.03 çağrı başınaJSON
H&M$0.03 çağrı başınaJSON
H&M$0.03 çağrı başınaJSON
H&M$0.03 çağrı başınaJSON

Sorular

SSS

H&M Sale Products API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/hm/sale-products adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

H&M Sale Products API'sinin fiyatı nedir?

çağrı başına $0.03, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

H&M Sale Products API'si hangi parametreleri kabul eder?

Gerekli parametre yoktur. İsteğe bağlı: page (integer) ve category (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

H&M Sale Products API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).

Bir H&M geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. H&M Sale Products, 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.