Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Shopify Store Products

API दस्तावेज़
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.

मूल्य
से $0.00085USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 12 वैकल्पिक

प्लेग्राउंड

इनपुट
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. न्यूनतम: 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. सीमा: 1 से 250.
Only products whose vendor (brand) contains this text.
Only products priced at or below this, in the store's currency. न्यूनतम: 0.
Only products priced at or above this, in the store's currency. न्यूनतम: 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. न्यूनतम: 1.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

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.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Shopify$0.00085 प्रति कॉल सेJSON
Shopify$0.00085 प्रति कॉल सेJSON
Shopify$0.00085 प्रति कॉल सेJSON
Shopify$0.00085 प्रति कॉल सेJSON

प्रश्न

FAQ

Shopify Store Products API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/shopify/products पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Shopify Store Products API की लागत कितनी है?

$0.00085 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Shopify Store Products API कौन-से parameters स्वीकार करती है?

आवश्यक: store (string)। वैकल्पिक: page (integer), tags (array), limit (integer), vendor (string), maxPrice (number) और minPrice (number) और 6 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Shopify Store Products API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक Shopify developer account या API key चाहिए?

नहीं। Shopify Store Products SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Shopify API access के लिए आवेदन करने की आवश्यकता नहीं है।