Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Shop Product Details

เอกสาร 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.

ราคา
$0.03USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
2 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
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.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Shop$0.03 ต่อการเรียกJSON
Shop$0.03 ต่อการเรียกJSON
Shop$0.03 ต่อการเรียกJSON
Shop$0.03 ต่อการเรียกJSON
Shop$0.03 ต่อการเรียกJSON
Shop$0.03 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Shop Product Details API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/shop-app/product-details โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Shop Product Details API ราคาเท่าไร?

$0.03 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Shop Product Details API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: product_id (string) และ product_slug (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Shop Product Details API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Shop ไหม?

ไม่จำเป็น Shop Product Details ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Shop API แยกต่างหาก