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

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

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/1688/get-item-detail-by-url/v1\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า [URL] (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/1688/product-details-by-url-v1-th.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"โทเค็นการเข้าถึงสำหรับบริการ API นี้\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"url\",\"in\":\"query\",\"description\":\"URL สินค้าบน 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\":\"ข้อมูลรายละเอียดของสินค้าบน 1688 ที่อ้างอิงจาก URL ของสินค้าที่ขอ\",\"properties\":{\"item_id\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อสินค้าที่ส่งกลับ\"},\"product_url\":{\"type\":\"string\",\"description\":\"URL ของหน้าสินค้า 1688.\"},\"category_id\":{\"type\":\"integer\",\"description\":\"ID ของหมวดหมู่ที่รายงานสำหรับสินค้า.\"},\"root_category_id\":{\"type\":\"integer\",\"description\":\"ID ของหมวดหมู่ระดับสูงที่รายงานสำหรับสินค้า.\"},\"created_at\":{\"type\":\"integer\",\"description\":\"เวลาที่สร้างสินค้า ในรูปแบบเวลาประทับ Unix หน่วยมิลลิวินาที\"},\"main_imgs\":{\"type\":\"array\",\"description\":\"URL ของรูปภาพที่ส่งกลับสำหรับสินค้า.\",\"items\":{\"type\":\"string\"}},\"video_url\":{\"type\":\"string\",\"description\":\"URL ของวิดีโอสินค้า, หากมีการส่งกลับ.\"},\"product_props\":{\"type\":\"array\",\"description\":\"คุณสมบัติของสินค้า. แต่ละรายการแสดงชื่อคุณสมบัติกับค่าตัวอักษรของมัน.\",\"items\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"string\",\"description\":\"ค่าของคุณสมบัติของสินค้า, เรียงตามชื่อคุณสมบัติ.\"}}},\"currency\":{\"type\":\"string\",\"description\":\"รหัสสกุลเงินที่รายงานสำหรับราคาสินค้า\"},\"offer_unit\":{\"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\":\"แถวการตั้งราคาขนาดสินค้า. คำตอบที่ได้รับตรวจสอบส่งกลับอาร์เรย์ว่างเปล่า.\"}}},\"mixed_batch\":{\"type\":[\"object\",\"null\"],\"description\":\"ข้อมูลการสั่งซื้อแบบผสม, หรือ null หากไม่มี.\",\"properties\":{\"mix_amount\":{\"type\":\"integer\",\"description\":\"จำนวนที่รายงานสำหรับการสั่งซื้อแบบผสม.\"},\"mix_num\":{\"type\":\"integer\",\"description\":\"ปริมาณที่รายงานสำหรับการสั่งซื้อแบบผสม.\"}}},\"sale_count\":{\"type\":\"string\",\"description\":\"จำนวนการขายที่รายงานในรูปแบบข้อความแสดงผล. อาจว่างเปล่า.\"},\"sale_info\":{\"type\":\"object\",\"description\":\"จำนวนการขายที่รายงานสำหรับสินค้า.\",\"properties\":{\"sale_quantity_year\":{\"type\":\"integer\",\"description\":\"ปริมาณการขายประจำปีที่รายงานไว้。\"},\"sale_quantity_90days\":{\"description\":\"ฟิลด์ปริมาณการขาย 90 วัน。คำตอบที่ตรวจสอบแล้วจะคืนค่า null。\"}}},\"is_sold_out\":{\"type\":\"boolean\",\"description\":\"ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่\"},\"stock\":{\"type\":\"integer\",\"description\":\"ปริมาณสินค้าที่รายงานสำหรับสินค้า。\"},\"sku_props\":{\"type\":\"array\",\"description\":\"คุณสมบัติ SKU ที่มีอยู่และค่าที่สามารถเลือกได้。\",\"items\":{\"type\":\"object\",\"properties\":{\"pid\":{\"type\":\"string\",\"description\":\"ID ของคุณสมบัติ SKU，คืนค่าเป็นสตริง。\"},\"prop_name\":{\"type\":\"string\",\"description\":\"ชื่อของคุณสมบัติ SKU。\"},\"values\":{\"type\":\"array\",\"description\":\"ค่าที่มีอยู่สำหรับคุณสมบัติ SKU。\",\"items\":{\"type\":\"object\",\"properties\":{\"vid\":{\"type\":\"string\",\"description\":\"ID ของค่าคุณสมบัติ SKU，คืนค่าเป็นสตริง。\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของค่าคุณสมบัติ SKU。\"},\"imageUrl\":{\"type\":\"string\",\"description\":\"URL ของรูปภาพสำหรับค่าคุณสมบัติ SKU หากมี。\"}}}}}}},\"skus\":{\"type\":\"array\",\"description\":\"รายการ SKU ที่คืนค่าสำหรับสินค้า。\",\"items\":{\"type\":\"object\",\"properties\":{\"skuid\":{\"type\":\"string\",\"description\":\"ID SKU ถูกส่งกลับมาในรูปแบบสตริง。\"},\"specid\":{\"type\":\"string\",\"description\":\"ตัวระบุคุณสมบัติ SKU，คืนค่าเป็นสตริง。\"},\"props_ids\":{\"type\":\"string\",\"description\":\"สตริงที่เข้ารหัสของคู่ ID ของคุณสมบัติ SKU และค่า。\"},\"props_names\":{\"type\":\"string\",\"description\":\"สตริงที่เข้ารหัสของชื่อคุณสมบัติ SKU และค่า。\"},\"sale_price\":{\"type\":\"string\",\"description\":\"ราคาขายที่รายงานสำหรับ SKU นี้ ถูกส่งกลับมาในรูปแบบข้อความ。\"},\"origin_price\":{\"type\":\"string\",\"description\":\"ราคาเดิมที่รายงานสำหรับ SKU นี้ ถูกส่งกลับมาในรูปแบบข้อความ\"},\"stock\":{\"type\":\"integer\",\"description\":\"ปริมาณสินค้าที่รายงานสำหรับ SKU นี้。\"},\"package_info\":{\"type\":\"object\",\"description\":\"ขนาดและน้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน\",\"properties\":{\"length\":{\"type\":\"number\",\"description\":\"ความยาวของบรรจุภัณฑ์ที่รายงานไว้。\"},\"width\":{\"type\":\"number\",\"description\":\"ความกว้างของบรรจุภัณฑ์ที่รายงานไว้。\"},\"height\":{\"type\":\"number\",\"description\":\"ความสูงของบรรจุภัณฑ์ที่รายงานไว้。\"},\"volume\":{\"type\":\"number\",\"description\":\"ปริมาณของบรรจุภัณฑ์ที่รายงานไว้。\"},\"weight\":{\"type\":\"number\",\"description\":\"น้ำหนักของบรรจุภัณฑ์ที่รายงานไว้。\"}}}}}},\"shop_info\":{\"type\":\"object\",\"description\":\"ข้อมูลร้านค้าที่เป็นสาธารณะสำหรับสินค้า。\",\"properties\":{\"shop_name\":{\"type\":\"string\",\"description\":\"ชื่อร้านค้าที่แสดงสำหรับสินค้า。\"},\"shop_url\":{\"type\":\"string\",\"description\":\"URL ที่คืนค่าสำหรับร้านค้า 1688。\"},\"seller_user_id\":{\"type\":\"string\",\"description\":\"ID ของผู้ขายบน 1688 ถูกส่งกลับมาในรูปแบบสตริง\"}}},\"delivery_info\":{\"type\":\"object\",\"description\":\"ข้อมูลการจัดส่งสำหรับสินค้า\",\"properties\":{\"location\":{\"type\":\"string\",\"description\":\"จุดเริ่มต้นการจัดส่งที่รายงานไว้。\"},\"location_code\":{\"type\":\"string\",\"description\":\"รหัสจุดเริ่มต้นการจัดส่งที่คืนค่าสำหรับสินค้า。\"},\"template_id\":{\"type\":\"string\",\"description\":\"ID ของแม่แบบการจัดส่งที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น\"},\"delivery_fee\":{\"type\":\"number\",\"description\":\"ค่าบริการการจัดส่งที่ได้รับรายงาน\"},\"unit_weight\":{\"type\":[\"number\",\"null\"],\"description\":\"น้ำหนักต่อหน่วยที่ได้รับรายงาน หรือ null หากไม่มีข้อมูล\"}}},\"service_tags\":{\"type\":\"array\",\"description\":\"ป้ายกำกับบริการที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น\",\"items\":{\"type\":\"string\"}},\"promotions\":{\"type\":\"array\",\"description\":\"ข้อมูลโปรโมชั่นที่แสดงสำหรับผลิตภัณฑ์นั้น ชุดข้อมูลอาจว่างเปล่าได้\",\"items\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องของโปรโมชัน\"},\"type\":{\"type\":\"string\",\"description\":\"ประเภทของโปรโมชั่นที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น\"},\"type_name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของประเภทโปรโมชั่น\"},\"content\":{\"type\":\"string\",\"description\":\"คำอธิบายโปรโมชั่นที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น\"},\"start_time\":{\"type\":\"integer\",\"description\":\"เวลาเริ่มต้นของโปรโมชั่นในหน่วยมิลลิวินาทีของ Unix\"},\"end_time\":{\"description\":\"ฟิลด์เวลาสิ้นสุดของโปรโมชั่น ผลการตรวจสอบกลับมาเป็น null\"}}}}}}}},\"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-by-url/v1\"")' />

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

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

::: info คำแนะนำ
<p>ผลลัพธ์ “สินค้าไม่พบ” คือการค้นหาที่สำเร็จและสามารถคำนวณค่าได้ และจะส่งค่าที่เป็น null กลับมา</p>
:::

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

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

| ชื่อ | ตำแหน่ง | ชนิดข้อมูล | จำเป็น | ค่าเริ่มต้น | คำอธิบาย |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | ใช่ | - | โทเค็นการเข้าถึงสำหรับบริการ API นี้ |
| <code>url</code> | query | <code>string</code> | ใช่ | - | URL สินค้าบน 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-by-url/v1?token=YOUR_API_KEY&url=VALUE'
```

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

พารามิเตอร์:
- token (query): โทเค็นการเข้าถึงสำหรับบริการ API นี้ (จำเป็น)
- url (query): URL สินค้าบน 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-by-url/v1?token=YOUR_API_KEY&url=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-by-url/v1?token=YOUR_API_KEY&url=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-by-url/v1?token=YOUR_API_KEY&url=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-by-url/v1?token=YOUR_API_KEY&url=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-by-url/v1?token=YOUR_API_KEY&url=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-by-url-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> | - | ข้อมูลรายละเอียดของสินค้าบน 1688 ที่อ้างอิงจาก URL ของสินค้าที่ขอ |
| <code>data.item_id</code> | <code>integer</code> | ID ของข้อเสนอบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.title</code> | <code>string</code> | ชื่อสินค้าที่ส่งกลับ |
| <code>data.product_url</code> | <code>string</code> | URL ของหน้าสินค้า 1688. |
| <code>data.category_id</code> | <code>integer</code> | ID ของหมวดหมู่ที่รายงานสำหรับสินค้า. |
| <code>data.root_category_id</code> | <code>integer</code> | ID ของหมวดหมู่ระดับสูงที่รายงานสำหรับสินค้า. |
| <code>data.created_at</code> | <code>integer</code> | เวลาที่สร้างสินค้า ในรูปแบบเวลาประทับ Unix หน่วยมิลลิวินาที |
| <code>data.main_imgs</code> | <code>array</code> | URL ของรูปภาพที่ส่งกลับสำหรับสินค้า. |
| <code>data.main_imgs[]</code> | <code>string</code> | - |
| <code>data.video_url</code> | <code>string</code> | URL ของวิดีโอสินค้า, หากมีการส่งกลับ. |
| <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.currency</code> | <code>string</code> | รหัสสกุลเงินที่รายงานสำหรับราคาสินค้า |
| <code>data.offer_unit</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.mixed_batch</code> | <code>object &#124; null</code> | ข้อมูลการสั่งซื้อแบบผสม, หรือ null หากไม่มี. |
| <code>data.mixed_batch.mix_amount</code> | <code>integer</code> | จำนวนที่รายงานสำหรับการสั่งซื้อแบบผสม. |
| <code>data.mixed_batch.mix_num</code> | <code>integer</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.sale_info.sale_quantity_90days</code> | - | ฟิลด์ปริมาณการขาย 90 วัน。คำตอบที่ตรวจสอบแล้วจะคืนค่า null。 |
| <code>data.is_sold_out</code> | <code>boolean</code> | ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่ |
| <code>data.stock</code> | <code>integer</code> | ปริมาณสินค้าที่รายงานสำหรับสินค้า。 |
| <code>data.sku_props</code> | <code>array</code> | คุณสมบัติ SKU ที่มีอยู่และค่าที่สามารถเลือกได้。 |
| <code>data.sku_props[]</code> | <code>object</code> | - |
| <code>data.sku_props[].pid</code> | <code>string</code> | ID ของคุณสมบัติ SKU，คืนค่าเป็นสตริง。 |
| <code>data.sku_props[].prop_name</code> | <code>string</code> | ชื่อของคุณสมบัติ SKU。 |
| <code>data.sku_props[].values</code> | <code>array</code> | ค่าที่มีอยู่สำหรับคุณสมบัติ SKU。 |
| <code>data.sku_props[].values[]</code> | <code>object</code> | - |
| <code>data.sku_props[].values[].vid</code> | <code>string</code> | ID ของค่าคุณสมบัติ SKU，คืนค่าเป็นสตริง。 |
| <code>data.sku_props[].values[].name</code> | <code>string</code> | ชื่อที่แสดงของค่าคุณสมบัติ SKU。 |
| <code>data.sku_props[].values[].imageUrl</code> | <code>string</code> | URL ของรูปภาพสำหรับค่าคุณสมบัติ SKU หากมี。 |
| <code>data.skus</code> | <code>array</code> | รายการ SKU ที่คืนค่าสำหรับสินค้า。 |
| <code>data.skus[]</code> | <code>object</code> | - |
| <code>data.skus[].skuid</code> | <code>string</code> | ID SKU ถูกส่งกลับมาในรูปแบบสตริง。 |
| <code>data.skus[].specid</code> | <code>string</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[].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[].package_info</code> | <code>object</code> | ขนาดและน้ำหนักของบรรจุภัณฑ์สำหรับ SKU นี้ถูกรายงาน |
| <code>data.skus[].package_info.length</code> | <code>number</code> | ความยาวของบรรจุภัณฑ์ที่รายงานไว้。 |
| <code>data.skus[].package_info.width</code> | <code>number</code> | ความกว้างของบรรจุภัณฑ์ที่รายงานไว้。 |
| <code>data.skus[].package_info.height</code> | <code>number</code> | ความสูงของบรรจุภัณฑ์ที่รายงานไว้。 |
| <code>data.skus[].package_info.volume</code> | <code>number</code> | ปริมาณของบรรจุภัณฑ์ที่รายงานไว้。 |
| <code>data.skus[].package_info.weight</code> | <code>number</code> | น้ำหนักของบรรจุภัณฑ์ที่รายงานไว้。 |
| <code>data.shop_info</code> | <code>object</code> | ข้อมูลร้านค้าที่เป็นสาธารณะสำหรับสินค้า。 |
| <code>data.shop_info.shop_name</code> | <code>string</code> | ชื่อร้านค้าที่แสดงสำหรับสินค้า。 |
| <code>data.shop_info.shop_url</code> | <code>string</code> | URL ที่คืนค่าสำหรับร้านค้า 1688。 |
| <code>data.shop_info.seller_user_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.template_id</code> | <code>string</code> | ID ของแม่แบบการจัดส่งที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น |
| <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.service_tags</code> | <code>array</code> | ป้ายกำกับบริการที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น |
| <code>data.service_tags[]</code> | <code>string</code> | - |
| <code>data.promotions</code> | <code>array</code> | ข้อมูลโปรโมชั่นที่แสดงสำหรับผลิตภัณฑ์นั้น ชุดข้อมูลอาจว่างเปล่าได้ |
| <code>data.promotions[]</code> | <code>object</code> | - |
| <code>data.promotions[].title</code> | <code>string</code> | ชื่อเรื่องของโปรโมชัน |
| <code>data.promotions[].type</code> | <code>string</code> | ประเภทของโปรโมชั่นที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น |
| <code>data.promotions[].type_name</code> | <code>string</code> | ชื่อที่ปรากฏของประเภทโปรโมชั่น |
| <code>data.promotions[].content</code> | <code>string</code> | คำอธิบายโปรโมชั่นที่ส่งกลับมาสำหรับผลิตภัณฑ์นั้น |
| <code>data.promotions[].start_time</code> | <code>integer</code> | เวลาเริ่มต้นของโปรโมชั่นในหน่วยมิลลิวินาทีของ Unix |
| <code>data.promotions[].end_time</code> | - | ฟิลด์เวลาสิ้นสุดของโปรโมชั่น ผลการตรวจสอบกลับมาเป็น null |

</div>

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

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

