Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Shop Product Details

Dokumentasi API
https://api.sandbase.ai/v1/api/shop-app/product-details

Retrieves full details for a single product including current price, original price (if discounted), images, rating, review count, and merchant info. Requires both product_id and product_slug which are available from get_homepage_featured_products or get_merchant_products results.

Harga
$0.03USD / panggilan
Metode
POST
Respons
JSON
Parameter
2 wajib · 0 opsional

Playground

Input
Numeric product ID from get_homepage_featured_products or get_merchant_products results.
Product URL slug from get_homepage_featured_products or get_merchant_products results.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

Shop Product Details API

Retrieves full details for a single product including current price, original price (if discounted), images, rating, review count, and merchant info. Requires both product_id and product_slug which are available from get_homepage_featured_products or get_merchant_products results.

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/product-details", "product_id": "9144684642526", "product_slug": "sospiro-vibrato-edp"}'

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

Parameters

NameTypeRequiredDescription
product_idstringYesNumeric product ID from get_homepage_featured_products or get_merchant_products results.
product_slugstringYesProduct URL slug from get_homepage_featured_products or get_merchant_products results.

Pricing

Flat $0.03 per call. Failed calls are not charged.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Shop$0.03 per panggilanJSON
Shop$0.03 per panggilanJSON
Shop$0.03 per panggilanJSON
Shop$0.03 per panggilanJSON
Shop$0.03 per panggilanJSON
Shop$0.03 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Shop Product Details?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/shop-app/product-details dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Shop Product Details?

$0.03 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Shop Product Details?

Wajib: product_id (string) dan product_slug (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Shop Product Details?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API Shop?

Tidak. Shop Product Details berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Shop secara terpisah.