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

Shopify Store Products

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

List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. A domain that is not a public Shopify store comes back not found.

Fiyat
Başlangıç fiyatı $0.00085USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 12 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.
1-based page of the store's product list. Each page is billed as one request. Minimum: 1.
Only products carrying at least one of these tags.
1250
Products the store is asked for per page (1-250, default 50). The filters below are applied to that page, so a filtered page can hold fewer, even none while hasMore is true. Aralık: 1 ile 250 arasında.
Only products whose vendor (brand) contains this text.
Only products priced at or below this, in the store's currency. Minimum: 0.
Only products priced at or above this, in the store's currency. Minimum: 0.
Only products with at least one discounted variant.
Only products with at least one variant in stock.
Only products whose product type contains this text, e.g. "Shoes".
Only products with a variant whose SKU code contains this text.
Only products whose title contains this text.
Only products published to the store within the last this many days. Minimum: 1.
Çı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 Store Products API

List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. A domain that is not a public Shopify store comes back not found.

Request

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

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

Parameters

NameTypeRequiredDescription
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.
limitintegerNoProducts the store is asked for per page (1-250, default 50). The filters below are applied to that page, so a filtered page can hold fewer, even none while hasMore is true.
maxPricenumberNoOnly products priced at or below this, in the store's currency.
minPricenumberNoOnly products priced at or above this, in the store's currency.
onlyInStockbooleanNoOnly products with at least one variant in stock. Default false.
onlyOnSalebooleanNoOnly products with at least one discounted variant. Default false.
pageintegerNo1-based page of the store's product list. Each page is billed as one request. Default 1.
productTypestringNoOnly products whose product type contains this text, e.g. "Shoes".
publishedWithinDaysintegerNoOnly products published to the store within the last this many days.
skuContainsstringNoOnly products with a variant whose SKU code contains this text.
tagsarrayNoOnly products carrying at least one of these tags.
titleContainsstringNoOnly products whose title contains this text.
vendorstringNoOnly products whose vendor (brand) contains this text.

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

Shopify Store Products 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 Store Products API'si hangi parametreleri kabul eder?

Gerekli: store (string). İsteğe bağlı: page (integer), tags (array), limit (integer), vendor (string), maxPrice (number) ve minPrice (number) ve 6 tane daha. Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

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