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

Shopify Product

API dokümanları
https://api.sandbase.ai/v1/api/shopify/product

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.

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

Oynatma Alanı

Girdi
Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.
Product handle, the slug after /products/ in the product URL, e.g. mens-strider; the full product page URL also works.
ÇıktıHazır

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

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

API README

Shopify Product API

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "shopify/product", "store": "allbirds.com", "product": "mens-strider"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
productstringYesProduct handle, the slug after /products/ in the product URL, e.g. mens-strider; the full product page URL also works.
storestringYesDomain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.

Pricing

Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
ShopifyKullanım başına $0.00085'den itibarenJSON
ShopifyKullanım başına $0.00085'den itibarenJSON
ShopifyKullanım başına $0.00085'den itibarenJSON
ShopifyKullanım başına $0.00085'den itibarenJSON

Sorular

SSS

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

Shopify Product API'sinin fiyatı nedir?

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

Shopify Product API'si hangi parametreleri kabul eder?

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

Shopify Product API'si ne döndürür?

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

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

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