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

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

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/taobao/get-item-detail/v9\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า (V9)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v9-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\",\"null\"],\"description\":\"ข้อมูลรายละเอียดของผลิตภัณฑ์สำหรับรายการที่ขอจาก Taobao หรือ Tmall หากการตอบกลับสำเร็จ อาจมีข้อมูล null\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"ID ของรายการจาก Taobao หรือ Tmall ในรูปแบบข้อความ\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องของสินค้า\"},\"categoryId\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่สินค้าในรูปแบบข้อความ\"},\"num\":{\"type\":\"string\",\"description\":\"จำนวนที่แสดงผลสำหรับสินค้า ซึ่งอาจเป็นค่าข้อความย่อ\"},\"price\":{\"type\":\"string\",\"description\":\"ราคาสินค้าที่รายงานในรูปแบบข้อความ\"},\"nick\":{\"type\":\"string\",\"description\":\"ชื่อผู้ขายที่รายงาน\"},\"userId\":{\"type\":\"string\",\"description\":\"ID บัญชีผู้ขายในรูปแบบข้อความ\"},\"sellerType\":{\"type\":\"string\",\"description\":\"รหัสประเภทของผู้ขายที่รายงานในรูปแบบข้อความ\"},\"shopId\":{\"type\":\"string\",\"description\":\"ID ของร้านค้าบน Taobao หรือ Tmall ในรูปแบบข้อความ。\"},\"shopName\":{\"type\":\"string\",\"description\":\"ชื่อร้านค้าที่รายงาน\"},\"location\":{\"type\":\"string\",\"description\":\"ป้ายกำกับสถานที่ที่รายงานสำหรับสินค้า\"},\"desc\":{\"type\":\"string\",\"description\":\"คำอธิบายผลิตภัณฑ์ที่ return เป็นข้อความ HTML.\"},\"videoUrl\":{\"type\":\"string\",\"description\":\"URL ของวิดีโอสินค้า ซึ่งอาจว่างเปล่า。\"},\"item_imgs\":{\"type\":\"array\",\"description\":\"ภาพหลักและภาพในแถวสำหรับสินค้า\",\"items\":{\"type\":\"string\",\"description\":\"URL ของรูปสินค้า\"}},\"attribute\":{\"type\":\"array\",\"description\":\"คุณสมบัติของสินค้าที่ส่งกลับในรูปแบบคู่ชื่อและค่า。\",\"items\":{\"type\":\"object\",\"description\":\"คุณสมบัติหนึ่งของสินค้า。\",\"properties\":{\"key\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของแอตทริบิวต์สินค้า\"},\"value\":{\"type\":\"string\",\"description\":\"ค่าแสดงผลของคุณสมบัติสินค้า\"}}}},\"skus\":{\"type\":\"array\",\"description\":\"ตัวเลือก SKU สำหรับสินค้า。\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือก SKU หนึ่งตัว。\",\"properties\":{\"skuId\":{\"type\":\"integer\",\"description\":\"ตัวระบุตัวเลขของ SKU นี้\"},\"id\":{\"type\":\"string\",\"description\":\"ชุดคุณสมบัติที่เข้ารหัส โดยมี ID ของคุณสมบัติและค่าที่แยกด้วยจุด และมีจุดสองตัวอักษรระหว่างคู่\"},\"quantity\":{\"type\":\"string\",\"description\":\"จำนวนสินค้าคงเหลือสำหรับ SKU นี้ในรูปแบบข้อความ\"},\"price\":{\"type\":\"string\",\"description\":\"ราคาของ SKU นี้ในรูปแบบข้อความ ในการตอบกลับที่สุ่มตัวอย่าง ราคาจะแสดงในหน่วยของราคาสินค้า\"},\"orign_price\":{\"type\":\"integer\",\"description\":\"ค่าของราคาต้นฉบับสำหรับ SKU นี้ในรูปแบบจำนวนเต็ม\"}}}},\"props\":{\"type\":\"array\",\"description\":\"คุณสมบัติของข้อมูลสินค้าและค่าที่มีอยู่\",\"items\":{\"type\":\"object\",\"description\":\"คุณสมบัติการกำหนดค่าหนึ่งตัว。\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของคุณสมบัติการกำหนดค่าในรูปแบบข้อความ。\"},\"pname\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ\"},\"values\":{\"type\":\"array\",\"description\":\"ค่าที่มีอยู่สำหรับคุณสมบัติข้อมูลสินค้านี้\",\"items\":{\"type\":\"object\",\"description\":\"ค่ามาตรฐานหนึ่ง\",\"properties\":{\"vid\":{\"type\":\"string\",\"description\":\"ID ของค่ามาตรฐานในรูปแบบข้อความ\"},\"vname\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของค่าข้อมูลจำเพาะ\"},\"sku_url\":{\"type\":\"string\",\"description\":\"URL รูปภาพของค่าข้อมูลจำเพาะ ซึ่งอาจเป็นค่าว่าง\"}}}}}}},\"specs\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"array\",\"description\":\"รายละเอียดค่าสเปกภาพที่เรียงตามลำดับ ค่าแรกคือชื่อที่แสดงผล ค่าที่สองคือ URL ของรูปภาพ ซึ่งอาจว่างเปล่าได้\",\"items\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงผลหรือ URL ของรูปภาพที่อยู่ในตำแหน่งที่ระบุ\"}},\"description\":\"ค่าที่เกี่ยวข้องกับคุณสมบัติ โดยเรียงตามคู่ ID ของคุณสมบัติและค่า ID\"},\"description\":\"คีย์สำหรับค้นหาคุณสมบัติตามชื่อที่แสดงของคุณสมบัติ\"},\"mainItemInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลสินค้าพร้อมราคาและส่วนลดที่รายงาน\",\"properties\":{\"itemId\":{\"type\":\"string\",\"description\":\"ID ของสินค้าที่รายงานในข้อมูลส่วนลด ในรูปแบบข้อความ\"},\"itemName\":{\"type\":\"string\",\"description\":\"ชื่อสินค้าที่แสดงในบล็อกข้อมูลนี้\"},\"pic\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพหลักที่รายงานในบล็อกข้อมูลนี้\"},\"auctionIconUrl\":{\"type\":\"string\",\"description\":\"URL ของไอคอนบัตด์ของสินค้า หากมีให้\"},\"afterCouponAmountPrice\":{\"type\":\"string\",\"description\":\"จำนวนเงินที่เหลือหลังจากใช้คูปอง ในรูปแบบข้อความ\"},\"hasSubsidy\":{\"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\"},\"zkPriceDisplay\":{\"type\":\"string\",\"description\":\"ค่าแสดงที่จัดรูปแบบไว้สำหรับ zkPrice\"}}},\"promotionTagModel\":{\"type\":\"array\",\"description\":\"ป้ายกำกับที่แสดงในส่วนลด\",\"items\":{\"type\":\"object\",\"description\":\"ป้ายกำกับหนึ่งตัว\",\"properties\":{\"tagDisplay\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงสำหรับแท็กนี้\"},\"tagType\":{\"type\":\"string\",\"description\":\"รหัสประเภทที่รายงานสำหรับป้ายกำกับนี้ ในรูปแบบข้อความ\"},\"tagTypeDisplay\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงสำหรับประเภทป้ายกำกับ\"},\"tagIcon\":{\"type\":\"string\",\"description\":\"ไอคอนที่เกี่ยวข้องกับป้ายกำกับนี้ หากมีให้\"}}}}}},\"taobaoPromotionModel\":{\"type\":\"object\",\"description\":\"ข้อมูลส่วนลดของ Taobao สำหรับสินค้า\",\"properties\":{\"finalPromotionInfo\":{\"type\":\"object\",\"description\":\"ราคาส่วนลดสุดท้ายและข้อมูลคูปองที่รายงาน\",\"properties\":{\"finalPromotionPrice\":{\"type\":\"string\",\"description\":\"ราคาสุดท้ายสำหรับการลดราคาที่รายงานเป็นข้อความ.\"},\"couponPromotionModel\":{\"type\":\"object\",\"description\":\"ข้อมูลส่วนลดเมื่อส่งกลับมา\",\"properties\":{\"couponType\":{\"type\":\"string\",\"description\":\"รหัสประเภทส่วนลดที่รายงานเป็นข้อความ\"},\"promotionTitle\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องของโปรโมชันคูปอง\"},\"couponPromotionDesc\":{\"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/v9\"")' />

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

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

::: info ความสามารถ · ราคา
<p>คืนราคาเดิมของสินค้าและราคาของแต่ละ SKU</p>
:::

::: info ความสามารถ · คุณสมบัติ
<p>แสดงรายการภาพคำอธิบายแยกต่างหากและ HTML ของคำอธิบาย。</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/v9?token=YOUR_API_KEY&itemId=VALUE'
```

```text [🤖 คำแนะนำสำหรับ AI]
ฉันต้องการใช้ API "รายละเอียดสินค้า (V9)" จาก JustOneAPI.
URL หลัก: https://api.justoneapi.com.
เส้นทาง API: /api/taobao/get-item-detail/v9?token=YOUR_API_KEY&itemId=VALUE
เอนด์พอยต์ API: BASE_URL + /api/taobao/get-item-detail/v9?token=YOUR_API_KEY&itemId=VALUE
เมธอด HTTP: GET
การยืนยันตัวตน: เพิ่มพารามิเตอร์ "token" เข้าไปใน URL.
คำนิยาม OpenAPI: https://docs.justoneapi.com/openapi/taobao-and-tmall/product-details-v9-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/v9?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/v9?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/v9?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/v9?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/v9?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-v9-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 &#124; null</code> | ข้อมูลรายละเอียดของผลิตภัณฑ์สำหรับรายการที่ขอจาก Taobao หรือ Tmall หากการตอบกลับสำเร็จ อาจมีข้อมูล null |
| <code>data.itemId</code> | <code>string</code> | ID ของรายการจาก Taobao หรือ Tmall ในรูปแบบข้อความ |
| <code>data.title</code> | <code>string</code> | ชื่อเรื่องของสินค้า |
| <code>data.categoryId</code> | <code>string</code> | ID ของหมวดหมู่สินค้าในรูปแบบข้อความ |
| <code>data.num</code> | <code>string</code> | จำนวนที่แสดงผลสำหรับสินค้า ซึ่งอาจเป็นค่าข้อความย่อ |
| <code>data.price</code> | <code>string</code> | ราคาสินค้าที่รายงานในรูปแบบข้อความ |
| <code>data.nick</code> | <code>string</code> | ชื่อผู้ขายที่รายงาน |
| <code>data.userId</code> | <code>string</code> | ID บัญชีผู้ขายในรูปแบบข้อความ |
| <code>data.sellerType</code> | <code>string</code> | รหัสประเภทของผู้ขายที่รายงานในรูปแบบข้อความ |
| <code>data.shopId</code> | <code>string</code> | ID ของร้านค้าบน Taobao หรือ Tmall ในรูปแบบข้อความ。 |
| <code>data.shopName</code> | <code>string</code> | ชื่อร้านค้าที่รายงาน |
| <code>data.location</code> | <code>string</code> | ป้ายกำกับสถานที่ที่รายงานสำหรับสินค้า |
| <code>data.desc</code> | <code>string</code> | คำอธิบายผลิตภัณฑ์ที่ return เป็นข้อความ HTML. |
| <code>data.videoUrl</code> | <code>string</code> | URL ของวิดีโอสินค้า ซึ่งอาจว่างเปล่า。 |
| <code>data.item_imgs</code> | <code>array</code> | ภาพหลักและภาพในแถวสำหรับสินค้า |
| <code>data.item_imgs[]</code> | <code>string</code> | URL ของรูปสินค้า |
| <code>data.attribute</code> | <code>array</code> | คุณสมบัติของสินค้าที่ส่งกลับในรูปแบบคู่ชื่อและค่า。 |
| <code>data.attribute[]</code> | <code>object</code> | คุณสมบัติหนึ่งของสินค้า。 |
| <code>data.attribute[].key</code> | <code>string</code> | ชื่อที่แสดงของแอตทริบิวต์สินค้า |
| <code>data.attribute[].value</code> | <code>string</code> | ค่าแสดงผลของคุณสมบัติสินค้า |
| <code>data.skus</code> | <code>array</code> | ตัวเลือก SKU สำหรับสินค้า。 |
| <code>data.skus[]</code> | <code>object</code> | ตัวเลือก SKU หนึ่งตัว。 |
| <code>data.skus[].skuId</code> | <code>integer</code> | ตัวระบุตัวเลขของ SKU นี้ |
| <code>data.skus[].id</code> | <code>string</code> | ชุดคุณสมบัติที่เข้ารหัส โดยมี ID ของคุณสมบัติและค่าที่แยกด้วยจุด และมีจุดสองตัวอักษรระหว่างคู่ |
| <code>data.skus[].quantity</code> | <code>string</code> | จำนวนสินค้าคงเหลือสำหรับ SKU นี้ในรูปแบบข้อความ |
| <code>data.skus[].price</code> | <code>string</code> | ราคาของ SKU นี้ในรูปแบบข้อความ ในการตอบกลับที่สุ่มตัวอย่าง ราคาจะแสดงในหน่วยของราคาสินค้า |
| <code>data.skus[].orign_price</code> | <code>integer</code> | ค่าของราคาต้นฉบับสำหรับ SKU นี้ในรูปแบบจำนวนเต็ม |
| <code>data.props</code> | <code>array</code> | คุณสมบัติของข้อมูลสินค้าและค่าที่มีอยู่ |
| <code>data.props[]</code> | <code>object</code> | คุณสมบัติการกำหนดค่าหนึ่งตัว。 |
| <code>data.props[].pid</code> | <code>string</code> | ID ของคุณสมบัติการกำหนดค่าในรูปแบบข้อความ。 |
| <code>data.props[].pname</code> | <code>string</code> | ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ |
| <code>data.props[].values</code> | <code>array</code> | ค่าที่มีอยู่สำหรับคุณสมบัติข้อมูลสินค้านี้ |
| <code>data.props[].values[]</code> | <code>object</code> | ค่ามาตรฐานหนึ่ง |
| <code>data.props[].values[].vid</code> | <code>string</code> | ID ของค่ามาตรฐานในรูปแบบข้อความ |
| <code>data.props[].values[].vname</code> | <code>string</code> | ชื่อที่แสดงของค่าข้อมูลจำเพาะ |
| <code>data.props[].values[].sku_url</code> | <code>string</code> | URL รูปภาพของค่าข้อมูลจำเพาะ ซึ่งอาจเป็นค่าว่าง |
| <code>data.specs</code> | <code>object</code> | คีย์สำหรับค้นหาคุณสมบัติตามชื่อที่แสดงของคุณสมบัติ |
| <code>data.specs.{key}</code> | <code>object</code> | ค่าที่เกี่ยวข้องกับคุณสมบัติ โดยเรียงตามคู่ ID ของคุณสมบัติและค่า ID |
| <code>data.specs.{key}.{key}</code> | <code>array</code> | รายละเอียดค่าสเปกภาพที่เรียงตามลำดับ ค่าแรกคือชื่อที่แสดงผล ค่าที่สองคือ URL ของรูปภาพ ซึ่งอาจว่างเปล่าได้ |
| <code>data.specs.{key}.{key}[]</code> | <code>string</code> | ชื่อที่แสดงผลหรือ URL ของรูปภาพที่อยู่ในตำแหน่งที่ระบุ |
| <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.auctionIconUrl</code> | <code>string</code> | URL ของไอคอนบัตด์ของสินค้า หากมีให้ |
| <code>data.mainItemInfo.afterCouponAmountPrice</code> | <code>string</code> | จำนวนเงินที่เหลือหลังจากใช้คูปอง ในรูปแบบข้อความ |
| <code>data.mainItemInfo.hasSubsidy</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> | ข้อความราคาที่เกี่ยวข้องกับค่า zkPriceDisplay |
| <code>data.mainItemInfo.promotionModel.promotionPriceModel.zkPriceDisplay</code> | <code>string</code> | ค่าแสดงที่จัดรูปแบบไว้สำหรับ zkPrice |
| <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.promotionModel.promotionTagModel[].tagIcon</code> | <code>string</code> | ไอคอนที่เกี่ยวข้องกับป้ายกำกับนี้ หากมีให้ |
| <code>data.mainItemInfo.taobaoPromotionModel</code> | <code>object</code> | ข้อมูลส่วนลดของ Taobao สำหรับสินค้า |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo</code> | <code>object</code> | ราคาส่วนลดสุดท้ายและข้อมูลคูปองที่รายงาน |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.finalPromotionPrice</code> | <code>string</code> | ราคาสุดท้ายสำหรับการลดราคาที่รายงานเป็นข้อความ. |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.couponPromotionModel</code> | <code>object</code> | ข้อมูลส่วนลดเมื่อส่งกลับมา |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.couponPromotionModel.couponType</code> | <code>string</code> | รหัสประเภทส่วนลดที่รายงานเป็นข้อความ |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.couponPromotionModel.promotionTitle</code> | <code>string</code> | ชื่อเรื่องของโปรโมชันคูปอง |
| <code>data.mainItemInfo.taobaoPromotionModel.finalPromotionInfo.couponPromotionModel.couponPromotionDesc</code> | <code>string</code> | คำอธิบายที่แสดงเกี่ยวกับแคมเปญส่วนลด |

</div>

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

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

