page_tokenstringจำเป็น
Parameter defines the token needed to show more product info in Google immersive popup.
https://api.sandbase.ai/v1/api/google-shopping/immersive-productGet the full Google Shopping product view by page token: specifications, ratings, reviews and offers from each store with price and delivery.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Get the full Google Shopping product view by page token: specifications, ratings, reviews and offers from each store with price and delivery.
curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/immersive-product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"page_token": "<page_token from search results>"}'
The result is returned in outputs[0].data as structured JSON.
| Name | Type | Required | Description |
|---|---|---|---|
page_token | string | Yes | Parameter defines the token needed to show more product info in Google immersive popup. |
more_stores | string | No | Parameter for fetching more stores results in single search. It can be set to 1 or true. By default, a search returns 3 to 5 stores. When the more_stores parameter is enabled, up to 13 stores will be returned, or the maximum a |
next_page_token | string | No | Parameter defines the next page token. It is used for retrieving the next page of results for stores. The token is returned as stores_next_page_token from the search results. |
json_restrictor | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
$0.010 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/immersive-product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
page_tokenstringจำเป็นParameter defines the token needed to show more product info in Google immersive popup.
more_storesstringParameter for fetching more stores results in single search. It can be set to `1` or `true`. By default, a search returns `3 to 5` stores. When the `more_stores` parameter is **enabled**, up to `13` stores will be returned, or the maximum available, depending on the product.
next_page_tokenstringParameter defines the next page token. It is used for retrieving the next page of results for stores. The token is returned as `stores_next_page_token` from the search results.
json_restrictorstringParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Google Shopping | $0.01 ต่อการเรียก | JSON |
Google Shopping | $0.00015 ต่อการเรียก | JSON |
Google Shopping | $0.015 ต่อการเรียก | Async JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/google-shopping/immersive-product โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: page_token (string). ตัวเลือก: more_stores (string), next_page_token (string) และ json_restrictor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)
ไม่จำเป็น Google Shopping Product Offers ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Google Shopping API แยกต่างหาก