---
title: "JD.com รายละเอียดสินค้า API (V1)"
description: "สืบค้นข้อมูลสินค้าของ JD.com สำหรับ ID ของสินค้าที่ทราบอยู่ ใช้เพื่อตรวจสอบข้อมูลสินค้าขนาดเดียวหลังจากหา ID ของสินค้าได้แล้ว"
lastUpdated: false
aiUsagePrompt: true
---

# JD\.com รายละเอียดสินค้า API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/jd/get-item-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/jdcom/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\":\"ID สินค้าที่เป็นเอกลักษณ์บน JD.com (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\":\"รายละเอียดของ SKU ที่เลือก JD รายงานผลลัพธ์ที่มีสถานะอาจรวมถึง ID ของสินค้าและข้อความ\",\"properties\":{\"product\":{\"type\":\"object\",\"description\":\"รายละเอียดที่เกี่ยวข้องกับ SKU ที่เลือก\",\"properties\":{\"skuId\":{\"type\":\"string\",\"description\":\"ตัวระบุ SKU ที่เลือกถูกส่งกลับเป็นข้อความ\"},\"skuName\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของ SKU ที่เลือก\"},\"productId\":{\"type\":\"string\",\"description\":\"ID ของผลิตภัณฑ์ที่รายงานสำหรับ SKU ที่เลือก\"},\"realSpuId\":{\"type\":\"string\",\"description\":\"ตัวระบุ SPU ที่แพลตฟอร์มรายงานสำหรับ SKU ที่เลือก ส่งกลับเป็นข้อความ\"},\"skuStatus\":{\"type\":\"string\",\"description\":\"ค่า status code ของ SKU ที่ส่งกลับเป็นข้อความ\"},\"isDelete\":{\"type\":\"string\",\"description\":\"ค่าสถานะการลบที่รายงานในเมทาดักซ์ SKU\"},\"skuType\":{\"type\":\"integer\",\"description\":\"รหัสประเภท SKU ที่เป็นตัวเลขที่แพลตฟอร์มรายงาน\"},\"productType\":{\"type\":\"integer\",\"description\":\"รหัสประเภทสินค้าที่เป็นตัวเลขที่แพลตฟอร์มรายงาน\"},\"model\":{\"type\":\"string\",\"description\":\"ข้อมูลเกี่ยวกับรุ่นที่รายงานสำหรับ SKU ที่เลือก\"},\"color\":{\"type\":\"string\",\"description\":\"ชื่อสีที่รายงานสำหรับ SKU ที่เลือก\"},\"size\":{\"type\":\"string\",\"description\":\"ชื่อขนาดที่รายงานสำหรับ SKU ที่เลือก\"},\"salesAttr\":{\"type\":\"string\",\"description\":\"ข้อความที่เกี่ยวข้องกับคุณสมบัติการขายที่แนบมาด้วยสำหรับ SKU ที่เลือก\"},\"brandId\":{\"type\":\"string\",\"description\":\"ตัวระบุแบรนด์ที่ส่งกลับมาในรูปแบบข้อความ\"},\"brandName\":{\"type\":\"string\",\"description\":\"ชื่อแบรนด์ที่รายงานสำหรับสินค้า\"},\"category\":{\"type\":\"string\",\"description\":\"ลำดับชั้นของหมวดหมู่ในรูปแบบข้อความที่ส่งกลับมา\"},\"cat1\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ระดับแรกที่ส่งกลับมาในรูปแบบข้อความ\"},\"cat2\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ระดับรองที่ส่งกลับมาในรูปแบบข้อความ\"},\"cat3\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ระดับที่สามที่ส่งกลับมาในรูปแบบข้อความ\"},\"sellPoint\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงถึงจุดขายสำหรับ SKU\"},\"saleDate\":{\"type\":\"string\",\"description\":\"ค่าปีและเวลาการขายที่ส่งกลับมาในรูปแบบข้อความ\"},\"upc\":{\"type\":\"string\",\"description\":\"ข้อความบาร์โค้ด UPC ที่ส่งกลับมาสำหรับสินค้า\"},\"productArea\":{\"type\":\"string\",\"description\":\"ชื่อพื้นที่ของสินค้าที่รายงานสำหรับ SKU นี้\"},\"height\":{\"type\":\"string\",\"description\":\"ค่าความสูงของสินค้าที่รายงานเป็นข้อความ\"},\"length\":{\"type\":\"string\",\"description\":\"ค่าความยาวของสินค้าที่รายงานเป็นข้อความ\"},\"width\":{\"type\":\"string\",\"description\":\"ค่าความกว้างของสินค้าที่รายงานเป็นข้อความ\"},\"weight\":{\"type\":\"string\",\"description\":\"ค่ามวลของสินค้าที่รายงานเป็นข้อความ\"},\"imageurl\":{\"type\":\"string\",\"description\":\"ฟิลด์รูปภาพของสินค้าหลักที่ส่งกลับมา\"},\"mainImages\":{\"type\":\"array\",\"description\":\"ข้อมูลรูปภาพที่ส่งกลับมาสำหรับคอลเลกชันสินค้า\",\"items\":{\"type\":\"string\",\"description\":\"ข้อมูลรูปภาพหนึ่งที่ส่งกลับมาในคอลเลกชันสินค้า\"}},\"shopId\":{\"type\":\"string\",\"description\":\"ตัวระบุร้านค้า JD ที่ส่งกลับมาในเมทาดักซ์สินค้าเป็นข้อความ\"},\"venderId\":{\"type\":\"string\",\"description\":\"ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบข้อความในข้อมูลเมตาดาต้าของสินค้า。\"},\"jdexpress\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลสินค้าชี้ให้เห็นการจัดส่งของ JD หรือไม่。\"}}},\"priceFloor\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงราคาของสินค้าที่ถูกส่งกลับมา。\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ราคาที่แสดงออกมาถูกส่งกลับมาในรูปแบบข้อความในรูปแบบเดิม。\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทของราคาที่รายงานสำหรับข้อมูลการแสดงนี้。\"},\"ext\":{\"type\":\"object\",\"description\":\"ข้อมูลราคาเพิ่มเติมที่ถูกส่งกลับมาเกี่ยวกับสินค้า。\",\"properties\":{\"jdPrice\":{\"type\":\"string\",\"description\":\"ค่ามูลค่าของราคาจาก JD ที่ถูกส่งกลับมาในรูปแบบข้อความในข้อมูลราคาเพิ่มเติม。\"}}}}},\"commonInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลการแสดงที่พบได้ทั่วไปพร้อมกับรายละเอียดของสินค้า。\",\"properties\":{\"priceLoginText\":{\"type\":\"string\",\"description\":\"ข้อความแจ้งการลงชื่อที่เกี่ยวข้องกับการแสดงราคา。\"}}},\"stock\":{\"type\":\"object\",\"description\":\"ข้อมูลสต็อกและการจัดส่งที่ถูกส่งกลับมาเกี่ยวกับ SKU ที่เลือก。\",\"properties\":{\"skuId\":{\"type\":\"string\",\"description\":\"ตัวระบุ SKU ที่ใช้โดยข้อมูลสต็อก ถูกส่งกลับมาในรูปแบบข้อความ。\"},\"realSkuId\":{\"type\":\"string\",\"description\":\"ตัวระบุ SKU ที่ได้รับการแก้ไขโดยข้อมูลสต็อก ถูกส่งกลับมาในรูปแบบข้อความ。\"},\"StockState\":{\"type\":\"integer\",\"description\":\"รหัสสถานะสต็อกที่เป็นตัวเลขสำหรับ SKU ที่เลือก。\"},\"code\":{\"type\":\"integer\",\"description\":\"รหัสผลลัพธ์ที่เป็นตัวเลขที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。\"},\"isJDexpress\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลสต็อกชี้ให้เห็นการจัดส่งของ JD หรือไม่。\"},\"promiseResult\":{\"type\":\"string\",\"description\":\"ข้อความสัญญาเกี่ยวกับการจัดส่งที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。\"},\"D\":{\"type\":\"object\",\"description\":\"ข้อมูลของผู้ขายที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。\",\"properties\":{\"venderId\":{\"type\":\"integer\",\"description\":\"ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。\"},\"vender\":{\"type\":\"string\",\"description\":\"ชื่อของผู้ขายที่ปรากฏในบันทึกของพ่อค้าคนกลางนี้。\"},\"shopId\":{\"type\":\"integer\",\"description\":\"ตัวระบุร้านค้าของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。\"},\"shopName\":{\"type\":\"string\",\"description\":\"ชื่อของร้านค้าของ JD。\"},\"shopWebsite\":{\"type\":\"string\",\"description\":\"ลิงก์เว็บไซต์ของร้านค้าที่ถูกส่งกลับมาเกี่ยวกับผู้ขายนี้。\"},\"url\":{\"type\":\"string\",\"description\":\"ลิงก์ของร้านค้าที่ถูกส่งกลับมาพร้อมกับบันทึกของผู้ขายนี้。\"}}},\"self_D\":{\"type\":\"object\",\"description\":\"ข้อมูลเพิ่มเติมของผู้ขายที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。\",\"properties\":{\"venderId\":{\"type\":\"integer\",\"description\":\"ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。\"},\"vender\":{\"type\":\"string\",\"description\":\"ชื่อของผู้ขายที่ปรากฏในบันทึกของพ่อค้าคนกลางนี้。\"},\"shopId\":{\"type\":\"integer\",\"description\":\"ตัวระบุร้านค้าของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。\"},\"shopName\":{\"type\":\"string\",\"description\":\"ชื่อของร้านค้าของ JD。\"},\"shopWebsite\":{\"type\":\"string\",\"description\":\"ลิงก์เว็บไซต์ของร้านค้าที่ถูกส่งกลับมาเกี่ยวกับผู้ขายนี้。\"},\"url\":{\"type\":\"string\",\"description\":\"ลิงก์ของร้านค้าที่ถูกส่งกลับมาพร้อมกับบันทึกของผู้ขายนี้。\"}}},\"ir\":{\"type\":\"array\",\"description\":\"ป้ายกำกับบริการที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。\",\"items\":{\"type\":\"object\",\"description\":\"ป้ายบริการที่เกี่ยวข้องกับ SKU ที่เลือกไว้\",\"properties\":{\"showName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของป้ายบริการ\"},\"iconTip\":{\"type\":\"string\",\"description\":\"ข้อความอธิบายที่แสดงสำหรับป้ายบริการ\"},\"picUrl\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่ส่งกลับมาสำหรับป้ายบริการ\"},\"helpLink\":{\"type\":\"string\",\"description\":\"ลิงก์ช่วยเหลือที่ให้ไว้สำหรับป้ายบริการนี้\"}}}},\"promiseYX\":{\"type\":\"object\",\"description\":\"ข้อมูลแสดงการรับประกันการจัดส่งที่ส่งกลับมาพร้อมกับข้อมูลสินค้า\",\"properties\":{\"showName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของการรับประกันการจัดส่ง\"},\"iconTip\":{\"type\":\"string\",\"description\":\"ข้อความอธิบายสำหรับการรับประกันการจัดส่ง\"},\"picUrl\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพที่ส่งกลับมาสำหรับการรับประกันการจัดส่ง\"},\"helpLink\":{\"type\":\"string\",\"description\":\"ลิงก์ช่วยเหลือที่ให้ไว้สำหรับการรับประกันการจัดส่ง\"}}},\"unifiedServiceTag\":{\"type\":\"object\",\"description\":\"ข้อมูลป้ายบริการที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า\",\"properties\":{\"enable\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลป้ายบริการที่ส่งกลับมานั้นถูกตั้งเป็นการใช้งานหรือไม่\"},\"tsfw\":{\"type\":\"array\",\"description\":\"ป้ายบริการที่รวมอยู่ในข้อมูลป้ายบริการที่เป็นมาตรฐาน\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลในรายการป้ายบริการที่เป็นมาตรฐาน\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"ชื่อบริการที่รายงานสำหรับข้อมูลนี้\"},\"desc\":{\"type\":\"string\",\"description\":\"คำอธิบายบริการที่รายงานสำหรับข้อมูลนี้\"},\"shortDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายบริการสั้นที่รายงานสำหรับข้อมูลนี้\"},\"logoUrl\":{\"type\":\"string\",\"description\":\"URL ของโลโก้สำหรับบริการนี้\"},\"helpUrl\":{\"type\":\"string\",\"description\":\"URL ของลิงก์ช่วยเหลือสำหรับบริการนี้\"}}}}}}}},\"shopFloor\":{\"type\":\"object\",\"description\":\"ข้อมูลแสดงของร้านค้าเมื่อมีให้\",\"properties\":{\"shopFloorConfig\":{\"type\":\"object\",\"description\":\"ข้อมูลแสดงสำหรับส่วนของร้านค้า\",\"properties\":{\"shopType\":{\"type\":\"string\",\"description\":\"ป้ายประเภทร้านค้าที่ส่งกลับมาพร้อมกับข้อมูลแสดงของร้านค้า\"},\"shopTypeDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงประเภทร้านค้าที่ส่งกลับมา\"},\"coverLogo\":{\"type\":\"string\",\"description\":\"ภาพโลโก้สำหรับหน้าปกของร้านค้า\"}}}}},\"mainVideoId\":{\"type\":\"string\",\"description\":\"ID ของวิดีโอสินค้าหลักที่ส่งกลับมาในรูปแบบข้อความเมื่อมีให้\"},\"noticeFloor\":{\"type\":\"array\",\"description\":\"แสดงข้อความแจ้งเตือนที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า。\",\"items\":{\"type\":\"object\",\"description\":\"ข้อความแจ้งเตือนสำหรับสินค้าที่เลือก。\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทที่ส่งกลับมาเพื่อข้อความแจ้งเตือน。\"},\"desc\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงในข้อความแจ้งเตือน。\"},\"status\":{\"type\":\"string\",\"description\":\"ค่าสถานะที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือนเมื่อมีการกำหนด。\"},\"icons\":{\"type\":\"array\",\"description\":\"ชื่อไอคอนที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือน。\",\"items\":{\"type\":\"string\",\"description\":\"ชื่อไอคอนที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือน。\"}}}}},\"shareInfo\":{\"type\":\"object\",\"description\":\"ข้อมูลการแชร์ที่ส่งกลับมาสำหรับสินค้า。\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่ส่งกลับมาเพื่อการแชร์สินค้า。\"},\"shortTitle\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องสั้นเมื่อมีการกำหนด。\"}}},\"areaId\":{\"type\":\"string\",\"description\":\"รหัสพื้นที่ที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า。\"},\"itemId\":{\"type\":\"string\",\"description\":\"ID ของรายการที่ขอในผลลัพธ์การค้นหาแบบมีเพียงสถานะ。\"},\"msg\":{\"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/jd/get-item-detail/v1\"")' />

<p>สืบค้นข้อมูลสินค้าของ JD.com สำหรับ ID ของสินค้าที่ทราบอยู่ ใช้เพื่อตรวจสอบข้อมูลสินค้าขนาดเดียวหลังจากหา ID ของสินค้าได้แล้ว</p>

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

::: info ความสามารถ · ราคา
<p>ข้อมูลราคาของสินค้าถูกให้บริการ.</p>
:::

::: warning คำแนะนำ · คุณสมบัติ
<p>ให้ข้อมูลคุณสมบัติพื้นฐานของสินค้า. ใช้ V3 หรือ V4 สำหรับรายการพารามิเตอร์ที่ละเอียดยิ่งขึ้น.</p>
:::

::: warning คำแนะนำ · ตัวเลือก SKU
<p>ให้ข้อมูล SKU ปัจจุบัน. ใช้ V3 หรือ V4 สำหรับรายการเวอร์ชันที่สมบูรณ์ยิ่งขึ้น.</p>
:::

::: info ความสามารถ · ภาพหลักและภาพคาราโว
<p>ให้รูปภาพหลักและรูปภาพสำหรับการแสดงผลแบบคาร์โรลล์สำหรับ SKU ที่เลือก.</p>
:::

::: warning เงื่อนไข · รูปภาพคำอธิบาย
<p>รายการคำอธิบาย-รูปภาพและคำอธิบาย HTML อาจไม่มี. ใช้ V3 สำหรับเนื้อหานี้.</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> | ใช่ | - | ID สินค้าที่เป็นเอกลักษณ์บน JD.com (ID ของสินค้า). |

</div>

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

::: code-group

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

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

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- itemId (query): ID สินค้าที่เป็นเอกลักษณ์บน JD.com (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/jd/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/jd/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/jd/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/jd/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/jd/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/jdcom/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 &#124; null</code> | รายละเอียดของ SKU ที่เลือก JD รายงานผลลัพธ์ที่มีสถานะอาจรวมถึง ID ของสินค้าและข้อความ |
| <code>data.product</code> | <code>object</code> | รายละเอียดที่เกี่ยวข้องกับ SKU ที่เลือก |
| <code>data.product.skuId</code> | <code>string</code> | ตัวระบุ SKU ที่เลือกถูกส่งกลับเป็นข้อความ |
| <code>data.product.skuName</code> | <code>string</code> | ชื่อที่แสดงของ SKU ที่เลือก |
| <code>data.product.productId</code> | <code>string</code> | ID ของผลิตภัณฑ์ที่รายงานสำหรับ SKU ที่เลือก |
| <code>data.product.realSpuId</code> | <code>string</code> | ตัวระบุ SPU ที่แพลตฟอร์มรายงานสำหรับ SKU ที่เลือก ส่งกลับเป็นข้อความ |
| <code>data.product.skuStatus</code> | <code>string</code> | ค่า status code ของ SKU ที่ส่งกลับเป็นข้อความ |
| <code>data.product.isDelete</code> | <code>string</code> | ค่าสถานะการลบที่รายงานในเมทาดักซ์ SKU |
| <code>data.product.skuType</code> | <code>integer</code> | รหัสประเภท SKU ที่เป็นตัวเลขที่แพลตฟอร์มรายงาน |
| <code>data.product.productType</code> | <code>integer</code> | รหัสประเภทสินค้าที่เป็นตัวเลขที่แพลตฟอร์มรายงาน |
| <code>data.product.model</code> | <code>string</code> | ข้อมูลเกี่ยวกับรุ่นที่รายงานสำหรับ SKU ที่เลือก |
| <code>data.product.color</code> | <code>string</code> | ชื่อสีที่รายงานสำหรับ SKU ที่เลือก |
| <code>data.product.size</code> | <code>string</code> | ชื่อขนาดที่รายงานสำหรับ SKU ที่เลือก |
| <code>data.product.salesAttr</code> | <code>string</code> | ข้อความที่เกี่ยวข้องกับคุณสมบัติการขายที่แนบมาด้วยสำหรับ SKU ที่เลือก |
| <code>data.product.brandId</code> | <code>string</code> | ตัวระบุแบรนด์ที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.product.brandName</code> | <code>string</code> | ชื่อแบรนด์ที่รายงานสำหรับสินค้า |
| <code>data.product.category</code> | <code>string</code> | ลำดับชั้นของหมวดหมู่ในรูปแบบข้อความที่ส่งกลับมา |
| <code>data.product.cat1</code> | <code>string</code> | ID ของหมวดหมู่ระดับแรกที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.product.cat2</code> | <code>string</code> | ID ของหมวดหมู่ระดับรองที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.product.cat3</code> | <code>string</code> | ID ของหมวดหมู่ระดับที่สามที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.product.sellPoint</code> | <code>string</code> | ข้อความที่แสดงถึงจุดขายสำหรับ SKU |
| <code>data.product.saleDate</code> | <code>string</code> | ค่าปีและเวลาการขายที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.product.upc</code> | <code>string</code> | ข้อความบาร์โค้ด UPC ที่ส่งกลับมาสำหรับสินค้า |
| <code>data.product.productArea</code> | <code>string</code> | ชื่อพื้นที่ของสินค้าที่รายงานสำหรับ SKU นี้ |
| <code>data.product.height</code> | <code>string</code> | ค่าความสูงของสินค้าที่รายงานเป็นข้อความ |
| <code>data.product.length</code> | <code>string</code> | ค่าความยาวของสินค้าที่รายงานเป็นข้อความ |
| <code>data.product.width</code> | <code>string</code> | ค่าความกว้างของสินค้าที่รายงานเป็นข้อความ |
| <code>data.product.weight</code> | <code>string</code> | ค่ามวลของสินค้าที่รายงานเป็นข้อความ |
| <code>data.product.imageurl</code> | <code>string</code> | ฟิลด์รูปภาพของสินค้าหลักที่ส่งกลับมา |
| <code>data.product.mainImages</code> | <code>array</code> | ข้อมูลรูปภาพที่ส่งกลับมาสำหรับคอลเลกชันสินค้า |
| <code>data.product.mainImages[]</code> | <code>string</code> | ข้อมูลรูปภาพหนึ่งที่ส่งกลับมาในคอลเลกชันสินค้า |
| <code>data.product.shopId</code> | <code>string</code> | ตัวระบุร้านค้า JD ที่ส่งกลับมาในเมทาดักซ์สินค้าเป็นข้อความ |
| <code>data.product.venderId</code> | <code>string</code> | ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบข้อความในข้อมูลเมตาดาต้าของสินค้า。 |
| <code>data.product.jdexpress</code> | <code>boolean</code> | ว่าข้อมูลสินค้าชี้ให้เห็นการจัดส่งของ JD หรือไม่。 |
| <code>data.priceFloor</code> | <code>object</code> | ข้อมูลการแสดงราคาของสินค้าที่ถูกส่งกลับมา。 |
| <code>data.priceFloor.price</code> | <code>string</code> | ราคาที่แสดงออกมาถูกส่งกลับมาในรูปแบบข้อความในรูปแบบเดิม。 |
| <code>data.priceFloor.type</code> | <code>string</code> | รหัสประเภทของราคาที่รายงานสำหรับข้อมูลการแสดงนี้。 |
| <code>data.priceFloor.ext</code> | <code>object</code> | ข้อมูลราคาเพิ่มเติมที่ถูกส่งกลับมาเกี่ยวกับสินค้า。 |
| <code>data.priceFloor.ext.jdPrice</code> | <code>string</code> | ค่ามูลค่าของราคาจาก JD ที่ถูกส่งกลับมาในรูปแบบข้อความในข้อมูลราคาเพิ่มเติม。 |
| <code>data.commonInfo</code> | <code>object</code> | ข้อมูลการแสดงที่พบได้ทั่วไปพร้อมกับรายละเอียดของสินค้า。 |
| <code>data.commonInfo.priceLoginText</code> | <code>string</code> | ข้อความแจ้งการลงชื่อที่เกี่ยวข้องกับการแสดงราคา。 |
| <code>data.stock</code> | <code>object</code> | ข้อมูลสต็อกและการจัดส่งที่ถูกส่งกลับมาเกี่ยวกับ SKU ที่เลือก。 |
| <code>data.stock.skuId</code> | <code>string</code> | ตัวระบุ SKU ที่ใช้โดยข้อมูลสต็อก ถูกส่งกลับมาในรูปแบบข้อความ。 |
| <code>data.stock.realSkuId</code> | <code>string</code> | ตัวระบุ SKU ที่ได้รับการแก้ไขโดยข้อมูลสต็อก ถูกส่งกลับมาในรูปแบบข้อความ。 |
| <code>data.stock.StockState</code> | <code>integer</code> | รหัสสถานะสต็อกที่เป็นตัวเลขสำหรับ SKU ที่เลือก。 |
| <code>data.stock.code</code> | <code>integer</code> | รหัสผลลัพธ์ที่เป็นตัวเลขที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。 |
| <code>data.stock.isJDexpress</code> | <code>boolean</code> | ว่าข้อมูลสต็อกชี้ให้เห็นการจัดส่งของ JD หรือไม่。 |
| <code>data.stock.promiseResult</code> | <code>string</code> | ข้อความสัญญาเกี่ยวกับการจัดส่งที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。 |
| <code>data.stock.D</code> | <code>object</code> | ข้อมูลของผู้ขายที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。 |
| <code>data.stock.D.venderId</code> | <code>integer</code> | ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。 |
| <code>data.stock.D.vender</code> | <code>string</code> | ชื่อของผู้ขายที่ปรากฏในบันทึกของพ่อค้าคนกลางนี้。 |
| <code>data.stock.D.shopId</code> | <code>integer</code> | ตัวระบุร้านค้าของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。 |
| <code>data.stock.D.shopName</code> | <code>string</code> | ชื่อของร้านค้าของ JD。 |
| <code>data.stock.D.shopWebsite</code> | <code>string</code> | ลิงก์เว็บไซต์ของร้านค้าที่ถูกส่งกลับมาเกี่ยวกับผู้ขายนี้。 |
| <code>data.stock.D.url</code> | <code>string</code> | ลิงก์ของร้านค้าที่ถูกส่งกลับมาพร้อมกับบันทึกของผู้ขายนี้。 |
| <code>data.stock.self_D</code> | <code>object</code> | ข้อมูลเพิ่มเติมของผู้ขายที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。 |
| <code>data.stock.self_D.venderId</code> | <code>integer</code> | ตัวระบุพ่อค้าคนกลางของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。 |
| <code>data.stock.self_D.vender</code> | <code>string</code> | ชื่อของผู้ขายที่ปรากฏในบันทึกของพ่อค้าคนกลางนี้。 |
| <code>data.stock.self_D.shopId</code> | <code>integer</code> | ตัวระบุร้านค้าของ JD ถูกส่งกลับมาในรูปแบบจำนวนเต็มในบันทึกของผู้ขายนี้。 |
| <code>data.stock.self_D.shopName</code> | <code>string</code> | ชื่อของร้านค้าของ JD。 |
| <code>data.stock.self_D.shopWebsite</code> | <code>string</code> | ลิงก์เว็บไซต์ของร้านค้าที่ถูกส่งกลับมาเกี่ยวกับผู้ขายนี้。 |
| <code>data.stock.self_D.url</code> | <code>string</code> | ลิงก์ของร้านค้าที่ถูกส่งกลับมาพร้อมกับบันทึกของผู้ขายนี้。 |
| <code>data.stock.ir</code> | <code>array</code> | ป้ายกำกับบริการที่ถูกส่งกลับมาพร้อมกับข้อมูลสต็อก。 |
| <code>data.stock.ir[]</code> | <code>object</code> | ป้ายบริการที่เกี่ยวข้องกับ SKU ที่เลือกไว้ |
| <code>data.stock.ir[].showName</code> | <code>string</code> | ชื่อที่ปรากฏของป้ายบริการ |
| <code>data.stock.ir[].iconTip</code> | <code>string</code> | ข้อความอธิบายที่แสดงสำหรับป้ายบริการ |
| <code>data.stock.ir[].picUrl</code> | <code>string</code> | URL ของรูปภาพที่ส่งกลับมาสำหรับป้ายบริการ |
| <code>data.stock.ir[].helpLink</code> | <code>string</code> | ลิงก์ช่วยเหลือที่ให้ไว้สำหรับป้ายบริการนี้ |
| <code>data.stock.promiseYX</code> | <code>object</code> | ข้อมูลแสดงการรับประกันการจัดส่งที่ส่งกลับมาพร้อมกับข้อมูลสินค้า |
| <code>data.stock.promiseYX.showName</code> | <code>string</code> | ชื่อที่ปรากฏของการรับประกันการจัดส่ง |
| <code>data.stock.promiseYX.iconTip</code> | <code>string</code> | ข้อความอธิบายสำหรับการรับประกันการจัดส่ง |
| <code>data.stock.promiseYX.picUrl</code> | <code>string</code> | URL ของรูปภาพที่ส่งกลับมาสำหรับการรับประกันการจัดส่ง |
| <code>data.stock.promiseYX.helpLink</code> | <code>string</code> | ลิงก์ช่วยเหลือที่ให้ไว้สำหรับการรับประกันการจัดส่ง |
| <code>data.stock.unifiedServiceTag</code> | <code>object</code> | ข้อมูลป้ายบริการที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า |
| <code>data.stock.unifiedServiceTag.enable</code> | <code>boolean</code> | ว่าข้อมูลป้ายบริการที่ส่งกลับมานั้นถูกตั้งเป็นการใช้งานหรือไม่ |
| <code>data.stock.unifiedServiceTag.tsfw</code> | <code>array</code> | ป้ายบริการที่รวมอยู่ในข้อมูลป้ายบริการที่เป็นมาตรฐาน |
| <code>data.stock.unifiedServiceTag.tsfw[]</code> | <code>object</code> | ข้อมูลในรายการป้ายบริการที่เป็นมาตรฐาน |
| <code>data.stock.unifiedServiceTag.tsfw[].name</code> | <code>string</code> | ชื่อบริการที่รายงานสำหรับข้อมูลนี้ |
| <code>data.stock.unifiedServiceTag.tsfw[].desc</code> | <code>string</code> | คำอธิบายบริการที่รายงานสำหรับข้อมูลนี้ |
| <code>data.stock.unifiedServiceTag.tsfw[].shortDesc</code> | <code>string</code> | คำอธิบายบริการสั้นที่รายงานสำหรับข้อมูลนี้ |
| <code>data.stock.unifiedServiceTag.tsfw[].logoUrl</code> | <code>string</code> | URL ของโลโก้สำหรับบริการนี้ |
| <code>data.stock.unifiedServiceTag.tsfw[].helpUrl</code> | <code>string</code> | URL ของลิงก์ช่วยเหลือสำหรับบริการนี้ |
| <code>data.shopFloor</code> | <code>object</code> | ข้อมูลแสดงของร้านค้าเมื่อมีให้ |
| <code>data.shopFloor.shopFloorConfig</code> | <code>object</code> | ข้อมูลแสดงสำหรับส่วนของร้านค้า |
| <code>data.shopFloor.shopFloorConfig.shopType</code> | <code>string</code> | ป้ายประเภทร้านค้าที่ส่งกลับมาพร้อมกับข้อมูลแสดงของร้านค้า |
| <code>data.shopFloor.shopFloorConfig.shopTypeDesc</code> | <code>string</code> | คำอธิบายการแสดงประเภทร้านค้าที่ส่งกลับมา |
| <code>data.shopFloor.shopFloorConfig.coverLogo</code> | <code>string</code> | ภาพโลโก้สำหรับหน้าปกของร้านค้า |
| <code>data.mainVideoId</code> | <code>string</code> | ID ของวิดีโอสินค้าหลักที่ส่งกลับมาในรูปแบบข้อความเมื่อมีให้ |
| <code>data.noticeFloor</code> | <code>array</code> | แสดงข้อความแจ้งเตือนที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า。 |
| <code>data.noticeFloor[]</code> | <code>object</code> | ข้อความแจ้งเตือนสำหรับสินค้าที่เลือก。 |
| <code>data.noticeFloor[].type</code> | <code>string</code> | รหัสประเภทที่ส่งกลับมาเพื่อข้อความแจ้งเตือน。 |
| <code>data.noticeFloor[].desc</code> | <code>string</code> | ข้อความที่แสดงในข้อความแจ้งเตือน。 |
| <code>data.noticeFloor[].status</code> | <code>string</code> | ค่าสถานะที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือนเมื่อมีการกำหนด。 |
| <code>data.noticeFloor[].icons</code> | <code>array</code> | ชื่อไอคอนที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือน。 |
| <code>data.noticeFloor[].icons[]</code> | <code>string</code> | ชื่อไอคอนที่ส่งกลับมาพร้อมกับข้อความแจ้งเตือน。 |
| <code>data.shareInfo</code> | <code>object</code> | ข้อมูลการแชร์ที่ส่งกลับมาสำหรับสินค้า。 |
| <code>data.shareInfo.title</code> | <code>string</code> | ชื่อเรื่องที่ส่งกลับมาเพื่อการแชร์สินค้า。 |
| <code>data.shareInfo.shortTitle</code> | <code>string</code> | ชื่อเรื่องสั้นเมื่อมีการกำหนด。 |
| <code>data.areaId</code> | <code>string</code> | รหัสพื้นที่ที่ส่งกลับมาพร้อมกับรายละเอียดสินค้า。 |
| <code>data.itemId</code> | <code>string</code> | ID ของรายการที่ขอในผลลัพธ์การค้นหาแบบมีเพียงสถานะ。 |
| <code>data.msg</code> | <code>string</code> | ข้อความสถานะที่ส่งกลับมาพร้อมกับผลลัพธ์การค้นหา。 |

</div>

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

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

