Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Shopify Store Products

Docs da 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.

Preço
A partir de $0.00085USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 12 opcionais

Playground

Entrada
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. Mínimo: 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. Intervalo: 1 a 250.
Only products whose vendor (brand) contains this text.
Only products priced at or below this, in the store's currency. Mínimo: 0.
Only products priced at or above this, in the store's currency. Mínimo: 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. Mínimo: 1.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da API

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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Shopify Store Products?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/shopify/products com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Shopify Store Products?

A partir de $0.00085 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Shopify Store Products aceita?

Obrigatórios: store (string). Opcionais: page (integer), tags (array), limit (integer), vendor (string), maxPrice (number) e minPrice (number) e mais 6. A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Shopify Store Products retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor Shopify ou de uma chave de API?

Não. Shopify Store Products funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Shopify separadamente.