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

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

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/1688/get-item-detail/v1\"")'
  :summary='JSON.parse("\"รายละเอียดสินค้า (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/1688/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\":\"ตัวระบุสินค้าที่ไม่เหมือนใครบน 1688\",\"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\":{\"description\":\"เมื่อข้อมูลเป็นอ็อบเจกต์, ฟิลด์เหล่านี้จะอธิบายถึงสินค้า 1688 ที่ขอมา หากการตอบกลับสำเร็จโดยไม่มีรายละเอียดของสินค้า อาจมีสตริงว่าง\",\"properties\":{\"item\":{\"type\":\"object\",\"description\":\"ข้อมูลพื้นฐานของสินค้าและรายละเอียดร้านค้าที่แสดงโดยผู้ขาย\",\"properties\":{\"offerId\":{\"type\":\"string\",\"description\":\"ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ\"},\"offerTitle\":{\"type\":\"string\",\"description\":\"ชื่อเรื่องที่แสดงของสินค้า\"},\"companyName\":{\"type\":\"string\",\"description\":\"ชื่อธุรกิจที่แสดงสำหรับผู้ขาย\"},\"winportUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ร้านค้าที่แสดงสำหรับผู้ขาย\"},\"defaultOfferImg\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปภาพแสดงผลพร้อมใช้งานสำหรับสินค้า\"},\"offerUnit\":{\"type\":\"string\",\"description\":\"หน่วยการขายที่แสดงสำหรับสินค้า\"},\"saleOut\":{\"type\":\"boolean\",\"description\":\"ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่\"},\"price\":{\"type\":\"string\",\"description\":\"ข้อความแสดงราคาที่รายงานพร้อมกับสรุปสินค้า\"},\"saledCount\":{\"type\":\"integer\",\"description\":\"ปริมาณการขายที่รายงานในข้อมูลสินค้า\"},\"saledCountStr\":{\"type\":\"string\",\"description\":\"ข้อความแสดงปริมาณการขายสำหรับสินค้า\"},\"topCategoryId\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ระดับสูงที่รายงานสำหรับสินค้า ถูกส่งกลับมาในรูปแบบข้อความ\"},\"postCategoryId\":{\"type\":\"string\",\"description\":\"ID ของหมวดหมู่ที่แสดงในรายการสินค้า ถูกส่งกลับมาในรูปแบบข้อความ\"},\"businessType\":{\"type\":\"string\",\"description\":\"ป้ายกำกับประเภทธุรกิจที่รายงานสำหรับการจัดแสดงนี้\"},\"consignOffer\":{\"type\":\"boolean\",\"description\":\"ว่าการจัดแสดงนั้นถูกระบุว่าเป็นข้อเสนอส่งมอบ\"}}},\"title\":{\"type\":\"object\",\"description\":\"ข้อความหัวข้อและเครื่องหมายประดับที่แสดงสำหรับสินค้า\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงในหัวข้อสินค้า\"},\"selledNumber\":{\"type\":\"string\",\"description\":\"ข้อความแสดงการขายที่แสดงใกล้กับชื่อ\"},\"wantBuy\":{\"type\":\"string\",\"description\":\"ข้อความแสดงความสนใจในการซื้อที่แสดงใกล้กับชื่อ, ถ้ารายงาน\"},\"tagList\":{\"type\":\"array\",\"description\":\"คำที่แสดงใกล้กับชื่อ. อาร์เรย์สามารถว่างเปล่าได้\",\"items\":{\"type\":\"string\",\"description\":\"ข้อความของคำที่แสดงสินค้า\"}},\"scrollList\":{\"type\":\"array\",\"description\":\"ข้อความที่แสดงเมื่อเลื่อนดูถูกส่งกลับมาสำหรับหัวข้อสินค้า\",\"items\":{\"type\":\"object\",\"description\":\"ข้อความที่แสดงหนึ่งข้อในหัวข้อ\",\"properties\":{\"prefix\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงก่อนป้ายกำกับหลัก\"},\"text\":{\"type\":\"string\",\"description\":\"ข้อความหลักของข้อความที่แสดงในหัวข้อ\"},\"suffix\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงหลังป้ายกำกับหลัก\"}}}}}},\"mainPic\":{\"type\":\"object\",\"description\":\"กลุ่มรูปภาพของสินค้าที่ถูกส่งกลับมาสำหรับรายการที่ใช้การจัดวางข้อมูลนี้\",\"properties\":{\"offerId\":{\"type\":\"string\",\"description\":\"ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ\"},\"isPrivacy\":{\"type\":\"boolean\",\"description\":\"ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่\"},\"videoUrl\":{\"type\":\"string\",\"description\":\"ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้\"},\"videoId\":{\"type\":\"integer\",\"description\":\"ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน\"},\"offerImgList\":{\"type\":\"array\",\"description\":\"ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้\",\"items\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน\"}},\"offerImages\":{\"type\":\"array\",\"description\":\"ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ\",\"items\":{\"type\":\"object\",\"description\":\"ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า\",\"properties\":{\"imgUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปสินค้า\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ\"},\"typeDes\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า\"}}}},\"offerInfoModel\":{\"type\":\"object\",\"description\":\"สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน\"},\"price\":{\"type\":\"string\",\"description\":\"ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน\"}}},\"skuImages\":{\"type\":\"array\",\"description\":\"ภาพที่เกี่ยวข้องกับชื่อตัวเลือก SKU\",\"items\":{\"type\":\"object\",\"description\":\"ภาพตัวเลือก SKU หนึ่งตัวเลือก\",\"properties\":{\"imgUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังภาพตัวเลือก SKU\"},\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของตัวเลือก SKU ที่เกี่ยวข้องกับภาพนี้\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทที่รายงานสำหรับภาพตัวเลือก SKU\"}}}}}},\"video\":{\"type\":\"object\",\"description\":\"กลุ่มสื่อมวลชนวิดีโอ ซึ่งอาจเป็นอ็อบเจกต์ว่างหากมีการส่งกลับภาพสินค้าใน mainPic\",\"properties\":{\"offerId\":{\"type\":\"string\",\"description\":\"ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ\"},\"isPrivacy\":{\"type\":\"boolean\",\"description\":\"ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่\"},\"videoUrl\":{\"type\":\"string\",\"description\":\"ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้\"},\"videoId\":{\"type\":\"integer\",\"description\":\"ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน\"},\"offerImgList\":{\"type\":\"array\",\"description\":\"ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้\",\"items\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน\"}},\"offerImages\":{\"type\":\"array\",\"description\":\"ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ\",\"items\":{\"type\":\"object\",\"description\":\"ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า\",\"properties\":{\"imgUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังรูปสินค้า\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ\"},\"typeDes\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า\"}}}},\"offerInfoModel\":{\"type\":\"object\",\"description\":\"สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน\"},\"price\":{\"type\":\"string\",\"description\":\"ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน\"}}}}},\"images\":{\"type\":\"array\",\"description\":\"ข้อมูลภาพสินค้าที่มีลิงก์ URL ต่างๆ ที่รายงาน\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลภาพสินค้าหนึ่งรายการ\",\"properties\":{\"imageURI\":{\"type\":\"string\",\"description\":\"URI หลักที่รายงานสำหรับภาพสินค้า\"},\"fullPathImageURI\":{\"type\":\"string\",\"description\":\"URI ภาพสินค้าทั้งหมดที่รายงานสำหรับภาพสินค้า\"},\"size220x220ImageURI\":{\"type\":\"string\",\"description\":\"URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 220×220 ที่รายงาน\"},\"size310x310ImageURI\":{\"type\":\"string\",\"description\":\"URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 310×310 ที่รายงาน\"},\"searchImageURI\":{\"type\":\"string\",\"description\":\"URI ภาพที่รายงานสำหรับการแสดงผลในการค้นหา\"},\"summImageURI\":{\"type\":\"string\",\"description\":\"URI ภาพสินค้าที่รายงานสำหรับข้อมูลสรุปขนาด\"}}}},\"description\":{\"type\":\"object\",\"description\":\"ข้อมูลอธิบายสินค้าที่เพิ่มเติม\",\"properties\":{\"detailUrl\":{\"type\":\"string\",\"description\":\"ลิงก์ไปยังคำอธิบายสินค้าผู้ขยาย\"},\"isUseNewDetail\":{\"type\":\"boolean\",\"description\":\"ว่าคำอธิบายสินค้าทำงานในรูปแบบรายละเอียดใหม่หรือไม่\"}}},\"attribute\":{\"type\":\"object\",\"description\":\"ข้อมูลคุณสมบัติของสินค้าและค่าที่แสดง\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"title\":{\"type\":\"string\",\"description\":\"ชื่อหัวข้อที่แสดงสำหรับคุณสมบัติของสินค้า\"},\"propsList\":{\"type\":\"array\",\"description\":\"ชื่อและค่าของคุณสมบัติที่แสดงสำหรับสินค้า\",\"items\":{\"type\":\"object\",\"description\":\"คุณสมบัติของสินค้าหนึ่งที่แสดง\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"ชื่อที่แสดงของแอตทริบิวต์สินค้า\"},\"value\":{\"type\":\"string\",\"description\":\"ค่าแสดงผลของคุณสมบัติสินค้า\"},\"show\":{\"type\":\"boolean\",\"description\":\"ว่าคุณสมบัตินั้นถูกระบุให้แสดงหรือไม่\"}}}}}},\"price\":{\"type\":\"object\",\"description\":\"ราคาของสินค้า, หน่วยการแสดง, และระดับปริมาณ\",\"properties\":{\"displayType\":{\"type\":\"string\",\"description\":\"คำอธิบายประเภทการแสดงราคาสำหรับสินค้า\"},\"unit\":{\"type\":\"string\",\"description\":\"หน่วยที่แสดงข้างๆ ราคาสินค้า\"},\"priceModel\":{\"type\":\"object\",\"description\":\"ระดับราคาที่รายงานตามปริมาณสำหรับสินค้า\",\"properties\":{\"priceDisplayType\":{\"type\":\"string\",\"description\":\"รหัสประเภทการแสดงในโมเดลราคา\"},\"currentPrices\":{\"type\":\"array\",\"description\":\"ระดับราคาปัจจุบันตามปริมาณการสั่งซื้อ\",\"items\":{\"type\":\"object\",\"description\":\"ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง\"},\"beginAmount\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา\"}}}},\"originalPrices\":{\"type\":\"array\",\"description\":\"ระดับราคาเดิมตามปริมาณการสั่งซื้อ, ถ้ามี\",\"items\":{\"type\":\"object\",\"description\":\"ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง\"},\"beginAmount\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา\"}}}},\"originalPriceDisplay\":{\"type\":\"string\",\"description\":\"ข้อความการแสดงราคาเดิม, ถ้ามี\"},\"currentPricesWithOnePiece\":{\"type\":\"array\",\"description\":\"ระดับปริมาณปัจจุบันที่รวมถึงราคาแบบหนึ่งชิ้น, ถ้ามี\",\"items\":{\"type\":\"object\",\"description\":\"ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น\",\"properties\":{\"price\":{\"type\":\"string\",\"description\":\"ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง\"},\"beginAmount\":{\"type\":\"integer\",\"description\":\"ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา\"}}}}}}}},\"coupon\":{\"type\":[\"object\",\"array\"],\"description\":\"ข้อมูลส่วนลดเมื่อมีอยู่. คำตอบอาจส่งกลับอาร์เรย์ว่างด้วย\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"buttonName\":{\"type\":\"string\",\"description\":\"ป้ายของปุ่มการดำเนินการส่วนลด\"},\"pageName\":{\"type\":\"string\",\"description\":\"ชื่อการแสดงของส่วนลด\"},\"couponRuleLinkText\":{\"type\":\"string\",\"description\":\"ข้อความการแสดงสำหรับลิงก์กฎการใช้ส่วนลด\"},\"couponList\":{\"type\":\"array\",\"description\":\"ป้ายส่วนลดที่รวมอยู่ในรายการ\",\"items\":{\"type\":\"object\",\"description\":\"ป้ายการแสดงส่วนลดหนึ่ง\",\"properties\":{\"couponType\":{\"type\":\"string\",\"description\":\"รหัสประเภทที่รายงานสำหรับคูปองนี้。\"},\"couponContent\":{\"type\":\"string\",\"description\":\"ข้อความที่แสดงสำหรับคูปองนี้。\"}}}},\"couponInfoList\":{\"type\":\"array\",\"description\":\"กลุ่มแสดงคูปองที่มีรายละเอียด หากมีการส่งกลับมา。\",\"items\":{\"type\":\"object\",\"description\":\"กลุ่มแสดงคูปองที่มีรายละเอียดหนึ่งกลุ่ม。\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"ชื่อการแสดงของกลุ่มคูปอง。\"},\"summary\":{\"type\":\"string\",\"description\":\"สรุปข้อมูลของกลุ่มคูปอง。\"},\"buttonName\":{\"type\":\"string\",\"description\":\"ป้ายกำกับของปุ่มการดำเนินการของกลุ่มคูปอง。\"},\"type\":{\"type\":\"string\",\"description\":\"รหัสประเภทที่รายงานสำหรับกลุ่มคูปอง。\"},\"promotionItems\":{\"type\":\"array\",\"description\":\"ข้อมูลโปรโมชั่นที่รวมอยู่ในกลุ่มแสดงคูปองนี้。\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลโปรโมชั่นหนึ่งข้อมูล。\",\"properties\":{\"summary\":{\"type\":\"string\",\"description\":\"ข้อความสรุปที่แสดงสำหรับโปรโมชั่น。\"},\"label\":{\"type\":\"string\",\"description\":\"ป้ายกำกับที่แสดงสำหรับโปรโมชั่น。\"},\"promotionDisplayName\":{\"type\":\"string\",\"description\":\"ชื่อโปรโมชั่นที่แสดงในกลุ่มแสดงคูปอง。\"},\"availablePeriod\":{\"type\":\"string\",\"description\":\"ช่วงเวลาการมีอยู่ของโปรโมชั่นที่แสดงเป็นข้อความ。\"},\"startTime\":{\"type\":\"string\",\"description\":\"เวลาเริ่มต้นของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。\"},\"endTime\":{\"type\":\"string\",\"description\":\"เวลาสิ้นสุดของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。\"},\"detail\":{\"type\":\"string\",\"description\":\"ข้อความแสดงรายละเอียดของโปรโมชั่น。\"},\"discountFee\":{\"type\":\"string\",\"description\":\"จำนวนส่วนลดที่รายงานเป็นข้อความแสดง。\"},\"applied\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้แล้วหรือไม่。\"},\"canApply\":{\"type\":\"boolean\",\"description\":\"ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้ได้หรือไม่。\"}}}}}}}}},\"service\":{\"type\":\"object\",\"description\":\"บริการและคำอธิบายที่แสดงสำหรับสินค้า。\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"service1\":{\"type\":\"string\",\"description\":\"ป้ายกำกับการแสดงบริการแรกสำหรับสินค้า。\"},\"service2\":{\"type\":\"string\",\"description\":\"ป้ายกำกับการแสดงบริการที่สอง หากมีการส่งกลับมา。\"},\"service3\":{\"type\":\"string\",\"description\":\"ป้ายกำกับการแสดงบริการที่สาม หากมีการส่งกลับมา。\"},\"serviceDetail\":{\"type\":\"array\",\"description\":\"ข้อมูลรายละเอียดเกี่ยวกับบริการที่แสดง。\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา\",\"properties\":{\"serviceName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของบริการ\"},\"serviceCode\":{\"type\":\"string\",\"description\":\"รหัสที่รายงานสำหรับบริการ\"},\"description\":{\"type\":\"string\",\"description\":\"คำอธิบายที่แสดงสำหรับบริการ\"}}}},\"serviceDesc\":{\"type\":\"array\",\"description\":\"ข้อมูลอธิบายบริการที่รวมอยู่ในรายการ\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา\",\"properties\":{\"serviceName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของบริการ\"},\"serviceCode\":{\"type\":\"string\",\"description\":\"รหัสที่รายงานสำหรับบริการ\"},\"type\":{\"type\":\"string\",\"description\":\"ชื่อประเภทที่รายงานสำหรับข้อมูลอธิบายบริการนี้\"}}}}}},\"delivery\":{\"type\":\"object\",\"description\":\"ข้อมูลการจัดส่งและการคุ้มครองผู้ซื้อที่รายงานสำหรับรายการ\",\"properties\":{\"offerId\":{\"type\":\"integer\",\"description\":\"ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม\"},\"location\":{\"type\":\"string\",\"description\":\"จุดเริ่มต้นการจัดส่งสำหรับผลิตภัณฑ์\"},\"logistics\":{\"type\":\"string\",\"description\":\"ข้อความแสดงผลการจัดส่งที่ส่งกลับมาสำหรับผลิตภัณฑ์\"},\"deliveryLimitTxt\":{\"type\":\"string\",\"description\":\"ข้อความแสดงผลเกี่ยวกับการส่งมอบหรือการจัดส่งที่รายงาน\"},\"postFree\":{\"type\":\"boolean\",\"description\":\"ว่าการจัดส่งถูกระบุว่าเป็นฟรีในข้อมูลการตอบกลับนี้หรือไม่\"},\"postFeeValue\":{\"type\":\"integer\",\"description\":\"ค่าธรรมเนียมการจัดส่งที่เป็นตัวเลขที่รายงานสำหรับรายการนี้\"},\"templateId\":{\"type\":\"integer\",\"description\":\"ตัวระบุของเทมเพลตการจัดส่งที่รายงาน\"},\"unitWeight\":{\"type\":\"integer\",\"description\":\"ค่ามวลต่อหน่วยที่รายงานสำหรับการจัดส่ง\"},\"skuWeight\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"number\",\"description\":\"ค่ามวลที่รายงานสำหรับ SKU นี้\"},\"description\":\"ค่ามวลที่ระบุตามตัวระบุ SKU ที่รายงาน\"},\"deliveryLimitTimeModel\":{\"type\":\"object\",\"description\":\"ข้อมูลรายละเอียดเกี่ยวกับเวลาการส่งมอบที่รายงานสำหรับรายการ\",\"properties\":{\"limitTimeDay\":{\"type\":\"integer\",\"description\":\"จำนวนวันที่รายงานสำหรับข้อจำกัดเวลาการส่งมอบ\"},\"limitTimeDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงผลของข้อจำกัดเวลาการส่งมอบ\"},\"expectTimeDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงผลของเวลาการส่งมอบที่คาดหวัง\"}}},\"protectionInfos\":{\"type\":\"array\",\"description\":\"บริการการคุ้มครองที่รวมอยู่ในข้อมูลการจัดส่ง\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา\",\"properties\":{\"serviceName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของบริการ\"},\"serviceCode\":{\"type\":\"string\",\"description\":\"รหัสที่รายงานสำหรับบริการ\"},\"description\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงผลของบริการการคุ้มครอง\"},\"longDescription\":{\"type\":\"string\",\"description\":\"คำอธิบายที่ละเอียดยิ่งขึ้นของบริการการคุ้มครอง\"},\"buyerDescription\":{\"type\":\"string\",\"description\":\"คำอธิบายที่ผู้ซื้อสามารถเข้าใจเกี่ยวกับบริการการคุ้มครอง\"},\"agreeDeliveryHours\":{\"type\":\"integer\",\"description\":\"เวลาการส่งมอบที่ตกลงกันในชั่วโมงเมื่อส่งกลับมา\"}}}},\"buyerProtectionModel\":{\"type\":\"array\",\"description\":\"ข้อมูลเพิ่มเติมเกี่ยวกับการคุ้มครองผู้ซื้อที่แสดงพร้อมกับการจัดส่ง\",\"items\":{\"type\":\"object\",\"description\":\"ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา\",\"properties\":{\"serviceName\":{\"type\":\"string\",\"description\":\"ชื่อที่ปรากฏของบริการ\"},\"serviceCode\":{\"type\":\"string\",\"description\":\"รหัสที่รายงานสำหรับบริการ\"},\"enabled\":{\"type\":\"boolean\",\"description\":\"ว่าข้อมูลการคุ้มครองผู้ซื้อนั้นถูกตั้งเป็นการใช้งานได้หรือไม่\"},\"shortBuyerDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายสั้นๆ ที่แสดงให้ผู้ซื้อเห็น\"},\"textDesc\":{\"type\":\"string\",\"description\":\"คำอธิบายการแสดงข้อมูลสำหรับข้อมูลการคุ้มครองผู้ซื้อ\"}}}}}},\"order\":{\"type\":\"object\",\"description\":\"ช่องทางการซื้อที่แสดงสำหรับสินค้า\",\"properties\":{\"sceneList\":{\"type\":\"array\",\"description\":\"ช่องทางการซื้อที่แสดงสำหรับสินค้า\",\"items\":{\"type\":\"object\",\"description\":\"ตัวเลือกการซื้อหนึ่งตัวที่แสดง\",\"properties\":{\"sceneName\":{\"type\":\"string\",\"description\":\"ชื่อการซื้อที่แสดง\"}}}},\"selectedScene\":{\"type\":\"object\",\"description\":\"ช่องทางการซื้อที่ถูกเลือกในสินค้า\",\"properties\":{\"sceneName\":{\"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/v1\"")' />

<p>ดึงข้อมูลรายละเอียดสินค้าทั่วไปสำหรับรายการขายแบบขายส่งใน 1688 โดยใช้ ID ของสินค้า ใช้เพื่อตรวจสอบข้อมูลสินค้าที่รู้จักขณะทำการหาสินค้าหรือวิจัยแคตตาล็อก</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> | ใช่ | - | ตัวระบุสินค้าที่ไม่เหมือนใครบน 1688 |

</div>

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

::: code-group

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

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

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

รูปแบบที่ส่งกลับ: จัดการ 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/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/1688/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/1688/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/1688/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/1688/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/1688/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> | - | เมื่อข้อมูลเป็นอ็อบเจกต์, ฟิลด์เหล่านี้จะอธิบายถึงสินค้า 1688 ที่ขอมา หากการตอบกลับสำเร็จโดยไม่มีรายละเอียดของสินค้า อาจมีสตริงว่าง |
| <code>data.item</code> | <code>object</code> | ข้อมูลพื้นฐานของสินค้าและรายละเอียดร้านค้าที่แสดงโดยผู้ขาย |
| <code>data.item.offerId</code> | <code>string</code> | ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.item.offerTitle</code> | <code>string</code> | ชื่อเรื่องที่แสดงของสินค้า |
| <code>data.item.companyName</code> | <code>string</code> | ชื่อธุรกิจที่แสดงสำหรับผู้ขาย |
| <code>data.item.winportUrl</code> | <code>string</code> | ลิงก์ร้านค้าที่แสดงสำหรับผู้ขาย |
| <code>data.item.defaultOfferImg</code> | <code>string</code> | ลิงก์ไปยังรูปภาพแสดงผลพร้อมใช้งานสำหรับสินค้า |
| <code>data.item.offerUnit</code> | <code>string</code> | หน่วยการขายที่แสดงสำหรับสินค้า |
| <code>data.item.saleOut</code> | <code>boolean</code> | ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่ |
| <code>data.item.price</code> | <code>string</code> | ข้อความแสดงราคาที่รายงานพร้อมกับสรุปสินค้า |
| <code>data.item.saledCount</code> | <code>integer</code> | ปริมาณการขายที่รายงานในข้อมูลสินค้า |
| <code>data.item.saledCountStr</code> | <code>string</code> | ข้อความแสดงปริมาณการขายสำหรับสินค้า |
| <code>data.item.topCategoryId</code> | <code>string</code> | ID ของหมวดหมู่ระดับสูงที่รายงานสำหรับสินค้า ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.item.postCategoryId</code> | <code>string</code> | ID ของหมวดหมู่ที่แสดงในรายการสินค้า ถูกส่งกลับมาในรูปแบบข้อความ |
| <code>data.item.businessType</code> | <code>string</code> | ป้ายกำกับประเภทธุรกิจที่รายงานสำหรับการจัดแสดงนี้ |
| <code>data.item.consignOffer</code> | <code>boolean</code> | ว่าการจัดแสดงนั้นถูกระบุว่าเป็นข้อเสนอส่งมอบ |
| <code>data.title</code> | <code>object</code> | ข้อความหัวข้อและเครื่องหมายประดับที่แสดงสำหรับสินค้า |
| <code>data.title.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.title.title</code> | <code>string</code> | ชื่อที่แสดงในหัวข้อสินค้า |
| <code>data.title.selledNumber</code> | <code>string</code> | ข้อความแสดงการขายที่แสดงใกล้กับชื่อ |
| <code>data.title.wantBuy</code> | <code>string</code> | ข้อความแสดงความสนใจในการซื้อที่แสดงใกล้กับชื่อ, ถ้ารายงาน |
| <code>data.title.tagList</code> | <code>array</code> | คำที่แสดงใกล้กับชื่อ. อาร์เรย์สามารถว่างเปล่าได้ |
| <code>data.title.tagList[]</code> | <code>string</code> | ข้อความของคำที่แสดงสินค้า |
| <code>data.title.scrollList</code> | <code>array</code> | ข้อความที่แสดงเมื่อเลื่อนดูถูกส่งกลับมาสำหรับหัวข้อสินค้า |
| <code>data.title.scrollList[]</code> | <code>object</code> | ข้อความที่แสดงหนึ่งข้อในหัวข้อ |
| <code>data.title.scrollList[].prefix</code> | <code>string</code> | ข้อความที่แสดงก่อนป้ายกำกับหลัก |
| <code>data.title.scrollList[].text</code> | <code>string</code> | ข้อความหลักของข้อความที่แสดงในหัวข้อ |
| <code>data.title.scrollList[].suffix</code> | <code>string</code> | ข้อความที่แสดงหลังป้ายกำกับหลัก |
| <code>data.mainPic</code> | <code>object</code> | กลุ่มรูปภาพของสินค้าที่ถูกส่งกลับมาสำหรับรายการที่ใช้การจัดวางข้อมูลนี้ |
| <code>data.mainPic.offerId</code> | <code>string</code> | ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.mainPic.isPrivacy</code> | <code>boolean</code> | ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่ |
| <code>data.mainPic.videoUrl</code> | <code>string</code> | ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้ |
| <code>data.mainPic.videoId</code> | <code>integer</code> | ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน |
| <code>data.mainPic.offerImgList</code> | <code>array</code> | ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้ |
| <code>data.mainPic.offerImgList[]</code> | <code>string</code> | ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน |
| <code>data.mainPic.offerImages</code> | <code>array</code> | ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ |
| <code>data.mainPic.offerImages[]</code> | <code>object</code> | ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า |
| <code>data.mainPic.offerImages[].imgUrl</code> | <code>string</code> | ลิงก์ไปยังรูปสินค้า |
| <code>data.mainPic.offerImages[].type</code> | <code>string</code> | รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ |
| <code>data.mainPic.offerImages[].typeDes</code> | <code>string</code> | คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า |
| <code>data.mainPic.offerInfoModel</code> | <code>object</code> | สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้ |
| <code>data.mainPic.offerInfoModel.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.mainPic.offerInfoModel.title</code> | <code>string</code> | ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน |
| <code>data.mainPic.offerInfoModel.price</code> | <code>string</code> | ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน |
| <code>data.mainPic.skuImages</code> | <code>array</code> | ภาพที่เกี่ยวข้องกับชื่อตัวเลือก SKU |
| <code>data.mainPic.skuImages[]</code> | <code>object</code> | ภาพตัวเลือก SKU หนึ่งตัวเลือก |
| <code>data.mainPic.skuImages[].imgUrl</code> | <code>string</code> | ลิงก์ไปยังภาพตัวเลือก SKU |
| <code>data.mainPic.skuImages[].name</code> | <code>string</code> | ชื่อที่ปรากฏของตัวเลือก SKU ที่เกี่ยวข้องกับภาพนี้ |
| <code>data.mainPic.skuImages[].type</code> | <code>string</code> | รหัสประเภทที่รายงานสำหรับภาพตัวเลือก SKU |
| <code>data.video</code> | <code>object</code> | กลุ่มสื่อมวลชนวิดีโอ ซึ่งอาจเป็นอ็อบเจกต์ว่างหากมีการส่งกลับภาพสินค้าใน mainPic |
| <code>data.video.offerId</code> | <code>string</code> | ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ |
| <code>data.video.isPrivacy</code> | <code>boolean</code> | ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่ |
| <code>data.video.videoUrl</code> | <code>string</code> | ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้ |
| <code>data.video.videoId</code> | <code>integer</code> | ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน |
| <code>data.video.offerImgList</code> | <code>array</code> | ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้ |
| <code>data.video.offerImgList[]</code> | <code>string</code> | ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน |
| <code>data.video.offerImages</code> | <code>array</code> | ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ |
| <code>data.video.offerImages[]</code> | <code>object</code> | ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า |
| <code>data.video.offerImages[].imgUrl</code> | <code>string</code> | ลิงก์ไปยังรูปสินค้า |
| <code>data.video.offerImages[].type</code> | <code>string</code> | รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ |
| <code>data.video.offerImages[].typeDes</code> | <code>string</code> | คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า |
| <code>data.video.offerInfoModel</code> | <code>object</code> | สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้ |
| <code>data.video.offerInfoModel.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.video.offerInfoModel.title</code> | <code>string</code> | ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน |
| <code>data.video.offerInfoModel.price</code> | <code>string</code> | ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน |
| <code>data.images</code> | <code>array</code> | ข้อมูลภาพสินค้าที่มีลิงก์ URL ต่างๆ ที่รายงาน |
| <code>data.images[]</code> | <code>object</code> | ข้อมูลภาพสินค้าหนึ่งรายการ |
| <code>data.images[].imageURI</code> | <code>string</code> | URI หลักที่รายงานสำหรับภาพสินค้า |
| <code>data.images[].fullPathImageURI</code> | <code>string</code> | URI ภาพสินค้าทั้งหมดที่รายงานสำหรับภาพสินค้า |
| <code>data.images[].size220x220ImageURI</code> | <code>string</code> | URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 220×220 ที่รายงาน |
| <code>data.images[].size310x310ImageURI</code> | <code>string</code> | URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 310×310 ที่รายงาน |
| <code>data.images[].searchImageURI</code> | <code>string</code> | URI ภาพที่รายงานสำหรับการแสดงผลในการค้นหา |
| <code>data.images[].summImageURI</code> | <code>string</code> | URI ภาพสินค้าที่รายงานสำหรับข้อมูลสรุปขนาด |
| <code>data.description</code> | <code>object</code> | ข้อมูลอธิบายสินค้าที่เพิ่มเติม |
| <code>data.description.detailUrl</code> | <code>string</code> | ลิงก์ไปยังคำอธิบายสินค้าผู้ขยาย |
| <code>data.description.isUseNewDetail</code> | <code>boolean</code> | ว่าคำอธิบายสินค้าทำงานในรูปแบบรายละเอียดใหม่หรือไม่ |
| <code>data.attribute</code> | <code>object</code> | ข้อมูลคุณสมบัติของสินค้าและค่าที่แสดง |
| <code>data.attribute.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.attribute.title</code> | <code>string</code> | ชื่อหัวข้อที่แสดงสำหรับคุณสมบัติของสินค้า |
| <code>data.attribute.propsList</code> | <code>array</code> | ชื่อและค่าของคุณสมบัติที่แสดงสำหรับสินค้า |
| <code>data.attribute.propsList[]</code> | <code>object</code> | คุณสมบัติของสินค้าหนึ่งที่แสดง |
| <code>data.attribute.propsList[].name</code> | <code>string</code> | ชื่อที่แสดงของแอตทริบิวต์สินค้า |
| <code>data.attribute.propsList[].value</code> | <code>string</code> | ค่าแสดงผลของคุณสมบัติสินค้า |
| <code>data.attribute.propsList[].show</code> | <code>boolean</code> | ว่าคุณสมบัตินั้นถูกระบุให้แสดงหรือไม่ |
| <code>data.price</code> | <code>object</code> | ราคาของสินค้า, หน่วยการแสดง, และระดับปริมาณ |
| <code>data.price.displayType</code> | <code>string</code> | คำอธิบายประเภทการแสดงราคาสำหรับสินค้า |
| <code>data.price.unit</code> | <code>string</code> | หน่วยที่แสดงข้างๆ ราคาสินค้า |
| <code>data.price.priceModel</code> | <code>object</code> | ระดับราคาที่รายงานตามปริมาณสำหรับสินค้า |
| <code>data.price.priceModel.priceDisplayType</code> | <code>string</code> | รหัสประเภทการแสดงในโมเดลราคา |
| <code>data.price.priceModel.currentPrices</code> | <code>array</code> | ระดับราคาปัจจุบันตามปริมาณการสั่งซื้อ |
| <code>data.price.priceModel.currentPrices[]</code> | <code>object</code> | ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น |
| <code>data.price.priceModel.currentPrices[].price</code> | <code>string</code> | ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง |
| <code>data.price.priceModel.currentPrices[].beginAmount</code> | <code>integer</code> | ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา |
| <code>data.price.priceModel.originalPrices</code> | <code>array</code> | ระดับราคาเดิมตามปริมาณการสั่งซื้อ, ถ้ามี |
| <code>data.price.priceModel.originalPrices[]</code> | <code>object</code> | ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น |
| <code>data.price.priceModel.originalPrices[].price</code> | <code>string</code> | ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง |
| <code>data.price.priceModel.originalPrices[].beginAmount</code> | <code>integer</code> | ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา |
| <code>data.price.priceModel.originalPriceDisplay</code> | <code>string</code> | ข้อความการแสดงราคาเดิม, ถ้ามี |
| <code>data.price.priceModel.currentPricesWithOnePiece</code> | <code>array</code> | ระดับปริมาณปัจจุบันที่รวมถึงราคาแบบหนึ่งชิ้น, ถ้ามี |
| <code>data.price.priceModel.currentPricesWithOnePiece[]</code> | <code>object</code> | ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น |
| <code>data.price.priceModel.currentPricesWithOnePiece[].price</code> | <code>string</code> | ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง |
| <code>data.price.priceModel.currentPricesWithOnePiece[].beginAmount</code> | <code>integer</code> | ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา |
| <code>data.coupon</code> | <code>object &#124; array</code> | ข้อมูลส่วนลดเมื่อมีอยู่. คำตอบอาจส่งกลับอาร์เรย์ว่างด้วย |
| <code>data.coupon.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.coupon.buttonName</code> | <code>string</code> | ป้ายของปุ่มการดำเนินการส่วนลด |
| <code>data.coupon.pageName</code> | <code>string</code> | ชื่อการแสดงของส่วนลด |
| <code>data.coupon.couponRuleLinkText</code> | <code>string</code> | ข้อความการแสดงสำหรับลิงก์กฎการใช้ส่วนลด |
| <code>data.coupon.couponList</code> | <code>array</code> | ป้ายส่วนลดที่รวมอยู่ในรายการ |
| <code>data.coupon.couponList[]</code> | <code>object</code> | ป้ายการแสดงส่วนลดหนึ่ง |
| <code>data.coupon.couponList[].couponType</code> | <code>string</code> | รหัสประเภทที่รายงานสำหรับคูปองนี้。 |
| <code>data.coupon.couponList[].couponContent</code> | <code>string</code> | ข้อความที่แสดงสำหรับคูปองนี้。 |
| <code>data.coupon.couponInfoList</code> | <code>array</code> | กลุ่มแสดงคูปองที่มีรายละเอียด หากมีการส่งกลับมา。 |
| <code>data.coupon.couponInfoList[]</code> | <code>object</code> | กลุ่มแสดงคูปองที่มีรายละเอียดหนึ่งกลุ่ม。 |
| <code>data.coupon.couponInfoList[].name</code> | <code>string</code> | ชื่อการแสดงของกลุ่มคูปอง。 |
| <code>data.coupon.couponInfoList[].summary</code> | <code>string</code> | สรุปข้อมูลของกลุ่มคูปอง。 |
| <code>data.coupon.couponInfoList[].buttonName</code> | <code>string</code> | ป้ายกำกับของปุ่มการดำเนินการของกลุ่มคูปอง。 |
| <code>data.coupon.couponInfoList[].type</code> | <code>string</code> | รหัสประเภทที่รายงานสำหรับกลุ่มคูปอง。 |
| <code>data.coupon.couponInfoList[].promotionItems</code> | <code>array</code> | ข้อมูลโปรโมชั่นที่รวมอยู่ในกลุ่มแสดงคูปองนี้。 |
| <code>data.coupon.couponInfoList[].promotionItems[]</code> | <code>object</code> | ข้อมูลโปรโมชั่นหนึ่งข้อมูล。 |
| <code>data.coupon.couponInfoList[].promotionItems[].summary</code> | <code>string</code> | ข้อความสรุปที่แสดงสำหรับโปรโมชั่น。 |
| <code>data.coupon.couponInfoList[].promotionItems[].label</code> | <code>string</code> | ป้ายกำกับที่แสดงสำหรับโปรโมชั่น。 |
| <code>data.coupon.couponInfoList[].promotionItems[].promotionDisplayName</code> | <code>string</code> | ชื่อโปรโมชั่นที่แสดงในกลุ่มแสดงคูปอง。 |
| <code>data.coupon.couponInfoList[].promotionItems[].availablePeriod</code> | <code>string</code> | ช่วงเวลาการมีอยู่ของโปรโมชั่นที่แสดงเป็นข้อความ。 |
| <code>data.coupon.couponInfoList[].promotionItems[].startTime</code> | <code>string</code> | เวลาเริ่มต้นของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。 |
| <code>data.coupon.couponInfoList[].promotionItems[].endTime</code> | <code>string</code> | เวลาสิ้นสุดของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。 |
| <code>data.coupon.couponInfoList[].promotionItems[].detail</code> | <code>string</code> | ข้อความแสดงรายละเอียดของโปรโมชั่น。 |
| <code>data.coupon.couponInfoList[].promotionItems[].discountFee</code> | <code>string</code> | จำนวนส่วนลดที่รายงานเป็นข้อความแสดง。 |
| <code>data.coupon.couponInfoList[].promotionItems[].applied</code> | <code>boolean</code> | ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้แล้วหรือไม่。 |
| <code>data.coupon.couponInfoList[].promotionItems[].canApply</code> | <code>boolean</code> | ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้ได้หรือไม่。 |
| <code>data.service</code> | <code>object</code> | บริการและคำอธิบายที่แสดงสำหรับสินค้า。 |
| <code>data.service.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.service.service1</code> | <code>string</code> | ป้ายกำกับการแสดงบริการแรกสำหรับสินค้า。 |
| <code>data.service.service2</code> | <code>string</code> | ป้ายกำกับการแสดงบริการที่สอง หากมีการส่งกลับมา。 |
| <code>data.service.service3</code> | <code>string</code> | ป้ายกำกับการแสดงบริการที่สาม หากมีการส่งกลับมา。 |
| <code>data.service.serviceDetail</code> | <code>array</code> | ข้อมูลรายละเอียดเกี่ยวกับบริการที่แสดง。 |
| <code>data.service.serviceDetail[]</code> | <code>object</code> | ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา |
| <code>data.service.serviceDetail[].serviceName</code> | <code>string</code> | ชื่อที่ปรากฏของบริการ |
| <code>data.service.serviceDetail[].serviceCode</code> | <code>string</code> | รหัสที่รายงานสำหรับบริการ |
| <code>data.service.serviceDetail[].description</code> | <code>string</code> | คำอธิบายที่แสดงสำหรับบริการ |
| <code>data.service.serviceDesc</code> | <code>array</code> | ข้อมูลอธิบายบริการที่รวมอยู่ในรายการ |
| <code>data.service.serviceDesc[]</code> | <code>object</code> | ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา |
| <code>data.service.serviceDesc[].serviceName</code> | <code>string</code> | ชื่อที่ปรากฏของบริการ |
| <code>data.service.serviceDesc[].serviceCode</code> | <code>string</code> | รหัสที่รายงานสำหรับบริการ |
| <code>data.service.serviceDesc[].type</code> | <code>string</code> | ชื่อประเภทที่รายงานสำหรับข้อมูลอธิบายบริการนี้ |
| <code>data.delivery</code> | <code>object</code> | ข้อมูลการจัดส่งและการคุ้มครองผู้ซื้อที่รายงานสำหรับรายการ |
| <code>data.delivery.offerId</code> | <code>integer</code> | ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม |
| <code>data.delivery.location</code> | <code>string</code> | จุดเริ่มต้นการจัดส่งสำหรับผลิตภัณฑ์ |
| <code>data.delivery.logistics</code> | <code>string</code> | ข้อความแสดงผลการจัดส่งที่ส่งกลับมาสำหรับผลิตภัณฑ์ |
| <code>data.delivery.deliveryLimitTxt</code> | <code>string</code> | ข้อความแสดงผลเกี่ยวกับการส่งมอบหรือการจัดส่งที่รายงาน |
| <code>data.delivery.postFree</code> | <code>boolean</code> | ว่าการจัดส่งถูกระบุว่าเป็นฟรีในข้อมูลการตอบกลับนี้หรือไม่ |
| <code>data.delivery.postFeeValue</code> | <code>integer</code> | ค่าธรรมเนียมการจัดส่งที่เป็นตัวเลขที่รายงานสำหรับรายการนี้ |
| <code>data.delivery.templateId</code> | <code>integer</code> | ตัวระบุของเทมเพลตการจัดส่งที่รายงาน |
| <code>data.delivery.unitWeight</code> | <code>integer</code> | ค่ามวลต่อหน่วยที่รายงานสำหรับการจัดส่ง |
| <code>data.delivery.skuWeight</code> | <code>object</code> | ค่ามวลที่ระบุตามตัวระบุ SKU ที่รายงาน |
| <code>data.delivery.skuWeight.{key}</code> | <code>number</code> | ค่ามวลที่รายงานสำหรับ SKU นี้ |
| <code>data.delivery.deliveryLimitTimeModel</code> | <code>object</code> | ข้อมูลรายละเอียดเกี่ยวกับเวลาการส่งมอบที่รายงานสำหรับรายการ |
| <code>data.delivery.deliveryLimitTimeModel.limitTimeDay</code> | <code>integer</code> | จำนวนวันที่รายงานสำหรับข้อจำกัดเวลาการส่งมอบ |
| <code>data.delivery.deliveryLimitTimeModel.limitTimeDesc</code> | <code>string</code> | คำอธิบายการแสดงผลของข้อจำกัดเวลาการส่งมอบ |
| <code>data.delivery.deliveryLimitTimeModel.expectTimeDesc</code> | <code>string</code> | คำอธิบายการแสดงผลของเวลาการส่งมอบที่คาดหวัง |
| <code>data.delivery.protectionInfos</code> | <code>array</code> | บริการการคุ้มครองที่รวมอยู่ในข้อมูลการจัดส่ง |
| <code>data.delivery.protectionInfos[]</code> | <code>object</code> | ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา |
| <code>data.delivery.protectionInfos[].serviceName</code> | <code>string</code> | ชื่อที่ปรากฏของบริการ |
| <code>data.delivery.protectionInfos[].serviceCode</code> | <code>string</code> | รหัสที่รายงานสำหรับบริการ |
| <code>data.delivery.protectionInfos[].description</code> | <code>string</code> | คำอธิบายการแสดงผลของบริการการคุ้มครอง |
| <code>data.delivery.protectionInfos[].longDescription</code> | <code>string</code> | คำอธิบายที่ละเอียดยิ่งขึ้นของบริการการคุ้มครอง |
| <code>data.delivery.protectionInfos[].buyerDescription</code> | <code>string</code> | คำอธิบายที่ผู้ซื้อสามารถเข้าใจเกี่ยวกับบริการการคุ้มครอง |
| <code>data.delivery.protectionInfos[].agreeDeliveryHours</code> | <code>integer</code> | เวลาการส่งมอบที่ตกลงกันในชั่วโมงเมื่อส่งกลับมา |
| <code>data.delivery.buyerProtectionModel</code> | <code>array</code> | ข้อมูลเพิ่มเติมเกี่ยวกับการคุ้มครองผู้ซื้อที่แสดงพร้อมกับการจัดส่ง |
| <code>data.delivery.buyerProtectionModel[]</code> | <code>object</code> | ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา |
| <code>data.delivery.buyerProtectionModel[].serviceName</code> | <code>string</code> | ชื่อที่ปรากฏของบริการ |
| <code>data.delivery.buyerProtectionModel[].serviceCode</code> | <code>string</code> | รหัสที่รายงานสำหรับบริการ |
| <code>data.delivery.buyerProtectionModel[].enabled</code> | <code>boolean</code> | ว่าข้อมูลการคุ้มครองผู้ซื้อนั้นถูกตั้งเป็นการใช้งานได้หรือไม่ |
| <code>data.delivery.buyerProtectionModel[].shortBuyerDesc</code> | <code>string</code> | คำอธิบายสั้นๆ ที่แสดงให้ผู้ซื้อเห็น |
| <code>data.delivery.buyerProtectionModel[].textDesc</code> | <code>string</code> | คำอธิบายการแสดงข้อมูลสำหรับข้อมูลการคุ้มครองผู้ซื้อ |
| <code>data.order</code> | <code>object</code> | ช่องทางการซื้อที่แสดงสำหรับสินค้า |
| <code>data.order.sceneList</code> | <code>array</code> | ช่องทางการซื้อที่แสดงสำหรับสินค้า |
| <code>data.order.sceneList[]</code> | <code>object</code> | ตัวเลือกการซื้อหนึ่งตัวที่แสดง |
| <code>data.order.sceneList[].sceneName</code> | <code>string</code> | ชื่อการซื้อที่แสดง |
| <code>data.order.selectedScene</code> | <code>object</code> | ช่องทางการซื้อที่ถูกเลือกในสินค้า |
| <code>data.order.selectedScene.sceneName</code> | <code>string</code> | ชื่อการซื้อที่ถูกเลือกที่แสดง |

</div>

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

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

