---
title: "1688 รายละเอียดสินค้า API (V2)"
description: "ดึงข้อมูลรายละเอียดสินค้าใน 1688 โดยใช้ ID ของสินค้า พร้อมตัวเลือกภาษาที่ต้องการและสถานการณ์การขายแบบดรอปเปอร์ชิป ใช้เพื่อตรวจสอบสินค้าที่รู้จักขณะทำการหาสินค้าและวิจัยแคตตาล็อก"
lastUpdated: false
aiUsagePrompt: true
---

# 1688 รายละเอียดสินค้า API \(V2\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/1688/get-item-detail/v2\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า (V2)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/1688/product-details-v2-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 สินค้าบน 1688\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"scene\",\"in\":\"query\",\"description\":\"สถานการณ์การตั้งราคาสำหรับการขายแบบ dropshipping ทางเลือก\\n\\nค่าที่มีอยู่:\\n- `drop_shipping`: การขายแบบ dropshipping\",\"required\":false,\"schema\":{\"type\":\"string\",\"description\":\"สถานการณ์ราคาสินค้าที่เลือกได้\",\"enum\":[\"drop_shipping\"]}},{\"name\":\"optimizeTitle\",\"in\":\"query\",\"description\":\"ปรับปรุงชื่อเรื่องสินค้าจีนโดยการลบคำที่ไม่สำคัญ\",\"required\":false,\"schema\":{\"type\":\"boolean\",\"default\":false}},{\"name\":\"language\",\"in\":\"query\",\"description\":\"ภาษาที่ใช้แสดงผล\\n\\nค่าที่มีอยู่:\\n- `en`: ภาษาอังกฤษ\\n- `zh`: ภาษาจีน\\n- `ru`: ภาษารัสเซีย\\n- `th`: ภาษาไทย\\n- `pt`: ภาษาโปรตุเกส\\n- `es`: ภาษาสเปน\\n- `tr`: ภาษาตุรกี\\n- `vi`: ภาษาเวียดนาม\\n- `ja`: ภาษาญี่ปุ่น\\n- `ko`: ภาษาเกาหลี\",\"required\":false,\"schema\":{\"type\":\"string\",\"default\":\"zh\",\"description\":\"ภาษาที่รองรับการแสดงผล\",\"enum\":[\"en\",\"zh\",\"ru\",\"th\",\"pt\",\"es\",\"tr\",\"vi\",\"ja\",\"ko\"]}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"description\":\"ฟิลด์ต่อไปนี้ใช้กับข้อมูลของอ็อบเจกต์ หากสินค้าไม่พบ จะส่งค่า null กลับมา\",\"properties\":{\"item_id\":{\"type\":\"integer\",\"description\":\"ID ของสินค้า 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่ใช้แสดงสินค้า ภาษาและการปรับแต่งชื่อที่ขออาจส่งผลต่อข้อความนี้\"},\"category_id\":{\"type\":\"integer\",\"description\":\"ID ของหมวดหมู่ที่กำหนดให้กับสินค้า\"},\"root_category_id\":{\"type\":\"integer\",\"description\":\"ID ของหมวดหมู่ระดับสูงที่กำหนดให้กับสินค้า\"},\"offer_unit\":{\"type\":\"string\",\"description\":\"หน่วยการขายที่แสดงสำหรับสินค้า\"},\"sale_count\":{\"type\":\"string\",\"description\":\"ข้อความแสดงจำนวนการขาย ซึ่งอาจว่างเปล่าได้\"},\"sale_info\":{\"type\":\"object\",\"description\":\"ตัวชี้วัดการขายที่ส่งกลับมาสำหรับสินค้า\",\"properties\":{\"sale_quantity_year\":{\"type\":\"integer\",\"description\":\"ปริมาณการขายประจำปีที่รายงานสำหรับสินค้า\"}}},\"stock\":{\"type\":\"integer\",\"description\":\"ปริมาณสินค้าคงคลังที่รายงานระดับสินค้า\"},\"is_sold_out\":{\"type\":\"boolean\",\"description\":\"ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่\"},\"created_at\":{\"type\":\"integer\",\"description\":\"เวลาการสร้างสินค้าในรูปแบบมิลลิวินาทีตาม Unix epoch\"},\"product_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังหน้าสินค้าบน 1688\"},\"product_props\":{\"type\":\"array\",\"description\":\"คีย์ของคุณสมบัติสินค้าที่แสดงตามชื่อคุณสมบัติที่แสดง ภาษาที่ขออาจส่งผลต่อชื่อและค่าที่แสดง\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"description\":\"ค่าเท็มเพลตสำหรับชื่อคุณสมบัติที่แสดงในคีย์。\"},\"description\":\"อ็อบเจกต์คุณสมบัติที่มีคีย์เป็นชื่อคุณสมบัติที่แสดง\"}},\"main_imgs\":{\"type\":\"array\",\"description\":\"URL ของรูปภาพของสินค้า.\",\"items\":{\"type\":\"string\",\"description\":\"URL ของรูปสินค้า\"}},\"video_url\":{\"type\":\"string\",\"description\":\"URL ของวิดีโอสินค้า อาจเป็นสตริงว่าง\"},\"currency\":{\"type\":\"string\",\"description\":\"รหัสสกุลเงินที่รายงานสำหรับราคาสินค้า\"},\"moq\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อขั้นต่ำที่รายงานสำหรับสินค้า\"},\"price_info\":{\"type\":\"object\",\"description\":\"ราคาในระดับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ราคาที่รายงานในระดับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"price_min\":{\"type\":\"string\",\"description\":\"ราคาขั้นต่ำที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"price_max\":{\"type\":\"string\",\"description\":\"ราคาสูงสุดที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"origin_price_min\":{\"type\":\"string\",\"description\":\"ราคาเดิมขั้นต่ำที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"origin_price_max\":{\"type\":\"string\",\"description\":\"ราคาเดิมสูงสุดที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"discount_price\":{\"type\":\"string\",\"description\":\"ราคาพิเศษที่รายงาน ถูกส่งกลับมาในรูปแบบข้อความ ซึ่งอาจเป็นสตริงว่าง\"}}},\"tiered_price_info\":{\"type\":\"object\",\"description\":\"ราคาที่กำหนดตามปริมาณของผลิตภัณฑ์\",\"properties\":{\"begin_num\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อเริ่มต้นที่รายงานในข้อมูลการตั้งราคาแบบระดับ\"},\"prices\":{\"type\":\"array\",\"description\":\"ระดับราคาที่รายงานตามปริมาณการสั่งซื้อ รายการนี้อาจว่างได้\",\"items\":{\"type\":\"object\",\"description\":\"ระดับราคาหนึ่งและปริมาณที่เหมาะสมสำหรับระดับนั้น\",\"properties\":{\"beginAmount\":{\"type\":\"string\",\"description\":\"ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับนี้ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"price\":{\"type\":\"string\",\"description\":\"ราคาที่รายงานสำหรับปริมาณนี้ ถูกส่งกลับมาในรูปแบบข้อความ\"}}}}}},\"mixed_batch\":{\"type\":[\"object\",\"null\"],\"description\":\"ข้อมูลการซื้อแบบผสม ถูกส่งกลับมาในรูปแบบอ็อบเจกต์หรือ null\",\"properties\":{\"mix_amount\":{\"type\":[\"integer\",\"null\"],\"description\":\"จำนวนที่รายงานสำหรับการซื้อแบบผสม อาจเป็น null\"},\"mix_num\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อที่รายงานในกฎการซื้อแบบผสม\"}}},\"promotions\":{\"type\":\"array\",\"description\":\"โปรโมชั่นที่รายงานสำหรับผลิตภัณฑ์ รายการนี้อาจว่างได้\",\"items\":{\"type\":\"object\",\"description\":\"โปรโมชั่นผลิตภัณฑ์หนึ่งที่รายงาน\",\"properties\":{\"promotion_id\":{\"type\":\"string\",\"description\":\"ID ของโปรโมชั่น อาจเป็นสตริงว่าง\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงของโปรโมชัน\"},\"content\":{\"type\":\"string\",\"description\":\"ข้อความที่อธิบายเกี่ยวกับโปรโมชั่น\"},\"start_time\":{\"type\":\"integer\",\"description\":\"เวลาเริ่มต้นของโปรโมชั่นที่รายงาน\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทโปรโมชั่นที่รายงานโดยแพลตฟอร์ม\"},\"type_name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของประเภทโปรโมชั่น\"}}}},\"sku_props\":{\"type\":\"array\",\"description\":\"คุณสมบัติของข้อกำหนดและตัวเลือกที่มีอยู่。\",\"items\":{\"type\":\"object\",\"description\":\"คุณสมบัติที่เป็นข้อมูลสำหรับผลิตภัณฑ์\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของคุณสมบัติของข้อกำหนด ถูกส่งกลับมาในรูปแบบสตริง。\"},\"prop_name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ\"},\"values\":{\"type\":\"array\",\"description\":\"ตัวเลือกที่มีอยู่สำหรับคุณสมบัติของข้อกำหนดนี้。\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือกข้อกำหนดที่สามารถเลือกได้หนึ่งตัว。\",\"properties\":{\"vid\":{\"type\":\"string\",\"description\":\"ID ของตัวเลือกข้อกำหนด ถูกส่งกลับมาในรูปแบบสตริง。\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของตัวเลือกข้อมูลจำเพาะ\"},\"imageUrl\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสำหรับตัวเลือก อาจเป็นสตริงว่างได้。\"}}}}}}},\"skus\":{\"type\":\"array\",\"description\":\"ตัวเลือก SKU และราคา รวมถึงปริมาณสินค้าคงคลังที่รายงาน。\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือก SKU หนึ่งตัวพร้อมคุณสมบัติที่เลือกไว้。\",\"properties\":{\"skuid\":{\"type\":\"string\",\"description\":\"ID SKU ถูกส่งกลับมาในรูปแบบสตริง。\"},\"specid\":{\"type\":\"string\",\"description\":\"ตัวระบุสำหรับการรวมกันของคุณสมบัติ SKU ถูกส่งกลับมาในรูปแบบสตริง\"},\"sale_price\":{\"type\":\"string\",\"description\":\"ราคาขายที่รายงานสำหรับ SKU ถูกส่งกลับมาในรูปแบบข้อความ\"},\"origin_price\":{\"type\":\"string\",\"description\":\"ราคาเดิมที่รายงานสำหรับ SKU ถูกส่งกลับมาในรูปแบบข้อความ\"},\"stock\":{\"type\":\"integer\",\"description\":\"ปริมาณสินค้าคงคลังที่มีอยู่สำหรับ SKU ถูกรายงาน\"},\"props_ids\":{\"type\":\"string\",\"description\":\"ข้อความที่มี ID ของคุณสมบัติและตัวเลือกที่เลือกสำหรับ SKU นี้\"},\"props_names\":{\"type\":\"string\",\"description\":\"ข้อความที่มีชื่อของคุณสมบัติและตัวเลือกที่แสดงสำหรับ SKU นี้\"},\"package_info\":{\"type\":\"object\",\"description\":\"ขนาดและน้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\",\"properties\":{\"width\":{\"type\":\"number\",\"description\":\"ความกว้างของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\"},\"height\":{\"type\":\"number\",\"description\":\"ความสูงของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\"},\"length\":{\"type\":\"number\",\"description\":\"ความยาวของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\"},\"volume\":{\"type\":\"number\",\"description\":\"ปริมาณของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\"},\"weight\":{\"type\":\"number\",\"description\":\"น้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\"}}}}}},\"shop_info\":{\"type\":\"object\",\"description\":\"ตัวระบุของร้านค้าและผู้ขายบน 1688 สำหรับสินค้า\",\"properties\":{\"shop_name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของหน้าร้าน 1688\"},\"shop_url\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังหน้าร้าน 1688\"},\"seller_login_id\":{\"type\":\"string\",\"description\":\"ชื่อผู้เข้าสู่ระบบของผู้ขายที่แสดงโดยแพลตฟอร์ม\"},\"seller_user_id\":{\"type\":\"string\",\"description\":\"ID ของผู้ขายบน 1688 ถูกส่งกลับมาในรูปแบบสตริง\"},\"seller_member_id\":{\"type\":\"string\",\"description\":\"ID ของสมาชิกผู้ขายบน 1688 ถูกส่งกลับมาในรูปแบบสตริง\"}}},\"delivery_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการจัดส่งสำหรับสินค้า\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"ข้อความแสดงต้นทางการจัดส่ง\"},\"location_code\":{\"type\":\"string\",\"description\":\"รหัสภูมิภาคสำหรับต้นทางการจัดส่งที่รายงาน\"},\"delivery_fee\":{\"type\":\"number\",\"description\":\"ค่าธรรมเนียมการจัดส่งสำหรับสินค้า\"},\"unit_weight\":{\"type\":[\"number\",\"null\"],\"description\":\"น้ำหนักของหน่วยที่รายงาน สามารถเป็น null ได้\"},\"template_id\":{\"type\":\"string\",\"description\":\"ตัวระบุของเทมเพลตการจัดส่งของแพลตฟอร์ม\"}}},\"service_tags\":{\"type\":\"array\",\"description\":\"หมายเลขบริการที่แสดงสำหรับสินค้า\",\"items\":{\"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/1688/get-item-detail/v2\"")' />

<p>ดึงข้อมูลรายละเอียดสินค้าใน 1688 โดยใช้ ID ของสินค้า พร้อมตัวเลือกภาษาที่ต้องการและสถานการณ์การขายแบบดรอปเปอร์ชิป ใช้เพื่อตรวจสอบสินค้าที่รู้จักขณะทำการหาสินค้าและวิจัยแคตตาล็อก</p>

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

::: info คำแนะนำ
<p>ผลลัพธ์ “สินค้าไม่พบ” คือการค้นหาที่สำเร็จและสามารถคำนวณค่าได้ และจะส่งค่าที่เป็น null กลับมา</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 สินค้าบน 1688 |
| <code>scene</code> | query | <code>string</code> | ไม่ใช่ | - | สถานการณ์การตั้งราคาสำหรับการขายแบบ dropshipping ทางเลือก<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>drop_shipping</code>: การขายแบบ dropshipping |
| <code>optimizeTitle</code> | query | <code>boolean</code> | ไม่ใช่ | <code>false</code> | ปรับปรุงชื่อเรื่องสินค้าจีนโดยการลบคำที่ไม่สำคัญ |
| <code>language</code> | query | <code>string</code> | ไม่ใช่ | <code>zh</code> | ภาษาที่ใช้แสดงผล<br /><br><br>ค่าที่มีอยู่:<br /><br>- <code>en</code>: ภาษาอังกฤษ<br /><br>- <code>zh</code>: ภาษาจีน<br /><br>- <code>ru</code>: ภาษารัสเซีย<br /><br>- <code>th</code>: ภาษาไทย<br /><br>- <code>pt</code>: ภาษาโปรตุเกส<br /><br>- <code>es</code>: ภาษาสเปน<br /><br>- <code>tr</code>: ภาษาตุรกี<br /><br>- <code>vi</code>: ภาษาเวียดนาม<br /><br>- <code>ja</code>: ภาษาญี่ปุ่น<br /><br>- <code>ko</code>: ภาษาเกาหลี |

</div>

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

::: code-group

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

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

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- itemId (query): ID สินค้าบน 1688 (จำเป็น)
- scene (query): สถานการณ์การตั้งราคาสำหรับการขายแบบ dropshipping ทางเลือก

ค่าที่มีอยู่:
- `drop_shipping`: การขายแบบ dropshipping
- optimizeTitle (query): ปรับปรุงชื่อเรื่องสินค้าจีนโดยการลบคำที่ไม่สำคัญ
- language (query): ภาษาที่ใช้แสดงผล

ค่าที่มีอยู่:
- `en`: ภาษาอังกฤษ
- `zh`: ภาษาจีน
- `ru`: ภาษารัสเซีย
- `th`: ภาษาไทย
- `pt`: ภาษาโปรตุเกส
- `es`: ภาษาสเปน
- `tr`: ภาษาตุรกี
- `vi`: ภาษาเวียดนาม
- `ja`: ภาษาญี่ปุ่น
- `ko`: ภาษาเกาหลี

รูปแบบที่ส่งกลับ: จัดการ 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/1688/get-item-detail/v2?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/1688/get-item-detail/v2?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/1688/get-item-detail/v2?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/1688/get-item-detail/v2?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/1688/get-item-detail/v2?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/1688/product-details-v2-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> | - | ฟิลด์ต่อไปนี้ใช้กับข้อมูลของอ็อบเจกต์ หากสินค้าไม่พบ จะส่งค่า null กลับมา |
| <code>data.item_id</code> | <code>integer</code> | ID ของสินค้า 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.title</code> | <code>string</code> | ชื่อที่ใช้แสดงสินค้า ภาษาและการปรับแต่งชื่อที่ขออาจส่งผลต่อข้อความนี้ |
| <code>data.category_id</code> | <code>integer</code> | ID ของหมวดหมู่ที่กำหนดให้กับสินค้า |
| <code>data.root_category_id</code> | <code>integer</code> | ID ของหมวดหมู่ระดับสูงที่กำหนดให้กับสินค้า |
| <code>data.offer_unit</code> | <code>string</code> | หน่วยการขายที่แสดงสำหรับสินค้า |
| <code>data.sale_count</code> | <code>string</code> | ข้อความแสดงจำนวนการขาย ซึ่งอาจว่างเปล่าได้ |
| <code>data.sale_info</code> | <code>object</code> | ตัวชี้วัดการขายที่ส่งกลับมาสำหรับสินค้า |
| <code>data.sale_info.sale_quantity_year</code> | <code>integer</code> | ปริมาณการขายประจำปีที่รายงานสำหรับสินค้า |
| <code>data.stock</code> | <code>integer</code> | ปริมาณสินค้าคงคลังที่รายงานระดับสินค้า |
| <code>data.is_sold_out</code> | <code>boolean</code> | ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่ |
| <code>data.created_at</code> | <code>integer</code> | เวลาการสร้างสินค้าในรูปแบบมิลลิวินาทีตาม Unix epoch |
| <code>data.product_url</code> | <code>string</code> | ลิงก์ไปยังหน้าสินค้าบน 1688 |
| <code>data.product_props</code> | <code>array</code> | คีย์ของคุณสมบัติสินค้าที่แสดงตามชื่อคุณสมบัติที่แสดง ภาษาที่ขออาจส่งผลต่อชื่อและค่าที่แสดง |
| <code>data.product_props[]</code> | <code>object</code> | อ็อบเจกต์คุณสมบัติที่มีคีย์เป็นชื่อคุณสมบัติที่แสดง |
| <code>data.product_props[].{key}</code> | <code>string</code> | ค่าเท็มเพลตสำหรับชื่อคุณสมบัติที่แสดงในคีย์。 |
| <code>data.main_imgs</code> | <code>array</code> | URL ของรูปภาพของสินค้า. |
| <code>data.main_imgs[]</code> | <code>string</code> | URL ของรูปสินค้า |
| <code>data.video_url</code> | <code>string</code> | URL ของวิดีโอสินค้า อาจเป็นสตริงว่าง |
| <code>data.currency</code> | <code>string</code> | รหัสสกุลเงินที่รายงานสำหรับราคาสินค้า |
| <code>data.moq</code> | <code>integer</code> | ปริมาณการสั่งซื้อขั้นต่ำที่รายงานสำหรับสินค้า |
| <code>data.price_info</code> | <code>object</code> | ราคาในระดับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.price</code> | <code>string</code> | ราคาที่รายงานในระดับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.price_min</code> | <code>string</code> | ราคาขั้นต่ำที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.price_max</code> | <code>string</code> | ราคาสูงสุดที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.origin_price_min</code> | <code>string</code> | ราคาเดิมขั้นต่ำที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.origin_price_max</code> | <code>string</code> | ราคาเดิมสูงสุดที่รายงานสำหรับผลิตภัณฑ์ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.price_info.discount_price</code> | <code>string</code> | ราคาพิเศษที่รายงาน ถูกส่งกลับมาในรูปแบบข้อความ ซึ่งอาจเป็นสตริงว่าง |
| <code>data.tiered_price_info</code> | <code>object</code> | ราคาที่กำหนดตามปริมาณของผลิตภัณฑ์ |
| <code>data.tiered_price_info.begin_num</code> | <code>integer</code> | ปริมาณการสั่งซื้อเริ่มต้นที่รายงานในข้อมูลการตั้งราคาแบบระดับ |
| <code>data.tiered_price_info.prices</code> | <code>array</code> | ระดับราคาที่รายงานตามปริมาณการสั่งซื้อ รายการนี้อาจว่างได้ |
| <code>data.tiered_price_info.prices[]</code> | <code>object</code> | ระดับราคาหนึ่งและปริมาณที่เหมาะสมสำหรับระดับนั้น |
| <code>data.tiered_price_info.prices[].beginAmount</code> | <code>string</code> | ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับนี้ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.tiered_price_info.prices[].price</code> | <code>string</code> | ราคาที่รายงานสำหรับปริมาณนี้ ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.mixed_batch</code> | <code>object &#124; null</code> | ข้อมูลการซื้อแบบผสม ถูกส่งกลับมาในรูปแบบอ็อบเจกต์หรือ null |
| <code>data.mixed_batch.mix_amount</code> | <code>integer &#124; null</code> | จำนวนที่รายงานสำหรับการซื้อแบบผสม อาจเป็น null |
| <code>data.mixed_batch.mix_num</code> | <code>integer</code> | ปริมาณการสั่งซื้อที่รายงานในกฎการซื้อแบบผสม |
| <code>data.promotions</code> | <code>array</code> | โปรโมชั่นที่รายงานสำหรับผลิตภัณฑ์ รายการนี้อาจว่างได้ |
| <code>data.promotions[]</code> | <code>object</code> | โปรโมชั่นผลิตภัณฑ์หนึ่งที่รายงาน |
| <code>data.promotions[].promotion_id</code> | <code>string</code> | ID ของโปรโมชั่น อาจเป็นสตริงว่าง |
| <code>data.promotions[].title</code> | <code>string</code> | ชื่อเรื่องที่แสดงของโปรโมชัน |
| <code>data.promotions[].content</code> | <code>string</code> | ข้อความที่อธิบายเกี่ยวกับโปรโมชั่น |
| <code>data.promotions[].start_time</code> | <code>integer</code> | เวลาเริ่มต้นของโปรโมชั่นที่รายงาน |
| <code>data.promotions[].type</code> | <code>string</code> | รหัสประเภทโปรโมชั่นที่รายงานโดยแพลตฟอร์ม |
| <code>data.promotions[].type_name</code> | <code>string</code> | ชื่อที่ปรากฏของประเภทโปรโมชั่น |
| <code>data.sku_props</code> | <code>array</code> | คุณสมบัติของข้อกำหนดและตัวเลือกที่มีอยู่。 |
| <code>data.sku_props[]</code> | <code>object</code> | คุณสมบัติที่เป็นข้อมูลสำหรับผลิตภัณฑ์ |
| <code>data.sku_props[].pid</code> | <code>string</code> | ID ของคุณสมบัติของข้อกำหนด ถูกส่งกลับมาในรูปแบบสตริง。 |
| <code>data.sku_props[].prop_name</code> | <code>string</code> | ชื่อที่แสดงของแอตทริบิวต์ข้อมูลจำเพาะ |
| <code>data.sku_props[].values</code> | <code>array</code> | ตัวเลือกที่มีอยู่สำหรับคุณสมบัติของข้อกำหนดนี้。 |
| <code>data.sku_props[].values[]</code> | <code>object</code> | ตัวเลือกข้อกำหนดที่สามารถเลือกได้หนึ่งตัว。 |
| <code>data.sku_props[].values[].vid</code> | <code>string</code> | ID ของตัวเลือกข้อกำหนด ถูกส่งกลับมาในรูปแบบสตริง。 |
| <code>data.sku_props[].values[].name</code> | <code>string</code> | ชื่อที่แสดงของตัวเลือกข้อมูลจำเพาะ |
| <code>data.sku_props[].values[].imageUrl</code> | <code>string</code> | URL ของรูปภาพสำหรับตัวเลือก อาจเป็นสตริงว่างได้。 |
| <code>data.skus</code> | <code>array</code> | ตัวเลือก SKU และราคา รวมถึงปริมาณสินค้าคงคลังที่รายงาน。 |
| <code>data.skus[]</code> | <code>object</code> | ตัวเลือก SKU หนึ่งตัวพร้อมคุณสมบัติที่เลือกไว้。 |
| <code>data.skus[].skuid</code> | <code>string</code> | ID SKU ถูกส่งกลับมาในรูปแบบสตริง。 |
| <code>data.skus[].specid</code> | <code>string</code> | ตัวระบุสำหรับการรวมกันของคุณสมบัติ SKU ถูกส่งกลับมาในรูปแบบสตริง |
| <code>data.skus[].sale_price</code> | <code>string</code> | ราคาขายที่รายงานสำหรับ SKU ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.skus[].origin_price</code> | <code>string</code> | ราคาเดิมที่รายงานสำหรับ SKU ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.skus[].stock</code> | <code>integer</code> | ปริมาณสินค้าคงคลังที่มีอยู่สำหรับ SKU ถูกรายงาน |
| <code>data.skus[].props_ids</code> | <code>string</code> | ข้อความที่มี ID ของคุณสมบัติและตัวเลือกที่เลือกสำหรับ SKU นี้ |
| <code>data.skus[].props_names</code> | <code>string</code> | ข้อความที่มีชื่อของคุณสมบัติและตัวเลือกที่แสดงสำหรับ SKU นี้ |
| <code>data.skus[].package_info</code> | <code>object</code> | ขนาดและน้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.width</code> | <code>number</code> | ความกว้างของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.height</code> | <code>number</code> | ความสูงของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.length</code> | <code>number</code> | ความยาวของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.volume</code> | <code>number</code> | ปริมาณของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.weight</code> | <code>number</code> | น้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.shop_info</code> | <code>object</code> | ตัวระบุของร้านค้าและผู้ขายบน 1688 สำหรับสินค้า |
| <code>data.shop_info.shop_name</code> | <code>string</code> | ชื่อที่แสดงของหน้าร้าน 1688 |
| <code>data.shop_info.shop_url</code> | <code>string</code> | ลิงก์ไปยังหน้าร้าน 1688 |
| <code>data.shop_info.seller_login_id</code> | <code>string</code> | ชื่อผู้เข้าสู่ระบบของผู้ขายที่แสดงโดยแพลตฟอร์ม |
| <code>data.shop_info.seller_user_id</code> | <code>string</code> | ID ของผู้ขายบน 1688 ถูกส่งกลับมาในรูปแบบสตริง |
| <code>data.shop_info.seller_member_id</code> | <code>string</code> | ID ของสมาชิกผู้ขายบน 1688 ถูกส่งกลับมาในรูปแบบสตริง |
| <code>data.delivery_info</code> | <code>object</code> | ข้อมูลการจัดส่งสำหรับสินค้า |
| <code>data.delivery_info.location</code> | <code>string</code> | ข้อความแสดงต้นทางการจัดส่ง |
| <code>data.delivery_info.location_code</code> | <code>string</code> | รหัสภูมิภาคสำหรับต้นทางการจัดส่งที่รายงาน |
| <code>data.delivery_info.delivery_fee</code> | <code>number</code> | ค่าธรรมเนียมการจัดส่งสำหรับสินค้า |
| <code>data.delivery_info.unit_weight</code> | <code>number &#124; null</code> | น้ำหนักของหน่วยที่รายงาน สามารถเป็น null ได้ |
| <code>data.delivery_info.template_id</code> | <code>string</code> | ตัวระบุของเทมเพลตการจัดส่งของแพลตฟอร์ม |
| <code>data.service_tags</code> | <code>array</code> | หมายเลขบริการที่แสดงสำหรับสินค้า |
| <code>data.service_tags[]</code> | <code>string</code> | ข้อความแสดงของหมายเลขบริการ |

</div>

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

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

