product_idstringerforderlich
Numeric product ID from get_homepage_featured_products or get_merchant_products results.
https://api.sandbase.ai/v1/api/shop-app/product-detailsRetrieves 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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Numeric product ID from get_homepage_featured_products or get_merchant_products results. |
product_slug | string | Yes | Product URL slug from get_homepage_featured_products or get_merchant_products results. |
Flat $0.03 per call. Failed calls are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/shop-app/product-details" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": "9144684642526",
"product_slug": "sospiro-vibrato-edp"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
product_idstringerforderlichNumeric product ID from get_homepage_featured_products or get_merchant_products results.
product_slugstringerforderlichProduct URL slug from get_homepage_featured_products or get_merchant_products results.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Shop Product DetailsDiese API Shop | $0.03 pro Aufruf | JSON |
Shop | $0.03 pro Aufruf | JSON |
Shop | $0.03 pro Aufruf | JSON |
Shop | $0.03 pro Aufruf | JSON |
Shop | $0.03 pro Aufruf | JSON |
Shop | $0.03 pro Aufruf | JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/shop-app/product-details mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.03 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: product_id (string) und product_slug (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).
Nein. Shop Product Details läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Shop API beantragen.