Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Shop Product Details

Dokumentacja 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.

Cena
$0.03USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
2 wymaganych · 0 opcjonalnych

Playground

Wejście
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.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON
Shop$0.03 za wywołanieJSON

Pytania

FAQ

Jak używać API Shop Product Details?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/shop-app/product-details z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Shop Product Details?

$0.03 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Shop Product Details?

Wymagane: product_id (string) i product_slug (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Shop Product Details?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Shop lub klucza API?

Nie. Shop Product Details działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Shop.