---
title: "Taobao และ Tmall รายละเอียดสินค้า API (V1)"
description: "ใช้ endpoint V1 เพื่อดึงข้อมูลสินค้าจาก Taobao หรือ Tmall โดยอ้างอิงจาก ID ของสินค้า ใช้สำหรับการค้นหาสินค้าโดยตรงเพื่อการวิจัยแคตตาล็อก การติดตามสินค้า หรือการวิเคราะห์ธุรกิจอีคอมเมิร์ซ"
lastUpdated: false
aiUsagePrompt: true
---

# Taobao และ Tmall รายละเอียดสินค้า API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/taobao/get-item-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นการเข้าถึงสำหรับบริการ API นี้\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"itemId\",\"in\":\"query\",\"description\":\"ตัวระบุสินค้าที่ไม่ซ้ำกันบน Taobao/Tmall (ID ของสินค้า)。\",\"required\":true,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"ข้อมูลรายละเอียดสินค้าจาก Taobao หรือ Tmall รวมถึงข้อมูลการแสดงผล ราคา คุณสมบัติ และเนื้อหาที่เกี่ยวข้อง\",\"properties\":{\"item\":{\"type\":\"object\",\"description\":\"ข้อมูลสินค้าสำหรับไฟล์เนื้อหาที่ต้องการ\",\"properties\":{\"itemId\":{\"type\":\"integer\",\"description\":\"ID ของสินค้าจาก Taobao หรือ Tmall กลับมาเป็นตัวเลข\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงของรายการที่แสดง\"},\"categoryId\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ที่สินค้านั้นมี กลับมาเป็นข้อความ\"},\"rootCategoryId\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ระดับสูงที่กำหนดให้กับรายการนี้ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"location\":{\"type\":\"string\",\"description\":\"สถานที่ที่แสดงสำหรับรายการ.\"},\"sellCount\":{\"type\":\"string\",\"description\":\"ข้อความจำนวนการขายที่แสดงสำหรับรายการ.\"},\"seoItemType\":{\"type\":\"string\",\"description\":\"ชื่อประเภทการแสดงผลของแพลตฟอร์มสำหรับรายการ.\"},\"images\":{\"type\":\"array\",\"description\":\"URL ของรูปภาพสินค้าในลำดับที่แสดง.\",\"items\":{\"type\":\"string\",\"description\":\"URL ของรูปสินค้า\"}},\"videos\":{\"type\":\"array\",\"description\":\"วิดีโอที่แสดงพร้อมกับรายการ.\",\"items\":{\"type\":\"object\",\"description\":\"วิดีโอสินค้าหนึ่งตัว.\",\"properties\":{\"videoUrl\":{\"type\":\"string\",\"description\":\"URL ของวิดีโอสินค้า\"},\"coverUrl\":{\"type\":\"string\",\"description\":\"URL รูปหน้าปกของวิดีโอสินค้า\"},\"uploadDate\":{\"type\":\"string\",\"description\":\"ข้อความวันที่อัปโหลดสำหรับวิดีโอสินค้า.\"}}}},\"kolVideos\":{\"type\":\"array\",\"description\":\"วิดีโอจากผู้สร้างที่เกี่ยวข้องกับรายการ, ถ้ามี.\",\"items\":{\"type\":\"object\",\"description\":\"วิดีโอหนึ่งตัวจากผู้สร้างที่เกี่ยวข้องกับรายการ.\",\"properties\":{\"nick\":{\"type\":\"string\",\"description\":\"ชื่อเรียกที่แสดงของผู้สร้าง.\"},\"coverUrl\":{\"type\":\"string\",\"description\":\"URL รูปหน้าปกของวิดีโอของครีเอเตอร์\"},\"video5sUrl\":{\"type\":\"string\",\"description\":\"URL ที่ให้ไว้สำหรับวิดีโอสั้นๆ.\"},\"videoUrl\":{\"type\":\"string\",\"description\":\"URL ของวิดีโอของครีเอเตอร์\"}}}},\"beehiveContent\":{\"type\":\"object\",\"description\":\"เนื้อหาที่เกี่ยวข้องที่แสดงพร้อมกับสินค้า.\",\"properties\":{\"accountName\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของบัญชีของเนื้อหาที่เกี่ยวข้อง\"},\"contentAggreName\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของคอลเลกชันเนื้อหาที่เกี่ยวข้อง\"},\"contentAggreUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังชุดเนื้อหาที่เกี่ยวข้อง, ถ้ามี.\"},\"contentCover\":{\"type\":\"string\",\"description\":\"URL รูปหน้าปกของเนื้อหาที่เกี่ยวข้อง\"},\"contentDetailUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรายละเอียดเนื้อหาที่เกี่ยวข้อง.\"},\"contentSummary\":{\"type\":\"string\",\"description\":\"ข้อความสรุปสำหรับเนื้อหาที่เกี่ยวข้อง.\"},\"contentTitle\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงของเนื้อหาที่เกี่ยวข้อง\"}}}}},\"itemDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายสินค้าในรูปแบบ HTML ข้อความ. ลิงก์ของรูปภาพคำอธิบายสามารถปรากฏภายในเครื่องหมายอัฒจันทร์ได้.\"},\"itemExist\":{\"type\":\"boolean\",\"description\":\"ตัวบ่งชี้การมีอยู่ของรายการที่รายงานในรายละเอียดของผลิตภัณฑ์.\"},\"success\":{\"type\":\"boolean\",\"description\":\"ตัวบ่งชี้ความสำเร็จที่รายงานภายในข้อมูลรายละเอียดสินค้า.\"},\"areaLimit\":{\"type\":\"boolean\",\"description\":\"ว่ามีการรายงานข้อจำกัดด้านภูมิภาคสำหรับรายการหรือไม่.\"},\"freeShipping\":{\"type\":\"boolean\",\"description\":\"ว่าสินค้ามีการระบุว่าให้บริการจัดส่งฟรีหรือไม่.\"},\"skuId\":{\"type\":\"integer\",\"description\":\"ID SKU ที่ถูกส่งกลับมาพร้อมกับข้อมูลผลิตภัณฑ์\"},\"creativeText\":{\"type\":\"string\",\"description\":\"ข้อความแสดงโปรโมชั่นที่เกี่ยวข้องกับสินค้า, ถ้ามี.\"},\"itemPrice\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงราคาและโปรโมชั่นระดับรายการ.\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ข้อความราคาสินค้าที่แสดงสำหรับรายการ, ถ้ามี.\"},\"originalPrice\":{\"type\":\"string\",\"description\":\"รายงานราคาสินค้าจากต้นฉบับเป็นข้อความ.\"},\"promotionPrice\":{\"type\":\"string\",\"description\":\"รายงานราคาสินค้าสำหรับการลดราคาเป็นข้อความ.\"},\"promotionName\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของโปรโมชันของรายการ\"},\"hasRangePrice\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลราคาถูกบ่งบอกเป็นช่วงหรือไม่.\"},\"exchangePriceHKD\":{\"type\":\"string\",\"description\":\"ราคาที่แสดงผลแปลงเป็นดอลลาร์ฮ่องกง.\"},\"exchangePriceTWD\":{\"type\":\"string\",\"description\":\"ราคาที่แสดงผลแปลงเป็นดอลลาร์ไต้หวันใหม่.\"},\"startTime\":{\"type\":\"string\",\"description\":\"รายงานเวลาเริ่มต้นสำหรับข้อมูลราคาเป็นข้อความ.\"},\"endTime\":{\"type\":\"string\",\"description\":\"รายงานเวลาสิ้นสุดสำหรับข้อมูลราคาเป็นข้อความ.\"},\"remark\":{\"type\":\"string\",\"description\":\"หมายเหตุที่แสดงพร้อมกับข้อมูลราคา.\"}}},\"coupon\":{\"type\":\"object\",\"description\":\"ข้อมูลคูปองที่ส่งกลับสำหรับสินค้า.\",\"properties\":{\"coupon\":{\"type\":\"object\",\"description\":\"รายละเอียดคูปองที่ฝังไว้ในคำตอบ.\",\"properties\":{\"couponClickUrl\":{\"type\":\"string\",\"description\":\"ลิงก์สำหรับคูปอง หากมี.\"},\"couponInfo\":{\"type\":\"string\",\"description\":\"คำอธิบายคูปองที่แสดง.\"},\"couponPrice\":{\"type\":\"integer\",\"description\":\"จำนวนคูปองที่รายงานเป็นค่าจำนวนเต็ม.\"},\"couponStartTime\":{\"type\":\"string\",\"description\":\"เวลาเริ่มต้นสำหรับคูปองที่รายงานเป็นข้อความ.\"},\"couponEndTime\":{\"type\":\"string\",\"description\":\"เวลาสิ้นสุดสำหรับคูปองที่รายงานเป็นข้อความ.\"},\"couponRemainCount\":{\"type\":\"integer\",\"description\":\"จำนวนคูปองที่เหลืออยู่ที่รายงาน.\"},\"couponTotalCount\":{\"type\":\"integer\",\"description\":\"จำนวนคูปองทั้งหมดที่รายงาน.\"},\"itemUrl\":{\"type\":\"string\",\"description\":\"ลิงก์สำหรับรายการสินค้าที่แสดงพร้อมกับข้อมูลคูปอง.\"}}}}},\"itemSkuDO\":{\"type\":\"object\",\"description\":\"รายละเอียด SKU, ชุดคุณสมบัติ, และตัวเลือกที่สามารถเลือกได้.\",\"properties\":{\"skuList\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"description\":\"รายละเอียดของ SKU ที่ระบุโดยคีย์แผนผัง.\",\"properties\":{\"skuId\":{\"type\":\"integer\",\"description\":\"ID SKU ที่ส่งกลับเป็นค่าจำนวนเต็ม.\"},\"propPath\":{\"type\":\"string\",\"description\":\"ช่องทางคุณสมบัติของ SKU. คู่หนึ่งประกอบด้วย ID ของคุณสมบัติและ ID ของค่าที่มีจุดวางไว้ และคู่หลายคู่ถูกแยกออกจากกันด้วยจุดและสองตัว.\"},\"quantity\":{\"type\":\"string\",\"description\":\"ปริมาณที่รายงานสำหรับ SKU นี้ แสดงเป็นข้อความ.\"},\"price\":{\"type\":\"string\",\"description\":\"ราคาที่รายงานสำหรับ SKU นี้ หากมี.\"},\"priceMoney\":{\"type\":\"integer\",\"description\":\"การแสดงผลเป็นจำนวนเต็มของราคา SKU หากมี.\"}}},\"description\":\"แผนผัง SKU ที่คีย์คือ ID SKU แสดงเป็นสตริง. ฟิลด์ราคาอาจไม่มีสำหรับบางสินค้า.\"},\"skuPVPairList\":{\"type\":\"array\",\"description\":\"รายการ ID ของ SKU และเส้นทางการกำหนดสเปกของแต่ละ SKU\",\"items\":{\"type\":\"object\",\"description\":\"SKU หนึ่งตัวพร้อมการรวมกันของสเปกที่เลือกไว้\",\"properties\":{\"skuId\":{\"type\":\"integer\",\"description\":\"ID SKU ที่ส่งกลับเป็นค่าจำนวนเต็ม.\"},\"propPath\":{\"type\":\"string\",\"description\":\"ช่องทางคุณสมบัติของ SKU. คู่หนึ่งประกอบด้วย ID ของคุณสมบัติและ ID ของค่าที่มีจุดวางไว้ และคู่หลายคู่ถูกแยกออกจากกันด้วยจุดและสองตัว.\"}}}},\"skuPropertyList\":{\"type\":\"array\",\"description\":\"คุณสมบัติของสเปกที่กำหนดรูปแบบของสินค้าแตกต่างกัน\",\"items\":{\"type\":\"object\",\"description\":\"คุณสมบัติหนึ่งของสเปกพร้อมตัวเลือกของมัน\",\"properties\":{\"pid\":{\"type\":\"integer\",\"description\":\"ID ของคุณสมบัติสเปก ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ\"},\"propertyValues\":{\"type\":\"array\",\"description\":\"ตัวเลือกที่สามารถเลือกได้สำหรับคุณสมบัติสเปก\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือกหนึ่งสำหรับคุณสมบัติสเปก\",\"properties\":{\"vid\":{\"type\":\"integer\",\"description\":\"ID ของตัวเลือก ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของค่าตัวเลือก\"},\"image\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสำหรับตัวเลือกนั้น หากมีข้อมูล\"}}}}}}}}},\"props\":{\"type\":\"object\",\"description\":\"คุณสมบัติของสินค้าที่จัดกลุ่มเพื่อแสดงผลสำหรับสินค้านั้น\",\"properties\":{\"groupProps\":{\"type\":\"array\",\"description\":\"กลุ่มคุณสมบัติพร้อมชื่อกลุ่มและชื่อคุณสมบัติที่จัดเตรียมโดยแพลตฟอร์ม\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"description\":\"รายการคุณสมบัติสำหรับกลุ่มที่ระบุด้วยชื่อตัวแปร\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"description\":\"ค่าข้อความที่แสดงผลของคุณสมบัตินั้นตามชื่อตัวแปร\"},\"description\":\"ตัวแปรที่มีชื่อตามชื่อคุณสมบัติที่แสดงผล\"}},\"description\":\"ตัวแปรที่มีชื่อตามกลุ่มคุณสมบัติ\"}}}},\"seller\":{\"type\":\"object\",\"description\":\"ข้อมูลเกี่ยวกับร้านค้าและผู้ขายที่ส่งกลับมาพร้อมกับสินค้า\",\"properties\":{\"shopId\":{\"type\":\"integer\",\"description\":\"ID ของร้านค้าในตลาด ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม\"},\"userId\":{\"type\":\"integer\",\"description\":\"ID ของบัญชีผู้ขายในตลาด ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม\"},\"shopName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของร้านค้า\"},\"shopIcon\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพไอคอนของร้านค้า\"},\"shopUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังหน้าร้านค้า\"},\"taoShopUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ร้านค้าอีกอันที่ส่งกลับมาสำหรับรายการนี้\"},\"sellerType\":{\"type\":\"string\",\"description\":\"รหัสประเภทของผู้ขายที่ตลาดรายงาน\"},\"creditLevel\":{\"type\":\"string\",\"description\":\"ระดับเครดิตของผู้ขายที่รายงานเป็นข้อความ\"},\"allItemCount\":{\"type\":\"integer\",\"description\":\"จำนวนสินค้าที่รายงานในร้านค้า\"},\"newItemCount\":{\"type\":\"integer\",\"description\":\"จำนวนสินค้าใหม่ที่ได้รับรายงานในร้านค้า。\"},\"showShopLinkIcon\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลเมตาดาต้าแสดงให้เห็นว่ามีไอคอนลิงก์ร้านค้าปรากฏหรือไม่。\"},\"evaluates\":{\"type\":\"array\",\"description\":\"ดัชนีที่ตลาดรายงานสำหรับร้านค้า。\",\"items\":{\"type\":\"object\",\"description\":\"ดัชนีร้านค้าหนึ่งที่ได้รับรายงาน。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของเกณฑ์การประเมินร้านค้า。\"},\"score\":{\"type\":\"string\",\"description\":\"คะแนนที่ได้รับรายงานสำหรับเกณฑ์ที่ระบุ，ส่งกลับเป็นข้อความ。\"},\"level\":{\"type\":\"string\",\"description\":\"รหัสระดับที่ได้รับรายงานสำหรับคะแนน。\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทของเกณฑ์การประเมินที่ได้รับรายงาน。\"}}}}}},\"itemTrade\":{\"type\":\"object\",\"description\":\"ข้อมูลการขายและการชำระเงินที่ส่งกลับพร้อมกับสินค้า。\",\"properties\":{\"soldQuantityTotal\":{\"type\":\"string\",\"description\":\"จำนวนสินค้าที่ขายได้ทั้งหมดที่ได้รับรายงาน，ส่งกลับเป็นข้อความที่แสดง。\"},\"paymentList\":{\"type\":\"array\",\"description\":\"ตัวเลือกการชำระเงินที่แสดงพร้อมกับสินค้า。\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือกการชำระเงินหนึ่งที่แสดง。\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของวิธีชำระเงิน\"},\"logo\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพโลโก้สำหรับตัวเลือกการชำระเงิน。\"}}}}}},\"merchantReturnRegion\":{\"type\":\"array\",\"description\":\"เขตที่ระบุสำหรับการคืนของพ่อค้า。\",\"items\":{\"type\":\"string\",\"description\":\"เขตหนึ่งที่ระบุสำหรับการคืนของพ่อค้า。\"}},\"service\":{\"type\":\"object\",\"description\":\"ข้อมูลบริการของพ่อค้าที่เกี่ยวข้องกับสินค้า。\",\"properties\":{\"remarkUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ที่ให้ไว้สำหรับรายละเอียดบริการ。\"}}},\"rate\":{\"type\":\"object\",\"description\":\"การแบ่งแยกการรีวิวและรีวิวที่เลือกในรายละเอียดสินค้า。\",\"properties\":{\"totalCount\":{\"type\":\"string\",\"description\":\"จำนวนรีวิวทั้งหมดที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。\"},\"hasAppendCount\":{\"type\":\"string\",\"description\":\"จำนวนรีวิวที่มีเนื้อหาต่อเนื่องที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。\"},\"hasMediaCount\":{\"type\":\"string\",\"description\":\"จำนวนรีวิวที่มีสื่อที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。\"},\"hasNextPage\":{\"type\":\"boolean\",\"description\":\"ว่าการดูรีวิวแสดงให้เห็นว่ายังมีรีวิวอื่นๆ อยู่หรือไม่。\"},\"keywords\":{\"type\":\"array\",\"description\":\"คำสำคัญของรีวิวและจำนวนที่ได้รับรายงาน。\",\"items\":{\"type\":\"object\",\"description\":\"คำสำคัญของรีวิวหนึ่งที่แสดงสำหรับสินค้า。\",\"properties\":{\"word\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงของคำสำคัญของรีวิว。\"},\"count\":{\"type\":\"integer\",\"description\":\"จำนวนรีวิวที่ได้รับรายงานสำหรับคำสำคัญของรีวิว\"},\"labelId\":{\"type\":\"string\",\"description\":\"ID ของป้ายกำกับคำสำคัญของรีวิว ซึ่งถูกส่งกลับมาในรูปแบบข้อความ\"},\"type\":{\"type\":\"integer\",\"description\":\"รหัสประเภทของคำสำคัญของรีวิวที่ได้รับรายงาน\"}}}},\"rateList\":{\"type\":\"array\",\"description\":\"รีวิวที่รวมอยู่ในรายละเอียดของสินค้า\",\"items\":{\"type\":\"object\",\"description\":\"รีวิวหนึ่งรายการที่ได้รับการส่งกลับมาสำหรับสินค้า\",\"properties\":{\"userName\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของผู้รีวิว\"},\"headPic\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่แสดงตัวตนของผู้รีวิว\"},\"content\":{\"type\":\"string\",\"description\":\"ข้อความเนื้อหาของรีวิว\"},\"dateTime\":{\"type\":\"string\",\"description\":\"ข้อความเวลาการเผยแพร่รีวิวที่ได้รับรายงาน\"},\"skuInfo\":{\"type\":\"string\",\"description\":\"ข้อมูล SKU ที่แสดงในรีวิว\"},\"commentScore\":{\"type\":\"string\",\"description\":\"คะแนนรีวิวที่ได้รับรายงานในรูปแบบข้อความ\"},\"likeCount\":{\"type\":\"integer\",\"description\":\"จำนวนไลก์ของรีวิวตามที่รายงาน\"},\"images\":{\"type\":\"array\",\"description\":\"URL ของรูปภาพที่แนบมาพร้อมกับรีวิว หากมี\",\"items\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่แนบมาพร้อมกับรีวิว\"}},\"appendRateList\":{\"type\":\"array\",\"description\":\"ข้อความเนื้อหาประโยคติดตามสำหรับรีวิว หากมีการส่งกลับมา\",\"items\":{\"type\":\"object\",\"description\":\"ประโยคติดตามหนึ่งรายการสำหรับรีวิว\",\"properties\":{\"content\":{\"type\":\"string\",\"description\":\"ข้อความเนื้อหาของประโยครีวิวติดตาม\"},\"appendIntervalDay\":{\"type\":\"string\",\"description\":\"ระยะเวลาการติดตามในวันที่ที่ได้รับรายงาน หากมี จะถูกส่งกลับมาในรูปแบบข้อความ\"},\"images\":{\"type\":\"array\",\"description\":\"URL ของรูปภาพที่แนบมาพร้อมกับประโยครีวิวติดตาม หากมี\",\"items\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่แนบมาพร้อมกับประโยครีวิวติดตาม\"}}}}}}}}}},\"itemAskDOList\":{\"type\":\"array\",\"description\":\"คำถามและคำตอบเกี่ยวกับสินค้า หากมี\",\"items\":{\"type\":\"object\",\"description\":\"คำถามหนึ่งรายการที่เกี่ยวข้องกับสินค้า\",\"properties\":{\"askContent\":{\"type\":\"string\",\"description\":\"ข้อความของคำถาม\"},\"askUserNick\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของผู้ที่ถามคำถาม\"},\"createTime\":{\"type\":\"string\",\"description\":\"ข้อความเวลาการสร้างคำถามที่ได้รับรายงาน\"},\"answerList\":{\"type\":\"array\",\"description\":\"คำตอบที่รวมอยู่ในคำถาม\",\"items\":{\"type\":\"object\",\"description\":\"คำตอบหนึ่งรายการสำหรับคำถามเกี่ยวกับสินค้า\",\"properties\":{\"answerContent\":{\"type\":\"string\",\"description\":\"เนื้อหาคำตอบ.\"},\"createTime\":{\"type\":\"string\",\"description\":\"เวลาที่รายงานการสร้างคำตอบ.\"},\"userNick\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของผู้ตอบคำถาม.\"}}}}}}},\"mainItemInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลสำหรับรายการหลัก.\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"ID ของสินค้าในสรุปรายการ.\"},\"itemName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏในสรุปรายการ.\"},\"pic\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสินค้าในสรุปรายการ.\"},\"url\":{\"type\":\"string\",\"description\":\"ลิงก์สินค้าในสรุปรายการ หากมี.\"},\"afterCouponAmountPrice\":{\"type\":\"string\",\"description\":\"ราคาหลังมีคูปองที่ปรากฏในสรุปรายการ.\"},\"zkFinalPrice\":{\"type\":\"string\",\"description\":\"ราคาสุดท้ายหลังการลดราคาในสรุปรายการ หากมี.\"},\"promotionModel\":{\"type\":\"object\",\"description\":\"เวชชั่นการนำเสนอสำหรับการลดราคา หากมี.\",\"properties\":{\"promotionPriceModel\":{\"type\":\"object\",\"description\":\"จำนวนเงินที่รายงานและข้อความสำหรับการลดราคา.\",\"properties\":{\"promotionPrice\":{\"type\":\"string\",\"description\":\"จำนวนเงินสำหรับราคาพิเศษที่รายงานเป็นข้อความ.\"},\"promotionPriceDescDisplay\":{\"type\":\"string\",\"description\":\"คำอธิบายสำหรับราคาพิเศษที่ปรากฏ.\"},\"promotionPriceDisplay\":{\"type\":\"string\",\"description\":\"ข้อความสำหรับราคาพิเศษที่ปรากฏ.\"},\"zkPrice\":{\"type\":\"string\",\"description\":\"จำนวนเงินราคาลดราคาที่รายงานเป็นข้อความ.\"},\"zkPriceDisplay\":{\"type\":\"string\",\"description\":\"ข้อความสำหรับราคาลดราคาที่ปรากฏ.\"}}},\"promotionTagModel\":{\"type\":\"array\",\"description\":\"ป้ายที่ใช้แสดงการลดราคา.\",\"items\":{\"type\":\"object\",\"description\":\"ชื่อประเภทการแสดงผลของโปรโมชั่น.\",\"properties\":{\"tagDisplay\":{\"type\":\"string\",\"description\":\"ข้อความป้ายการลดราคาที่ปรากฏ.\"},\"tagType\":{\"type\":\"string\",\"description\":\"รหัสประเภทของป้ายการลดราคาที่รายงาน.\"},\"tagTypeDisplay\":{\"type\":\"string\",\"description\":\"ชื่อป้ายการลดราคาที่ปรากฏ.\"}}}}}},\"taobaoPromotionModel\":{\"type\":\"object\",\"description\":\"สรุปการลดราคาใน Marketplace หากมี.\",\"properties\":{\"finalPromotionInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลราคาสุดท้ายสำหรับการลดราคาในสรุป.\",\"properties\":{\"finalPromotionPrice\":{\"type\":\"string\",\"description\":\"ราคาสุดท้ายสำหรับการลดราคาที่รายงานเป็นข้อความ.\"}}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"การอนุญาตถูกปฏิเสธ\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"ความผิดพลาดของเซิร์ฟเวอร์ภายใน\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"บริการไม่สามารถใช้งานได้ในขณะนี้\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/taobao/get-item-detail/v1\"")' />

<p>ใช้ endpoint V1 เพื่อดึงข้อมูลสินค้าจาก Taobao หรือ Tmall โดยอ้างอิงจาก ID ของสินค้า ใช้สำหรับการค้นหาสินค้าโดยตรงเพื่อการวิจัยแคตตาล็อก การติดตามสินค้า หรือการวิเคราะห์ธุรกิจอีคอมเมิร์ซ</p>

## สิ่งที่น่าสนใจ

::: warning เงื่อนไข · ราคา
<p>ส่งคืนราคาสินค้าจริงของผลิตภัณฑ์。ราคา SKU สามารถใช้ได้สำหรับบางผลิตภัณฑ์และอาจไม่มีสำหรับผลิตภัณฑ์อื่น。</p>
:::

::: info ความสามารถ · คุณสมบัติ
<p>แสดงตารางผลิตภัณฑ์ที่จัดกลุ่มพารามิเตอร์。</p>
:::

::: info ความสามารถ · ตัวเลือก SKU
<p>แสดง SKU ตัวระบุ ตัวเลือกข้อกำหนด และข้อมูลปริมาณ。</p>
:::

::: info ความสามารถ · ภาพหลักและภาพคาราโว
<p>แสดงภาพหลักและภาพคาราโวของผลิตภัณฑ์。</p>
:::

::: warning เงื่อนไข · รูปภาพคำอธิบาย
<p>รูปภาพคำอธิบายถูกบรรจุไว้ใน HTML คำอธิบาย และจำเป็นต้องถูกแยกออกมา; ไม่มีรายการรูปภาพแยกต่างหากให้</p>
:::

::: tip เงื่อนไข
<p>แสดงราคา SKU。</p>
:::

## พารามิเตอร์

<div class="api-doc-table api-doc-table--params">

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นการเข้าถึงสำหรับบริการ API นี้ |
| <code>itemId</code> | query | <code>string</code> | ใช่ | - | ตัวระบุสินค้าที่ไม่ซ้ำกันบน Taobao/Tmall (ID ของสินค้า)。 |

</div>

## ตัวอย่างโค้ด

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดสินค้า (V1)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v1-th.json

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- itemId (query): ตัวระบุสินค้าที่ไม่ซ้ำกันบน Taobao/Tmall (ID ของสินค้า)。 (จำเป็น)

รูปแบบที่ส่งกลับ: จัดการ JSON หรือข้อความอย่างปลอดภัยตามค่า Content-Type ที่ได้รับจริง

การจัดการผลตอบกลับและรหัสข้อผิดพลาด:
1. ตรวจสอบผลการทำงานจากฟิลด์ "code" ในผลตอบกลับ (รหัส 0 หมายถึงสำเร็จ)
2. แนะนำให้ตั้งระยะเวลารอ 120 วินาที หาก 120 วินาทีนานเกินไป ให้ตั้งอย่างน้อย 60 วินาที แต่คำขอบางรายการอาจหมดเวลาก่อนได้รับผลลัพธ์
3. รหัสผลลัพธ์:
   - 0: สำเร็จ
   - 100: โทเคนไม่ถูกต้องหรือถูกปิดใช้งาน
   - 301: ดึงข้อมูลไม่สำเร็จ โปรดลองอีกครั้ง
   - 302: เกินขีดจำกัดอัตราการเรียก
   - 303: ใช้โควตารายวันครบแล้ว
   - 400: พารามิเตอร์ไม่ถูกต้อง
   - 500: ข้อผิดพลาดภายในเซิร์ฟเวอร์
   - 600: ไม่มีสิทธิ์เข้าถึง
   - 601: ยอดเงินคงเหลือไม่เพียงพอ
   - 602: ถึงวงเงินของโทเคนแล้ว
4. รหัส 601 หมายถึงยอดเงินที่ใช้ร่วมกันของบัญชีไม่เพียงพอ รหัส 602 หมายถึงโทเคน API ถึงวงเงินสะสมของตนเองแล้ว การกำหนดวงเงินโทเคนจะไม่โอนเงินออกจากยอดเงินที่ใช้ร่วมกันของบัญชี

กรุณาช่วยเขียนสคริปต์ในภาษาโปรแกรมที่ฉันชื่นชอบเพื่อเรียกใช้ API และจัดการการตอบกลับ.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # ให้โดยเซิร์ฟเวอร์ OpenAPI

url = BASE_URL + "/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
const url = BASE_URL + "/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // ให้โดยเซิร์ฟเวอร์ OpenAPI
        final String url = BASE_URL + "/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // ให้โดยเซิร์ฟเวอร์ OpenAPI

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // ให้โดยเซิร์ฟเวอร์ OpenAPI
$url = $BASE_URL . '/api/taobao/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/taobao-and-tmall/product-details-v1-th.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[คำนิยาม OpenAPI (JSON)]</a>
</div>

## ฟิลด์ที่ได้รับการตอบกลับ

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| เส้นทางฟิลด์ | ชนิดข้อมูล | คำอธิบาย |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | ข้อมูลรายละเอียดสินค้าจาก Taobao หรือ Tmall รวมถึงข้อมูลการแสดงผล ราคา คุณสมบัติ และเนื้อหาที่เกี่ยวข้อง |
| <code>data.item</code> | <code>object</code> | ข้อมูลสินค้าสำหรับไฟล์เนื้อหาที่ต้องการ |
| <code>data.item.itemId</code> | <code>integer</code> | ID ของสินค้าจาก Taobao หรือ Tmall กลับมาเป็นตัวเลข |
| <code>data.item.title</code> | <code>string</code> | ชื่อเรื่องที่แสดงของรายการที่แสดง |
| <code>data.item.categoryId</code> | <code>string</code> | ID ของหมวดหมู่ที่สินค้านั้นมี กลับมาเป็นข้อความ |
| <code>data.item.rootCategoryId</code> | <code>string</code> | ID ของหมวดหมู่ระดับสูงที่กำหนดให้กับรายการนี้ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.item.location</code> | <code>string</code> | สถานที่ที่แสดงสำหรับรายการ. |
| <code>data.item.sellCount</code> | <code>string</code> | ข้อความจำนวนการขายที่แสดงสำหรับรายการ. |
| <code>data.item.seoItemType</code> | <code>string</code> | ชื่อประเภทการแสดงผลของแพลตฟอร์มสำหรับรายการ. |
| <code>data.item.images</code> | <code>array</code> | URL ของรูปภาพสินค้าในลำดับที่แสดง. |
| <code>data.item.images[]</code> | <code>string</code> | URL ของรูปสินค้า |
| <code>data.item.videos</code> | <code>array</code> | วิดีโอที่แสดงพร้อมกับรายการ. |
| <code>data.item.videos[]</code> | <code>object</code> | วิดีโอสินค้าหนึ่งตัว. |
| <code>data.item.videos[].videoUrl</code> | <code>string</code> | URL ของวิดีโอสินค้า |
| <code>data.item.videos[].coverUrl</code> | <code>string</code> | URL รูปหน้าปกของวิดีโอสินค้า |
| <code>data.item.videos[].uploadDate</code> | <code>string</code> | ข้อความวันที่อัปโหลดสำหรับวิดีโอสินค้า. |
| <code>data.item.kolVideos</code> | <code>array</code> | วิดีโอจากผู้สร้างที่เกี่ยวข้องกับรายการ, ถ้ามี. |
| <code>data.item.kolVideos[]</code> | <code>object</code> | วิดีโอหนึ่งตัวจากผู้สร้างที่เกี่ยวข้องกับรายการ. |
| <code>data.item.kolVideos[].nick</code> | <code>string</code> | ชื่อเรียกที่แสดงของผู้สร้าง. |
| <code>data.item.kolVideos[].coverUrl</code> | <code>string</code> | URL รูปหน้าปกของวิดีโอของครีเอเตอร์ |
| <code>data.item.kolVideos[].video5sUrl</code> | <code>string</code> | URL ที่ให้ไว้สำหรับวิดีโอสั้นๆ. |
| <code>data.item.kolVideos[].videoUrl</code> | <code>string</code> | URL ของวิดีโอของครีเอเตอร์ |
| <code>data.item.beehiveContent</code> | <code>object</code> | เนื้อหาที่เกี่ยวข้องที่แสดงพร้อมกับสินค้า. |
| <code>data.item.beehiveContent.accountName</code> | <code>string</code> | ชื่อที่แสดงของบัญชีของเนื้อหาที่เกี่ยวข้อง |
| <code>data.item.beehiveContent.contentAggreName</code> | <code>string</code> | ชื่อที่แสดงของคอลเลกชันเนื้อหาที่เกี่ยวข้อง |
| <code>data.item.beehiveContent.contentAggreUrl</code> | <code>string</code> | ลิงก์ไปยังชุดเนื้อหาที่เกี่ยวข้อง, ถ้ามี. |
| <code>data.item.beehiveContent.contentCover</code> | <code>string</code> | URL รูปหน้าปกของเนื้อหาที่เกี่ยวข้อง |
| <code>data.item.beehiveContent.contentDetailUrl</code> | <code>string</code> | ลิงก์ไปยังรายละเอียดเนื้อหาที่เกี่ยวข้อง. |
| <code>data.item.beehiveContent.contentSummary</code> | <code>string</code> | ข้อความสรุปสำหรับเนื้อหาที่เกี่ยวข้อง. |
| <code>data.item.beehiveContent.contentTitle</code> | <code>string</code> | ชื่อเรื่องที่แสดงของเนื้อหาที่เกี่ยวข้อง |
| <code>data.itemDesc</code> | <code>string</code> | คำอธิบายสินค้าในรูปแบบ HTML ข้อความ. ลิงก์ของรูปภาพคำอธิบายสามารถปรากฏภายในเครื่องหมายอัฒจันทร์ได้. |
| <code>data.itemExist</code> | <code>boolean</code> | ตัวบ่งชี้การมีอยู่ของรายการที่รายงานในรายละเอียดของผลิตภัณฑ์. |
| <code>data.success</code> | <code>boolean</code> | ตัวบ่งชี้ความสำเร็จที่รายงานภายในข้อมูลรายละเอียดสินค้า. |
| <code>data.areaLimit</code> | <code>boolean</code> | ว่ามีการรายงานข้อจำกัดด้านภูมิภาคสำหรับรายการหรือไม่. |
| <code>data.freeShipping</code> | <code>boolean</code> | ว่าสินค้ามีการระบุว่าให้บริการจัดส่งฟรีหรือไม่. |
| <code>data.skuId</code> | <code>integer</code> | ID SKU ที่ถูกส่งกลับมาพร้อมกับข้อมูลผลิตภัณฑ์ |
| <code>data.creativeText</code> | <code>string</code> | ข้อความแสดงโปรโมชั่นที่เกี่ยวข้องกับสินค้า, ถ้ามี. |
| <code>data.itemPrice</code> | <code>object</code> | ข้อมูลการแสดงราคาและโปรโมชั่นระดับรายการ. |
| <code>data.itemPrice.price</code> | <code>string</code> | ข้อความราคาสินค้าที่แสดงสำหรับรายการ, ถ้ามี. |
| <code>data.itemPrice.originalPrice</code> | <code>string</code> | รายงานราคาสินค้าจากต้นฉบับเป็นข้อความ. |
| <code>data.itemPrice.promotionPrice</code> | <code>string</code> | รายงานราคาสินค้าสำหรับการลดราคาเป็นข้อความ. |
| <code>data.itemPrice.promotionName</code> | <code>string</code> | ชื่อที่แสดงของโปรโมชันของรายการ |
| <code>data.itemPrice.hasRangePrice</code> | <code>boolean</code> | ว่าข้อมูลราคาถูกบ่งบอกเป็นช่วงหรือไม่. |
| <code>data.itemPrice.exchangePriceHKD</code> | <code>string</code> | ราคาที่แสดงผลแปลงเป็นดอลลาร์ฮ่องกง. |
| <code>data.itemPrice.exchangePriceTWD</code> | <code>string</code> | ราคาที่แสดงผลแปลงเป็นดอลลาร์ไต้หวันใหม่. |
| <code>data.itemPrice.startTime</code> | <code>string</code> | รายงานเวลาเริ่มต้นสำหรับข้อมูลราคาเป็นข้อความ. |
| <code>data.itemPrice.endTime</code> | <code>string</code> | รายงานเวลาสิ้นสุดสำหรับข้อมูลราคาเป็นข้อความ. |
| <code>data.itemPrice.remark</code> | <code>string</code> | หมายเหตุที่แสดงพร้อมกับข้อมูลราคา. |
| <code>data.coupon</code> | <code>object</code> | ข้อมูลคูปองที่ส่งกลับสำหรับสินค้า. |
| <code>data.coupon.coupon</code> | <code>object</code> | รายละเอียดคูปองที่ฝังไว้ในคำตอบ. |
| <code>data.coupon.coupon.couponClickUrl</code> | <code>string</code> | ลิงก์สำหรับคูปอง หากมี. |
| <code>data.coupon.coupon.couponInfo</code> | <code>string</code> | คำอธิบายคูปองที่แสดง. |
| <code>data.coupon.coupon.couponPrice</code> | <code>integer</code> | จำนวนคูปองที่รายงานเป็นค่าจำนวนเต็ม. |
| <code>data.coupon.coupon.couponStartTime</code> | <code>string</code> | เวลาเริ่มต้นสำหรับคูปองที่รายงานเป็นข้อความ. |
| <code>data.coupon.coupon.couponEndTime</code> | <code>string</code> | เวลาสิ้นสุดสำหรับคูปองที่รายงานเป็นข้อความ. |
| <code>data.coupon.coupon.couponRemainCount</code> | <code>integer</code> | จำนวนคูปองที่เหลืออยู่ที่รายงาน. |
| <code>data.coupon.coupon.couponTotalCount</code> | <code>integer</code> | จำนวนคูปองทั้งหมดที่รายงาน. |
| <code>data.coupon.coupon.itemUrl</code> | <code>string</code> | ลิงก์สำหรับรายการสินค้าที่แสดงพร้อมกับข้อมูลคูปอง. |
| <code>data.itemSkuDO</code> | <code>object</code> | รายละเอียด SKU, ชุดคุณสมบัติ, และตัวเลือกที่สามารถเลือกได้. |
| <code>data.itemSkuDO.skuList</code> | <code>object</code> | แผนผัง SKU ที่คีย์คือ ID SKU แสดงเป็นสตริง. ฟิลด์ราคาอาจไม่มีสำหรับบางสินค้า. |
| <code>data.itemSkuDO.skuList.{key}</code> | <code>object</code> | รายละเอียดของ SKU ที่ระบุโดยคีย์แผนผัง. |
| <code>data.itemSkuDO.skuList.{key}.skuId</code> | <code>integer</code> | ID SKU ที่ส่งกลับเป็นค่าจำนวนเต็ม. |
| <code>data.itemSkuDO.skuList.{key}.propPath</code> | <code>string</code> | ช่องทางคุณสมบัติของ SKU. คู่หนึ่งประกอบด้วย ID ของคุณสมบัติและ ID ของค่าที่มีจุดวางไว้ และคู่หลายคู่ถูกแยกออกจากกันด้วยจุดและสองตัว. |
| <code>data.itemSkuDO.skuList.{key}.quantity</code> | <code>string</code> | ปริมาณที่รายงานสำหรับ SKU นี้ แสดงเป็นข้อความ. |
| <code>data.itemSkuDO.skuList.{key}.price</code> | <code>string</code> | ราคาที่รายงานสำหรับ SKU นี้ หากมี. |
| <code>data.itemSkuDO.skuList.{key}.priceMoney</code> | <code>integer</code> | การแสดงผลเป็นจำนวนเต็มของราคา SKU หากมี. |
| <code>data.itemSkuDO.skuPVPairList</code> | <code>array</code> | รายการ ID ของ SKU และเส้นทางการกำหนดสเปกของแต่ละ SKU |
| <code>data.itemSkuDO.skuPVPairList[]</code> | <code>object</code> | SKU หนึ่งตัวพร้อมการรวมกันของสเปกที่เลือกไว้ |
| <code>data.itemSkuDO.skuPVPairList[].skuId</code> | <code>integer</code> | ID SKU ที่ส่งกลับเป็นค่าจำนวนเต็ม. |
| <code>data.itemSkuDO.skuPVPairList[].propPath</code> | <code>string</code> | ช่องทางคุณสมบัติของ SKU. คู่หนึ่งประกอบด้วย ID ของคุณสมบัติและ ID ของค่าที่มีจุดวางไว้ และคู่หลายคู่ถูกแยกออกจากกันด้วยจุดและสองตัว. |
| <code>data.itemSkuDO.skuPropertyList</code> | <code>array</code> | คุณสมบัติของสเปกที่กำหนดรูปแบบของสินค้าแตกต่างกัน |
| <code>data.itemSkuDO.skuPropertyList[]</code> | <code>object</code> | คุณสมบัติหนึ่งของสเปกพร้อมตัวเลือกของมัน |
| <code>data.itemSkuDO.skuPropertyList[].pid</code> | <code>integer</code> | ID ของคุณสมบัติสเปก ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม |
| <code>data.itemSkuDO.skuPropertyList[].name</code> | <code>string</code> | ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ |
| <code>data.itemSkuDO.skuPropertyList[].propertyValues</code> | <code>array</code> | ตัวเลือกที่สามารถเลือกได้สำหรับคุณสมบัติสเปก |
| <code>data.itemSkuDO.skuPropertyList[].propertyValues[]</code> | <code>object</code> | ตัวเลือกหนึ่งสำหรับคุณสมบัติสเปก |
| <code>data.itemSkuDO.skuPropertyList[].propertyValues[].vid</code> | <code>integer</code> | ID ของตัวเลือก ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม |
| <code>data.itemSkuDO.skuPropertyList[].propertyValues[].name</code> | <code>string</code> | ชื่อที่แสดงของค่าตัวเลือก |
| <code>data.itemSkuDO.skuPropertyList[].propertyValues[].image</code> | <code>string</code> | URL ของรูปภาพสำหรับตัวเลือกนั้น หากมีข้อมูล |
| <code>data.props</code> | <code>object</code> | คุณสมบัติของสินค้าที่จัดกลุ่มเพื่อแสดงผลสำหรับสินค้านั้น |
| <code>data.props.groupProps</code> | <code>array</code> | กลุ่มคุณสมบัติพร้อมชื่อกลุ่มและชื่อคุณสมบัติที่จัดเตรียมโดยแพลตฟอร์ม |
| <code>data.props.groupProps[]</code> | <code>object</code> | ตัวแปรที่มีชื่อตามกลุ่มคุณสมบัติ |
| <code>data.props.groupProps[].{key}</code> | <code>array</code> | รายการคุณสมบัติสำหรับกลุ่มที่ระบุด้วยชื่อตัวแปร |
| <code>data.props.groupProps[].{key}[]</code> | <code>object</code> | ตัวแปรที่มีชื่อตามชื่อคุณสมบัติที่แสดงผล |
| <code>data.props.groupProps[].{key}[].{key}</code> | <code>string</code> | ค่าข้อความที่แสดงผลของคุณสมบัตินั้นตามชื่อตัวแปร |
| <code>data.seller</code> | <code>object</code> | ข้อมูลเกี่ยวกับร้านค้าและผู้ขายที่ส่งกลับมาพร้อมกับสินค้า |
| <code>data.seller.shopId</code> | <code>integer</code> | ID ของร้านค้าในตลาด ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม |
| <code>data.seller.userId</code> | <code>integer</code> | ID ของบัญชีผู้ขายในตลาด ถูกส่งกลับเป็นตัวเลขจำนวนเต็ม |
| <code>data.seller.shopName</code> | <code>string</code> | ชื่อที่ปรากฏของร้านค้า |
| <code>data.seller.shopIcon</code> | <code>string</code> | URL ของรูปภาพไอคอนของร้านค้า |
| <code>data.seller.shopUrl</code> | <code>string</code> | ลิงก์ไปยังหน้าร้านค้า |
| <code>data.seller.taoShopUrl</code> | <code>string</code> | ลิงก์ร้านค้าอีกอันที่ส่งกลับมาสำหรับรายการนี้ |
| <code>data.seller.sellerType</code> | <code>string</code> | รหัสประเภทของผู้ขายที่ตลาดรายงาน |
| <code>data.seller.creditLevel</code> | <code>string</code> | ระดับเครดิตของผู้ขายที่รายงานเป็นข้อความ |
| <code>data.seller.allItemCount</code> | <code>integer</code> | จำนวนสินค้าที่รายงานในร้านค้า |
| <code>data.seller.newItemCount</code> | <code>integer</code> | จำนวนสินค้าใหม่ที่ได้รับรายงานในร้านค้า。 |
| <code>data.seller.showShopLinkIcon</code> | <code>boolean</code> | ว่าข้อมูลเมตาดาต้าแสดงให้เห็นว่ามีไอคอนลิงก์ร้านค้าปรากฏหรือไม่。 |
| <code>data.seller.evaluates</code> | <code>array</code> | ดัชนีที่ตลาดรายงานสำหรับร้านค้า。 |
| <code>data.seller.evaluates[]</code> | <code>object</code> | ดัชนีร้านค้าหนึ่งที่ได้รับรายงาน。 |
| <code>data.seller.evaluates[].title</code> | <code>string</code> | ชื่อที่ปรากฏของเกณฑ์การประเมินร้านค้า。 |
| <code>data.seller.evaluates[].score</code> | <code>string</code> | คะแนนที่ได้รับรายงานสำหรับเกณฑ์ที่ระบุ，ส่งกลับเป็นข้อความ。 |
| <code>data.seller.evaluates[].level</code> | <code>string</code> | รหัสระดับที่ได้รับรายงานสำหรับคะแนน。 |
| <code>data.seller.evaluates[].type</code> | <code>string</code> | รหัสประเภทของเกณฑ์การประเมินที่ได้รับรายงาน。 |
| <code>data.itemTrade</code> | <code>object</code> | ข้อมูลการขายและการชำระเงินที่ส่งกลับพร้อมกับสินค้า。 |
| <code>data.itemTrade.soldQuantityTotal</code> | <code>string</code> | จำนวนสินค้าที่ขายได้ทั้งหมดที่ได้รับรายงาน，ส่งกลับเป็นข้อความที่แสดง。 |
| <code>data.itemTrade.paymentList</code> | <code>array</code> | ตัวเลือกการชำระเงินที่แสดงพร้อมกับสินค้า。 |
| <code>data.itemTrade.paymentList[]</code> | <code>object</code> | ตัวเลือกการชำระเงินหนึ่งที่แสดง。 |
| <code>data.itemTrade.paymentList[].name</code> | <code>string</code> | ชื่อที่แสดงของวิธีชำระเงิน |
| <code>data.itemTrade.paymentList[].logo</code> | <code>string</code> | URL ของรูปภาพโลโก้สำหรับตัวเลือกการชำระเงิน。 |
| <code>data.merchantReturnRegion</code> | <code>array</code> | เขตที่ระบุสำหรับการคืนของพ่อค้า。 |
| <code>data.merchantReturnRegion[]</code> | <code>string</code> | เขตหนึ่งที่ระบุสำหรับการคืนของพ่อค้า。 |
| <code>data.service</code> | <code>object</code> | ข้อมูลบริการของพ่อค้าที่เกี่ยวข้องกับสินค้า。 |
| <code>data.service.remarkUrl</code> | <code>string</code> | ลิงก์ที่ให้ไว้สำหรับรายละเอียดบริการ。 |
| <code>data.rate</code> | <code>object</code> | การแบ่งแยกการรีวิวและรีวิวที่เลือกในรายละเอียดสินค้า。 |
| <code>data.rate.totalCount</code> | <code>string</code> | จำนวนรีวิวทั้งหมดที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。 |
| <code>data.rate.hasAppendCount</code> | <code>string</code> | จำนวนรีวิวที่มีเนื้อหาต่อเนื่องที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。 |
| <code>data.rate.hasMediaCount</code> | <code>string</code> | จำนวนรีวิวที่มีสื่อที่ได้รับรายงาน，ส่งกลับเป็นข้อความ。 |
| <code>data.rate.hasNextPage</code> | <code>boolean</code> | ว่าการดูรีวิวแสดงให้เห็นว่ายังมีรีวิวอื่นๆ อยู่หรือไม่。 |
| <code>data.rate.keywords</code> | <code>array</code> | คำสำคัญของรีวิวและจำนวนที่ได้รับรายงาน。 |
| <code>data.rate.keywords[]</code> | <code>object</code> | คำสำคัญของรีวิวหนึ่งที่แสดงสำหรับสินค้า。 |
| <code>data.rate.keywords[].word</code> | <code>string</code> | ข้อความที่แสดงของคำสำคัญของรีวิว。 |
| <code>data.rate.keywords[].count</code> | <code>integer</code> | จำนวนรีวิวที่ได้รับรายงานสำหรับคำสำคัญของรีวิว |
| <code>data.rate.keywords[].labelId</code> | <code>string</code> | ID ของป้ายกำกับคำสำคัญของรีวิว ซึ่งถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.rate.keywords[].type</code> | <code>integer</code> | รหัสประเภทของคำสำคัญของรีวิวที่ได้รับรายงาน |
| <code>data.rate.rateList</code> | <code>array</code> | รีวิวที่รวมอยู่ในรายละเอียดของสินค้า |
| <code>data.rate.rateList[]</code> | <code>object</code> | รีวิวหนึ่งรายการที่ได้รับการส่งกลับมาสำหรับสินค้า |
| <code>data.rate.rateList[].userName</code> | <code>string</code> | ชื่อที่แสดงของผู้รีวิว |
| <code>data.rate.rateList[].headPic</code> | <code>string</code> | URL ของรูปภาพที่แสดงตัวตนของผู้รีวิว |
| <code>data.rate.rateList[].content</code> | <code>string</code> | ข้อความเนื้อหาของรีวิว |
| <code>data.rate.rateList[].dateTime</code> | <code>string</code> | ข้อความเวลาการเผยแพร่รีวิวที่ได้รับรายงาน |
| <code>data.rate.rateList[].skuInfo</code> | <code>string</code> | ข้อมูล SKU ที่แสดงในรีวิว |
| <code>data.rate.rateList[].commentScore</code> | <code>string</code> | คะแนนรีวิวที่ได้รับรายงานในรูปแบบข้อความ |
| <code>data.rate.rateList[].likeCount</code> | <code>integer</code> | จำนวนไลก์ของรีวิวตามที่รายงาน |
| <code>data.rate.rateList[].images</code> | <code>array</code> | URL ของรูปภาพที่แนบมาพร้อมกับรีวิว หากมี |
| <code>data.rate.rateList[].images[]</code> | <code>string</code> | URL ของรูปภาพที่แนบมาพร้อมกับรีวิว |
| <code>data.rate.rateList[].appendRateList</code> | <code>array</code> | ข้อความเนื้อหาประโยคติดตามสำหรับรีวิว หากมีการส่งกลับมา |
| <code>data.rate.rateList[].appendRateList[]</code> | <code>object</code> | ประโยคติดตามหนึ่งรายการสำหรับรีวิว |
| <code>data.rate.rateList[].appendRateList[].content</code> | <code>string</code> | ข้อความเนื้อหาของประโยครีวิวติดตาม |
| <code>data.rate.rateList[].appendRateList[].appendIntervalDay</code> | <code>string</code> | ระยะเวลาการติดตามในวันที่ที่ได้รับรายงาน หากมี จะถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.rate.rateList[].appendRateList[].images</code> | <code>array</code> | URL ของรูปภาพที่แนบมาพร้อมกับประโยครีวิวติดตาม หากมี |
| <code>data.rate.rateList[].appendRateList[].images[]</code> | <code>string</code> | URL ของรูปภาพที่แนบมาพร้อมกับประโยครีวิวติดตาม |
| <code>data.itemAskDOList</code> | <code>array</code> | คำถามและคำตอบเกี่ยวกับสินค้า หากมี |
| <code>data.itemAskDOList[]</code> | <code>object</code> | คำถามหนึ่งรายการที่เกี่ยวข้องกับสินค้า |
| <code>data.itemAskDOList[].askContent</code> | <code>string</code> | ข้อความของคำถาม |
| <code>data.itemAskDOList[].askUserNick</code> | <code>string</code> | ชื่อที่แสดงของผู้ที่ถามคำถาม |
| <code>data.itemAskDOList[].createTime</code> | <code>string</code> | ข้อความเวลาการสร้างคำถามที่ได้รับรายงาน |
| <code>data.itemAskDOList[].answerList</code> | <code>array</code> | คำตอบที่รวมอยู่ในคำถาม |
| <code>data.itemAskDOList[].answerList[]</code> | <code>object</code> | คำตอบหนึ่งรายการสำหรับคำถามเกี่ยวกับสินค้า |
| <code>data.itemAskDOList[].answerList[].answerContent</code> | <code>string</code> | เนื้อหาคำตอบ. |
| <code>data.itemAskDOList[].answerList[].createTime</code> | <code>string</code> | เวลาที่รายงานการสร้างคำตอบ. |
| <code>data.itemAskDOList[].answerList[].userNick</code> | <code>string</code> | ชื่อที่ปรากฏของผู้ตอบคำถาม. |
| <code>data.mainItemInfo</code> | <code>object</code> | ข้อมูลสำหรับรายการหลัก. |
| <code>data.mainItemInfo.itemId</code> | <code>string</code> | ID ของสินค้าในสรุปรายการ. |
| <code>data.mainItemInfo.itemName</code> | <code>string</code> | ชื่อที่ปรากฏในสรุปรายการ. |
| <code>data.mainItemInfo.pic</code> | <code>string</code> | URL ของรูปภาพสินค้าในสรุปรายการ. |
| <code>data.mainItemInfo.url</code> | <code>string</code> | ลิงก์สินค้าในสรุปรายการ หากมี. |
| <code>data.mainItemInfo.afterCouponAmountPrice</code> | <code>string</code> | ราคาหลังมีคูปองที่ปรากฏในสรุปรายการ. |
| <code>data.mainItemInfo.zkFinalPrice</code> | <code>string</code> | ราคาสุดท้ายหลังการลดราคาในสรุปรายการ หากมี. |
| <code>data.mainItemInfo.promotionModel</code> | <code>object</code> | เวชชั่นการนำเสนอสำหรับการลดราคา หากมี. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel</code> | <code>object</code> | จำนวนเงินที่รายงานและข้อความสำหรับการลดราคา. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.promotionPrice</code> | <code>string</code> | จำนวนเงินสำหรับราคาพิเศษที่รายงานเป็นข้อความ. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.promotionPriceDescDisplay</code> | <code>string</code> | คำอธิบายสำหรับราคาพิเศษที่ปรากฏ. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.promotionPriceDisplay</code> | <code>string</code> | ข้อความสำหรับราคาพิเศษที่ปรากฏ. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.zkPrice</code> | <code>string</code> | จำนวนเงินราคาลดราคาที่รายงานเป็นข้อความ. |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.zkPriceDisplay</code> | <code>string</code> | ข้อความสำหรับราคาลดราคาที่ปรากฏ. |
| <code>data.mainItemInfo.promotionModel.promotionTagModel</code> | <code>array</code> | ป้ายที่ใช้แสดงการลดราคา. |
| <code>data.mainItemInfo.promotionModel.promotionTagModel[]</code> | <code>object</code> | ชื่อประเภทการแสดงผลของโปรโมชั่น. |
| <code>data.mainItemInfo.promotionModel.promotionTagModel[].tagDisplay</code> | <code>string</code> | ข้อความป้ายการลดราคาที่ปรากฏ. |
| <code>data.mainItemInfo.promotionModel.promotionTagModel[].tagType</code> | <code>string</code> | รหัสประเภทของป้ายการลดราคาที่รายงาน. |
| <code>data.mainItemInfo.promotionModel.promotionTagModel[].tagTypeDisplay</code> | <code>string</code> | ชื่อป้ายการลดราคาที่ปรากฏ. |
| <code>data.mainItemInfo.taobaoPromotionModel</code> | <code>object</code> | สรุปการลดราคาใน Marketplace หากมี. |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo</code> | <code>object</code> | ข้อมูลราคาสุดท้ายสำหรับการลดราคาในสรุป. |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.finalPromotionPrice</code> | <code>string</code> | ราคาสุดท้ายสำหรับการลดราคาที่รายงานเป็นข้อความ. |

</div>

## ตัวอย่างผลการตอบกลับ

<ApiExampleSection :api='JSON.parse("\"/api/taobao/get-item-detail/v1\"")' />

