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

Shop Product Details

API dokümanları
https://api.sandbase.ai/v1/api/shop-app/product-details

Retrieves full details for a single product including current price, original price (if discounted), images, rating, review count, and merchant info. Requires both product_id and product_slug which are available from get_homepage_featured_products or get_merchant_products results.

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

Oynatma Alanı

Girdi
Numeric product ID from get_homepage_featured_products or get_merchant_products results.
Product URL slug from get_homepage_featured_products or get_merchant_products results.
ÇıktıHazır

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

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

API README

Shop Product Details API

Retrieves full details for a single product including current price, original price (if discounted), images, rating, review count, and merchant info. Requires both product_id and product_slug which are available from get_homepage_featured_products or get_merchant_products results.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "shop-app/product-details", "product_id": "9144684642526", "product_slug": "sospiro-vibrato-edp"}'

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

Parameters

NameTypeRequiredDescription
product_idstringYesNumeric product ID from get_homepage_featured_products or get_merchant_products results.
product_slugstringYesProduct URL slug from get_homepage_featured_products or get_merchant_products results.

Pricing

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

Daha fazlasını keşfedin

İlgili APIs

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

Sorular

SSS

Shop Product Details 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/shop-app/product-details adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Shop Product Details 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.

Shop Product Details API'si hangi parametreleri kabul eder?

Gerekli: product_id (string) ve product_slug (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Shop Product Details API'si ne döndürür?

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

Bir Shop geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Shop Product Details, 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. Shop API erişimi için ayrıca başvuru yapmanız gerekmez.