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

Shop Merchant Products

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

Retrieves one page of a merchant's in-stock product listing, sorted by the site's most-sales order, in a single upstream request.

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

Oynatma Alanı

Girdi
Merchant numeric ID from get_merchant_info or get_search_autocomplete results.
Pagination cursor taken unchanged from a previous response's endCursor field. Omit or leave empty for the first page.
Number of products to retrieve per page; must be an integer from 1 to 100, other values are rejected before any request.
Çı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 Merchant Products API

Retrieves one page of a merchant's in-stock product listing, sorted by the site's most-sales order, in a single upstream request.

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/merchant-products", "broker_id": "9658745"}'

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

Parameters

NameTypeRequiredDescription
broker_idstringYesMerchant numeric ID from get_merchant_info or get_search_autocomplete results.
afterstringNoPagination cursor taken unchanged from a previous response's endCursor field. Omit or leave empty for the first page.
firstintegerNoNumber of products to retrieve per page; must be an integer from 1 to 100, other values are rejected before any request.

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

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

Gerekli: broker_id (string). İsteğe bağlı: after (string) ve first (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

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