ข้ามไปยังเนื้อหา

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

GET
สถานะสุขภาพของ API
สถานะดี มีสภาพ จำกัด ส่วนใหญ่ไม่มีสภาพ ไม่มีข้อมูล
กำลังโหลดสถานะสุขภาพ...

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

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

ชื่อ ตำแหน่ง ชนิดข้อมูล จำเป็น ค่าเริ่มต้น คำอธิบาย
token query string ใช่ - โทเค็นการเข้าถึงสำหรับบริการ API นี้
itemId query string ใช่ - ตัวระบุสินค้าที่ไม่เหมือนใครบน 1688

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

bash
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/1688/get-item-detail/v1?token=YOUR_API_KEY&itemId=VALUE'
text
ฉันต้องการใช้ 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
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
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
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
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
$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;
}

ฟิลด์ที่ได้รับการตอบกลับ ​

ฟิลด์สำคัญในผลการตอบกลับที่สำเร็จ (code = 0).

สินค้าและหน้าสินค้า15 ฟิลด์

data

เมื่อข้อมูลเป็นอ็อบเจกต์, ฟิลด์เหล่านี้จะอธิบายถึงสินค้า 1688 ที่ขอมา หากการตอบกลับสำเร็จโดยไม่มีรายละเอียดของสินค้า อาจมีสตริงว่าง

ฟิลด์ ชนิดข้อมูล คำอธิบาย
item object ข้อมูลพื้นฐานของสินค้าและรายละเอียดร้านค้าที่แสดงโดยผู้ขาย
item.offerId string ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ
item.offerTitle string ชื่อเรื่องที่แสดงของสินค้า
item.companyName string ชื่อธุรกิจที่แสดงสำหรับผู้ขาย
item.winportUrl string ลิงก์ร้านค้าที่แสดงสำหรับผู้ขาย
item.defaultOfferImg string ลิงก์ไปยังรูปภาพแสดงผลพร้อมใช้งานสำหรับสินค้า
item.offerUnit string หน่วยการขายที่แสดงสำหรับสินค้า
item.saleOut boolean ว่าสินค้านั้นถูกระบุว่าเสียสต็อกหรือไม่
item.price string ข้อความแสดงราคาที่รายงานพร้อมกับสรุปสินค้า
item.saledCount integer ปริมาณการขายที่รายงานในข้อมูลสินค้า
item.saledCountStr string ข้อความแสดงปริมาณการขายสำหรับสินค้า
item.topCategoryId string ID ของหมวดหมู่ระดับสูงที่รายงานสำหรับสินค้า ถูกส่งกลับมาในรูปแบบข้อความ
item.postCategoryId string ID ของหมวดหมู่ที่แสดงในรายการสินค้า ถูกส่งกลับมาในรูปแบบข้อความ
item.businessType string ป้ายกำกับประเภทธุรกิจที่รายงานสำหรับการจัดแสดงนี้
item.consignOffer boolean ว่าการจัดแสดงนั้นถูกระบุว่าเป็นข้อเสนอส่งมอบ
ภาพและวิดีโอของสินค้า45 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
mainPic object กลุ่มรูปภาพของสินค้าที่ถูกส่งกลับมาสำหรับรายการที่ใช้การจัดวางข้อมูลนี้
mainPic.offerId string ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ
mainPic.isPrivacy boolean ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่
mainPic.videoUrl string ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้
mainPic.videoId integer ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน
mainPic.offerImgList array ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้
mainPic.offerImgList[] string ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน
mainPic.offerImages array ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ
mainPic.offerImages[] object ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า
mainPic.offerImages[].imgUrl string ลิงก์ไปยังรูปสินค้า
mainPic.offerImages[].type string รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ
mainPic.offerImages[].typeDes string คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า
mainPic.offerInfoModel object สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้
mainPic.offerInfoModel.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
mainPic.offerInfoModel.title string ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน
mainPic.offerInfoModel.price string ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน
mainPic.skuImages array ภาพที่เกี่ยวข้องกับชื่อตัวเลือก SKU
mainPic.skuImages[] object ภาพตัวเลือก SKU หนึ่งตัวเลือก
mainPic.skuImages[].imgUrl string ลิงก์ไปยังภาพตัวเลือก SKU
mainPic.skuImages[].name string ชื่อที่ปรากฏของตัวเลือก SKU ที่เกี่ยวข้องกับภาพนี้
mainPic.skuImages[].type string รหัสประเภทที่รายงานสำหรับภาพตัวเลือก SKU
video object กลุ่มสื่อมวลชนวิดีโอ ซึ่งอาจเป็นอ็อบเจกต์ว่างหากมีการส่งกลับภาพสินค้าใน mainPic
video.offerId string ID ของสินค้า 1688 ที่ส่งกลับมาในรูปแบบข้อความ
video.isPrivacy boolean ว่ากลุ่มสื่อนั้นถูกระบุว่าเป็นส่วนตัวหรือไม่
video.videoUrl string ลิงก์วิดีโอที่รายงานสำหรับกลุ่มสื่อ. สตริงสามารถว่างเปล่าได้
video.videoId integer ID ของวิดีโอที่ส่งกลับมาสำหรับกลุ่มสื่อมวลชน
video.offerImgList array ลิงก์ภาพสินค้าในกลุ่มสื่อมวลชนนี้
video.offerImgList[] string ลิงก์ไปยังภาพสินค้าหนึ่งในกลุ่มสื่อมวลชน
video.offerImages array ภาพสินค้าพร้อมกับคำอธิบายประเภทของภาพ
video.offerImages[] object ภาพหนึ่งในกลุ่มสื่อมวลชนสินค้า
video.offerImages[].imgUrl string ลิงก์ไปยังรูปสินค้า
video.offerImages[].type string รหัสประเภทของภาพสินค้าที่ส่งกลับมาเป็นข้อความ
video.offerImages[].typeDes string คำอธิบายการแสดงผลของรหัสประเภทภาพสินค้า
video.offerInfoModel object สรุปข้อมูลสินค้าที่รวมอยู่ในกลุ่มสื่อมวลชนนี้
video.offerInfoModel.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
video.offerInfoModel.title string ชื่อสินค้าที่รายงานในกลุ่มสื่อมวลชน
video.offerInfoModel.price string ข้อความแสดงราคาสินค้าที่รายงานในกลุ่มสื่อมวลชน
images array ข้อมูลภาพสินค้าที่มีลิงก์ URL ต่างๆ ที่รายงาน
images[] object ข้อมูลภาพสินค้าหนึ่งรายการ
images[].imageURI string URI หลักที่รายงานสำหรับภาพสินค้า
images[].fullPathImageURI string URI ภาพสินค้าทั้งหมดที่รายงานสำหรับภาพสินค้า
images[].size220x220ImageURI string URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 220×220 ที่รายงาน
images[].size310x310ImageURI string URI ภาพสำหรับฟิลด์ตัวเลือกขนาด 310×310 ที่รายงาน
images[].searchImageURI string URI ภาพที่รายงานสำหรับการแสดงผลในการค้นหา
images[].summImageURI string URI ภาพสินค้าที่รายงานสำหรับข้อมูลสรุปขนาด
คำอธิบายและคุณสมบัติ23 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
title object ข้อความหัวข้อและเครื่องหมายประดับที่แสดงสำหรับสินค้า
title.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
title.title string ชื่อที่แสดงในหัวข้อสินค้า
title.selledNumber string ข้อความแสดงการขายที่แสดงใกล้กับชื่อ
title.wantBuy string ข้อความแสดงความสนใจในการซื้อที่แสดงใกล้กับชื่อ, ถ้ารายงาน
title.tagList array คำที่แสดงใกล้กับชื่อ. อาร์เรย์สามารถว่างเปล่าได้
title.tagList[] string ข้อความของคำที่แสดงสินค้า
title.scrollList array ข้อความที่แสดงเมื่อเลื่อนดูถูกส่งกลับมาสำหรับหัวข้อสินค้า
title.scrollList[] object ข้อความที่แสดงหนึ่งข้อในหัวข้อ
title.scrollList[].prefix string ข้อความที่แสดงก่อนป้ายกำกับหลัก
title.scrollList[].text string ข้อความหลักของข้อความที่แสดงในหัวข้อ
title.scrollList[].suffix string ข้อความที่แสดงหลังป้ายกำกับหลัก
description object ข้อมูลอธิบายสินค้าที่เพิ่มเติม
description.detailUrl string ลิงก์ไปยังคำอธิบายสินค้าผู้ขยาย
description.isUseNewDetail boolean ว่าคำอธิบายสินค้าทำงานในรูปแบบรายละเอียดใหม่หรือไม่
attribute object ข้อมูลคุณสมบัติของสินค้าและค่าที่แสดง
attribute.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
attribute.title string ชื่อหัวข้อที่แสดงสำหรับคุณสมบัติของสินค้า
attribute.propsList array ชื่อและค่าของคุณสมบัติที่แสดงสำหรับสินค้า
attribute.propsList[] object คุณสมบัติของสินค้าหนึ่งที่แสดง
attribute.propsList[].name string ชื่อที่แสดงของแอตทริบิวต์สินค้า
attribute.propsList[].value string ค่าแสดงผลของคุณสมบัติสินค้า
attribute.propsList[].show boolean ว่าคุณสมบัตินั้นถูกระบุให้แสดงหรือไม่
ราคาและระดับปริมาณการซื้อ18 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
price object ราคาของสินค้า, หน่วยการแสดง, และระดับปริมาณ
price.displayType string คำอธิบายประเภทการแสดงราคาสำหรับสินค้า
price.unit string หน่วยที่แสดงข้างๆ ราคาสินค้า
price.priceModel object ระดับราคาที่รายงานตามปริมาณสำหรับสินค้า
price.priceModel.priceDisplayType string รหัสประเภทการแสดงในโมเดลราคา
price.priceModel.currentPrices array ระดับราคาปัจจุบันตามปริมาณการสั่งซื้อ
price.priceModel.currentPrices[] object ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น
price.priceModel.currentPrices[].price string ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง
price.priceModel.currentPrices[].beginAmount integer ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา
price.priceModel.originalPrices array ระดับราคาเดิมตามปริมาณการสั่งซื้อ, ถ้ามี
price.priceModel.originalPrices[] object ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น
price.priceModel.originalPrices[].price string ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง
price.priceModel.originalPrices[].beginAmount integer ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา
price.priceModel.originalPriceDisplay string ข้อความการแสดงราคาเดิม, ถ้ามี
price.priceModel.currentPricesWithOnePiece array ระดับปริมาณปัจจุบันที่รวมถึงราคาแบบหนึ่งชิ้น, ถ้ามี
price.priceModel.currentPricesWithOnePiece[] object ระดับราคาหนึ่งสำหรับปริมาณการสั่งซื้อเริ่มต้น
price.priceModel.currentPricesWithOnePiece[].price string ราคาสำหรับระดับปริมาณนี้, กลับมาเป็นข้อความการแสดง
price.priceModel.currentPricesWithOnePiece[].beginAmount integer ปริมาณการสั่งซื้อเริ่มต้นสำหรับระดับราคา
โค้ดและโปรโมชั่น27 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
coupon object | array ข้อมูลส่วนลดเมื่อมีอยู่. คำตอบอาจส่งกลับอาร์เรย์ว่างด้วย
coupon.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
coupon.buttonName string ป้ายของปุ่มการดำเนินการส่วนลด
coupon.pageName string ชื่อการแสดงของส่วนลด
coupon.couponRuleLinkText string ข้อความการแสดงสำหรับลิงก์กฎการใช้ส่วนลด
coupon.couponList array ป้ายส่วนลดที่รวมอยู่ในรายการ
coupon.couponList[] object ป้ายการแสดงส่วนลดหนึ่ง
coupon.couponList[].couponType string รหัสประเภทที่รายงานสำหรับคูปองนี้。
coupon.couponList[].couponContent string ข้อความที่แสดงสำหรับคูปองนี้。
coupon.couponInfoList array กลุ่มแสดงคูปองที่มีรายละเอียด หากมีการส่งกลับมา。
coupon.couponInfoList[] object กลุ่มแสดงคูปองที่มีรายละเอียดหนึ่งกลุ่ม。
coupon.couponInfoList[].name string ชื่อการแสดงของกลุ่มคูปอง。
coupon.couponInfoList[].summary string สรุปข้อมูลของกลุ่มคูปอง。
coupon.couponInfoList[].buttonName string ป้ายกำกับของปุ่มการดำเนินการของกลุ่มคูปอง。
coupon.couponInfoList[].type string รหัสประเภทที่รายงานสำหรับกลุ่มคูปอง。
coupon.couponInfoList[].promotionItems array ข้อมูลโปรโมชั่นที่รวมอยู่ในกลุ่มแสดงคูปองนี้。
coupon.couponInfoList[].promotionItems[] object ข้อมูลโปรโมชั่นหนึ่งข้อมูล。
coupon.couponInfoList[].promotionItems[].summary string ข้อความสรุปที่แสดงสำหรับโปรโมชั่น。
coupon.couponInfoList[].promotionItems[].label string ป้ายกำกับที่แสดงสำหรับโปรโมชั่น。
coupon.couponInfoList[].promotionItems[].promotionDisplayName string ชื่อโปรโมชั่นที่แสดงในกลุ่มแสดงคูปอง。
coupon.couponInfoList[].promotionItems[].availablePeriod string ช่วงเวลาการมีอยู่ของโปรโมชั่นที่แสดงเป็นข้อความ。
coupon.couponInfoList[].promotionItems[].startTime string เวลาเริ่มต้นของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。
coupon.couponInfoList[].promotionItems[].endTime string เวลาสิ้นสุดของโปรโมชั่นที่ส่งกลับมาเป็นข้อความ。
coupon.couponInfoList[].promotionItems[].detail string ข้อความแสดงรายละเอียดของโปรโมชั่น。
coupon.couponInfoList[].promotionItems[].discountFee string จำนวนส่วนลดที่รายงานเป็นข้อความแสดง。
coupon.couponInfoList[].promotionItems[].applied boolean ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้แล้วหรือไม่。
coupon.couponInfoList[].promotionItems[].canApply boolean ว่าการโปรโมชั่นนี้ถูกระบุว่าใช้ได้หรือไม่。
การจัดส่งและการคุ้มครอง30 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
delivery object ข้อมูลการจัดส่งและการคุ้มครองผู้ซื้อที่รายงานสำหรับรายการ
delivery.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
delivery.location string จุดเริ่มต้นการจัดส่งสำหรับผลิตภัณฑ์
delivery.logistics string ข้อความแสดงผลการจัดส่งที่ส่งกลับมาสำหรับผลิตภัณฑ์
delivery.deliveryLimitTxt string ข้อความแสดงผลเกี่ยวกับการส่งมอบหรือการจัดส่งที่รายงาน
delivery.postFree boolean ว่าการจัดส่งถูกระบุว่าเป็นฟรีในข้อมูลการตอบกลับนี้หรือไม่
delivery.postFeeValue integer ค่าธรรมเนียมการจัดส่งที่เป็นตัวเลขที่รายงานสำหรับรายการนี้
delivery.templateId integer ตัวระบุของเทมเพลตการจัดส่งที่รายงาน
delivery.unitWeight integer ค่ามวลต่อหน่วยที่รายงานสำหรับการจัดส่ง
delivery.skuWeight object ค่ามวลที่ระบุตามตัวระบุ SKU ที่รายงาน
delivery.skuWeight.{key} number ค่ามวลที่รายงานสำหรับ SKU นี้
delivery.deliveryLimitTimeModel object ข้อมูลรายละเอียดเกี่ยวกับเวลาการส่งมอบที่รายงานสำหรับรายการ
delivery.deliveryLimitTimeModel.limitTimeDay integer จำนวนวันที่รายงานสำหรับข้อจำกัดเวลาการส่งมอบ
delivery.deliveryLimitTimeModel.limitTimeDesc string คำอธิบายการแสดงผลของข้อจำกัดเวลาการส่งมอบ
delivery.deliveryLimitTimeModel.expectTimeDesc string คำอธิบายการแสดงผลของเวลาการส่งมอบที่คาดหวัง
delivery.protectionInfos array บริการการคุ้มครองที่รวมอยู่ในข้อมูลการจัดส่ง
delivery.protectionInfos[] object ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา
delivery.protectionInfos[].serviceName string ชื่อที่ปรากฏของบริการ
delivery.protectionInfos[].serviceCode string รหัสที่รายงานสำหรับบริการ
delivery.protectionInfos[].description string คำอธิบายการแสดงผลของบริการการคุ้มครอง
delivery.protectionInfos[].longDescription string คำอธิบายที่ละเอียดยิ่งขึ้นของบริการการคุ้มครอง
delivery.protectionInfos[].buyerDescription string คำอธิบายที่ผู้ซื้อสามารถเข้าใจเกี่ยวกับบริการการคุ้มครอง
delivery.protectionInfos[].agreeDeliveryHours integer เวลาการส่งมอบที่ตกลงกันในชั่วโมงเมื่อส่งกลับมา
delivery.buyerProtectionModel array ข้อมูลเพิ่มเติมเกี่ยวกับการคุ้มครองผู้ซื้อที่แสดงพร้อมกับการจัดส่ง
delivery.buyerProtectionModel[] object ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา
delivery.buyerProtectionModel[].serviceName string ชื่อที่ปรากฏของบริการ
delivery.buyerProtectionModel[].serviceCode string รหัสที่รายงานสำหรับบริการ
delivery.buyerProtectionModel[].enabled boolean ว่าข้อมูลการคุ้มครองผู้ซื้อนั้นถูกตั้งเป็นการใช้งานได้หรือไม่
delivery.buyerProtectionModel[].shortBuyerDesc string คำอธิบายสั้นๆ ที่แสดงให้ผู้ซื้อเห็น
delivery.buyerProtectionModel[].textDesc string คำอธิบายการแสดงข้อมูลสำหรับข้อมูลการคุ้มครองผู้ซื้อ
บริการและตัวเลือกการซื้อ21 ฟิลด์

data

ฟิลด์ ชนิดข้อมูล คำอธิบาย
service object บริการและคำอธิบายที่แสดงสำหรับสินค้า。
service.offerId integer ID ของข้อเสนอสินค้าบน 1688 ถูกส่งกลับมาในรูปแบบจำนวนเต็ม
service.service1 string ป้ายกำกับการแสดงบริการแรกสำหรับสินค้า。
service.service2 string ป้ายกำกับการแสดงบริการที่สอง หากมีการส่งกลับมา。
service.service3 string ป้ายกำกับการแสดงบริการที่สาม หากมีการส่งกลับมา。
service.serviceDetail array ข้อมูลรายละเอียดเกี่ยวกับบริการที่แสดง。
service.serviceDetail[] object ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา
service.serviceDetail[].serviceName string ชื่อที่ปรากฏของบริการ
service.serviceDetail[].serviceCode string รหัสที่รายงานสำหรับบริการ
service.serviceDetail[].description string คำอธิบายที่แสดงสำหรับบริการ
service.serviceDesc array ข้อมูลอธิบายบริการที่รวมอยู่ในรายการ
service.serviceDesc[] object ข้อมูลบริการหรือการคุ้มครองที่แสดงออกมา
service.serviceDesc[].serviceName string ชื่อที่ปรากฏของบริการ
service.serviceDesc[].serviceCode string รหัสที่รายงานสำหรับบริการ
service.serviceDesc[].type string ชื่อประเภทที่รายงานสำหรับข้อมูลอธิบายบริการนี้
order object ช่องทางการซื้อที่แสดงสำหรับสินค้า
order.sceneList array ช่องทางการซื้อที่แสดงสำหรับสินค้า
order.sceneList[] object ตัวเลือกการซื้อหนึ่งตัวที่แสดง
order.sceneList[].sceneName string ชื่อการซื้อที่แสดง
order.selectedScene object ช่องทางการซื้อที่ถูกเลือกในสินค้า
order.selectedScene.sceneName string ชื่อการซื้อที่ถูกเลือกที่แสดง

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

กำลังโหลดตัวอย่างการตอบกลับ...