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

Shopify Product

เอกสาร API
https://api.sandbase.ai/v1/api/shopify/product

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.

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

Playground

อินพุต
Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.
Product handle, the slug after /products/ in the product URL, e.g. mens-strider; the full product page URL also works.
เอาต์พุตพร้อมใช้งาน

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

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

API README

Shopify Product API

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "shopify/product", "store": "allbirds.com", "product": "mens-strider"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
productstringYesProduct handle, the slug after /products/ in the product URL, e.g. mens-strider; the full product page URL also works.
storestringYesDomain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.

Pricing

Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Shopify ProductAPI นี้
Shopify
เริ่มต้นที่ $0.00085 ต่อครั้งJSON
Shopifyเริ่มต้นที่ $0.00085 ต่อครั้งJSON
Shopifyเริ่มต้นที่ $0.00085 ต่อครั้งJSON
Shopifyเริ่มต้นที่ $0.00085 ต่อครั้งJSON

คำถาม

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

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

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

Shopify Product API ราคาเท่าไร?

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

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

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

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

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

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

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