{
  "openapi": "3.1.0",
  "info": {
    "title": "อีคอมเมิร์ซ Douyin การค้นหาสินค้า API (V1)",
    "version": "v0",
    "description": "ค้นหาสินค้าใน E-commerce ของ Douyin โดยใช้คำสำคัญ พร้อมการแบ่งหน้าและ ID การค้นหา เพื่อค้นหาสินค้าในตลาดและดำเนินการค้นหาหลายหน้าต่อไป"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "อีคอมเมิร์ซ Douyin",
      "description": "ข้อมูลสินค้าและคอลเลกชันของ Douyin E-commerce เพื่อการเพิ่มเติมข้อมูล, การติดตามราคา, และการวิเคราะห์การค้าขาย",
      "x-platform-id": "douyin-e-commerce",
      "x-platform-aliases": [
        "Douyin E-commerce",
        "抖音电商"
      ],
      "x-platform-detection-aliases": [
        "Douyin E-commerce",
        "抖音电商"
      ]
    }
  ],
  "paths": {
    "/api/douyin-ec/search-item-list/v1": {
      "get": {
        "tags": [
          "อีคอมเมิร์ซ Douyin"
        ],
        "summary": "การค้นหาสินค้า",
        "description": "ค้นหาสินค้าใน E-commerce ของ Douyin โดยใช้คำสำคัญ พร้อมการแบ่งหน้าและ ID การค้นหา เพื่อค้นหาสินค้าในตลาดและดำเนินการค้นหาหลายหน้าต่อไป",
        "operationId": "getApiDouyinEcSearchItemListV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นการเข้าถึงสำหรับบริการ API นี้",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "คำสำคัญสำหรับการค้นหา.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "หมายเลขหน้าสำหรับการพับหน้า。",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchId",
            "in": "query",
            "description": "ID สำหรับการค้นหา; การใช้ค่า `search_id` ที่ส่งกลับมาจากการตอบกลับครั้งล่าสุดสำหรับหน้าถัดไป",
            "required": false,
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "description": "หน้าหนึ่งของผลลัพธ์การค้นหาผลิตภัณฑ์อีคอมเมิร์ซ Douyin ผลลัพธ์ที่สำเร็จอาจมีข้อมูลเป็น null",
                        "properties": {
                          "summary_promotions": {
                            "type": "array",
                            "description": "สรุปผลิตภัณฑ์บนหน้าที่ขอมา อาร์เรย์อาจว่างเปล่า",
                            "items": {
                              "type": "object",
                              "description": "สรุปผลิตภัณฑ์หนึ่งที่ถูกส่งกลับมาในผลลัพธ์การค้นหา",
                              "properties": {
                                "product_id": {
                                  "type": "string",
                                  "description": "ID ของผลิตภัณฑ์อีคอมเมิร์ซ Douyin ในรูปแบบข้อความ"
                                },
                                "promotion_id": {
                                  "type": "string",
                                  "description": "ID ของผลิตภัณฑ์ที่มีโปรโมชั่นในรูปแบบข้อความ"
                                },
                                "base_model": {
                                  "type": "object",
                                  "description": "ข้อมูลผลิตภัณฑ์ ราคา และข้อมูลร้านค้าสำหรับผลลัพธ์",
                                  "properties": {
                                    "product_info": {
                                      "type": "object",
                                      "description": "ข้อมูลผลิตภัณฑ์ที่แสดงสำหรับผลลัพธ์นี้",
                                      "properties": {
                                        "name": {
                                          "type": "string",
                                          "description": "ชื่อผลิตภัณฑ์ที่แสดงในผลลัพธ์นี้"
                                        },
                                        "category": {
                                          "type": "object",
                                          "description": "ระดับลำดับชั้นของหมวดหมู่ผลิตภัณฑ์ที่รายงาน",
                                          "properties": {
                                            "first_category": {
                                              "type": "object",
                                              "description": "หมวดหมู่สินค้าชั้นแรก",
                                              "properties": {
                                                "category_id": {
                                                  "type": "integer",
                                                  "description": "ID ของหมวดหมู่ชั้นนี้ หมวดหมู่ที่ไม่ได้ใช้งานสามารถมี ID 0 ได้"
                                                },
                                                "category_name": {
                                                  "type": "string",
                                                  "description": "ชื่อหมวดหมู่ชั้นนี้ ซึ่งอาจว่างเปล่าได้"
                                                }
                                              }
                                            },
                                            "second_category": {
                                              "type": "object",
                                              "description": "หมวดหมู่สินค้าชั้นที่สอง",
                                              "properties": {
                                                "category_id": {
                                                  "type": "integer",
                                                  "description": "ID ของหมวดหมู่ชั้นนี้ หมวดหมู่ที่ไม่ได้ใช้งานสามารถมี ID 0 ได้"
                                                },
                                                "category_name": {
                                                  "type": "string",
                                                  "description": "ชื่อหมวดหมู่ชั้นนี้ ซึ่งอาจว่างเปล่าได้"
                                                }
                                              }
                                            },
                                            "third_category": {
                                              "type": "object",
                                              "description": "หมวดหมู่สินค้าชั้นที่สาม",
                                              "properties": {
                                                "category_id": {
                                                  "type": "integer",
                                                  "description": "ID ของหมวดหมู่ชั้นนี้ หมวดหมู่ที่ไม่ได้ใช้งานสามารถมี ID 0 ได้"
                                                },
                                                "category_name": {
                                                  "type": "string",
                                                  "description": "ชื่อหมวดหมู่ชั้นนี้ ซึ่งอาจว่างเปล่าได้"
                                                }
                                              }
                                            },
                                            "fourth_category": {
                                              "type": "object",
                                              "description": "หมวดหมู่สินค้าชั้นที่สี่ เมื่อมีข้อมูลเพิ่มเติม",
                                              "properties": {
                                                "category_id": {
                                                  "type": "integer",
                                                  "description": "ID ของหมวดหมู่ชั้นนี้ หมวดหมู่ที่ไม่ได้ใช้งานสามารถมี ID 0 ได้"
                                                },
                                                "category_name": {
                                                  "type": "string",
                                                  "description": "ชื่อหมวดหมู่ชั้นนี้ ซึ่งอาจว่างเปล่าได้"
                                                }
                                              }
                                            },
                                            "leaf_layer": {
                                              "type": "integer",
                                              "description": "ระดับหมวดหมู่ที่ลึกที่สุดที่มีการรายงาน"
                                            }
                                          }
                                        },
                                        "main_img": {
                                          "type": "object",
                                          "description": "ภาพหลักของสินค้า",
                                          "properties": {
                                            "uri": {
                                              "type": "string",
                                              "description": "ตัวระบุทรัพยากรของแพลตฟอร์มสำหรับภาพหลัก"
                                            },
                                            "url_list": {
                                              "type": "array",
                                              "description": "URL ของภาพที่ส่งกลับมาสำหรับสินค้านี้",
                                              "items": {
                                                "type": "string",
                                                "description": "URL หนึ่งสำหรับภาพของสินค้า"
                                              }
                                            }
                                          }
                                        },
                                        "white_img": {
                                          "type": "object",
                                          "description": "ภาพของสินค้าที่มีพื้นหลังสีขาว เมื่อมี",
                                          "properties": {
                                            "url_list": {
                                              "type": "array",
                                              "description": "URL ของภาพที่ส่งกลับมาสำหรับสินค้านี้",
                                              "items": {
                                                "type": "string",
                                                "description": "URL หนึ่งสำหรับภาพของสินค้า"
                                              }
                                            }
                                          }
                                        },
                                        "good_ratio": {
                                          "type": "object",
                                          "description": "ส่วนแบ่งของคะแนนเชิงบวกที่แสดงออกมา เมื่อมี",
                                          "properties": {
                                            "origin": {
                                              "type": "number",
                                              "description": "เปอร์เซ็นต์คะแนนเชิงบวกตามมาตรวัดที่แสดง"
                                            },
                                            "integer": {
                                              "type": "string",
                                              "description": "ส่วนที่เป็นตัวเลขเต็มของเปอร์เซ็นต์ที่แสดง"
                                            },
                                            "decimal": {
                                              "type": "string",
                                              "description": "ข้อความแสดงเปอร์เซ็นต์ในรูปแบบส่วนประกอบ อาจว่างเปล่าได้"
                                            },
                                            "suffix": {
                                              "type": "string",
                                              "description": "ตัวต่อที่แสดงพร้อมกับเปอร์เซ็นต์"
                                            }
                                          }
                                        },
                                        "month_sale": {
                                          "type": "object",
                                          "description": "จำนวนการขายรายเดือนของสินค้า",
                                          "properties": {
                                            "origin": {
                                              "type": "integer",
                                              "description": "จำนวนการขายรายเดือนที่รายงาน"
                                            }
                                          }
                                        },
                                        "month_sale_text": {
                                          "type": "string",
                                          "description": "ข้อความที่แสดงพร้อมกับจำนวนการขายรายเดือน"
                                        },
                                        "sale_axis": {
                                          "type": "array",
                                          "description": "จำนวนการขายที่รายงานตามวันที่",
                                          "items": {
                                            "type": "object",
                                            "description": "จุดหนึ่งในลำดับการขายที่รายงาน",
                                            "properties": {
                                              "x": {
                                                "type": "string",
                                                "description": "วันที่ของจุดการขายนี้ในรูปแบบ YYYYMMDD"
                                              },
                                              "y": {
                                                "type": "integer",
                                                "description": "มูลค่าการขายที่รายงานสำหรับวันนั้น"
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "marketing_info": {
                                      "type": "object",
                                      "description": "ข้อมูลการแสดงราคาของสินค้า",
                                      "properties": {
                                        "price_desc": {
                                          "type": "object",
                                          "description": "ราคาปัจจุบันและราคาเปรียบเทียบใดๆ ที่รายงานไว้。",
                                          "properties": {
                                            "price": {
                                              "type": "object",
                                              "description": "ราคาปัจจุบันและส่วนประกอบที่แสดงผลของมัน。",
                                              "properties": {
                                                "origin": {
                                                  "type": "integer",
                                                  "description": "จำนวนที่แสดงในหน่วยราคาที่แสดงผลเป็นส่วนของร้อย。"
                                                },
                                                "integer": {
                                                  "type": "string",
                                                  "description": "ส่วนที่เป็นจำนวนเต็มของจำนวนที่แสดงผลเป็นข้อความ。"
                                                },
                                                "decimal": {
                                                  "type": "string",
                                                  "description": "ข้อความแสดงส่วนที่เป็นจำนวนทศนิยม ซึ่งอาจว่างเปล่า。"
                                                },
                                                "suffix": {
                                                  "type": "string",
                                                  "description": "ข้อความที่ต่อท้ายจำนวนที่แสดงผล ซึ่งอาจว่างเปล่า。"
                                                }
                                              }
                                            },
                                            "regular_price": {
                                              "type": "object",
                                              "description": "ราคาปกติสำหรับการเปรียบเทียบ หากมีให้。",
                                              "properties": {
                                                "origin": {
                                                  "type": "integer",
                                                  "description": "จำนวนที่แสดงในหน่วยราคาที่แสดงผลเป็นส่วนของร้อย。"
                                                },
                                                "integer": {
                                                  "type": "string",
                                                  "description": "ส่วนที่เป็นจำนวนเต็มของจำนวนที่แสดงผลเป็นข้อความ。"
                                                },
                                                "decimal": {
                                                  "type": "string",
                                                  "description": "ข้อความแสดงส่วนที่เป็นจำนวนทศนิยม ซึ่งอาจว่างเปล่า。"
                                                },
                                                "suffix": {
                                                  "type": "string",
                                                  "description": "ข้อความที่ต่อท้ายจำนวนที่แสดงผล ซึ่งอาจว่างเปล่า。"
                                                }
                                              }
                                            },
                                            "price_text": {
                                              "type": "string",
                                              "description": "ข้อความราคาที่แสดงสำหรับสินค้า。"
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "shop_info": {
                                      "type": "object",
                                      "description": "ข้อมูลร้านค้าที่แสดงสำหรับสินค้านี้。",
                                      "properties": {
                                        "shop_id": {
                                          "type": "integer",
                                          "description": "ID ตัวเลขของร้านค้า。"
                                        },
                                        "shop_name": {
                                          "type": "string",
                                          "description": "ชื่อร้านค้าที่แสดงในผลการค้นหา。"
                                        },
                                        "shop_score_info": {
                                          "type": "object",
                                          "description": "ข้อมูลคะแนนร้านค้าและสัญลักษณ์การว่างเปล่า。",
                                          "properties": {
                                            "has_data": {
                                              "type": "boolean",
                                              "description": "ว่าข้อมูลคะแนนร้านค้าถูกรายงานว่าเป็นข้อมูลที่มีอยู่หรือไม่。"
                                            },
                                            "shop_score": {
                                              "type": "object",
                                              "description": "รายละเอียดคะแนนร้านค้าที่รายงานไว้。",
                                              "properties": {
                                                "score": {
                                                  "type": "integer",
                                                  "description": "ค่าคะแนนร้านค้าที่ส่งกลับมาเป็นจำนวนเต็ม。"
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          },
                          "promotions": {
                            "type": "array",
                            "description": "รายการผลลัพธ์ของการส่งเสริมการขายแยกต่างหาก ซึ่งอาจว่างเปล่าแม้ว่า summary_promotions จะมีรายการ。",
                            "items": {
                              "type": "object",
                              "description": "รายการหนึ่งจากรายการการส่งเสริมการขายแยกต่างหาก。",
                              "properties": {
                                "product_id": {
                                  "type": "string",
                                  "description": "ID ของผลิตภัณฑ์อีคอมเมิร์ซ Douyin ในรูปแบบข้อความ"
                                },
                                "promotion_id": {
                                  "type": "string",
                                  "description": "ID ของผลิตภัณฑ์ที่มีโปรโมชั่นในรูปแบบข้อความ"
                                }
                              }
                            }
                          },
                          "has_more": {
                            "type": "boolean",
                            "description": "ว่ามีการรายงานหน้าเพิ่มเติมหรือไม่ การขอข้อมูลเพิ่มเติมอาจส่งผลลัพธ์ที่ว่างเปล่า。"
                          },
                          "total": {
                            "type": "integer",
                            "description": "จำนวนผลลัพธ์ของสินค้าที่รายงานสำหรับการตอบกลับนี้ ซึ่งอาจแตกต่างกันไปในแต่ละหน้า。"
                          },
                          "extra": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "description": "metadata การแสดงผลการแสดงผล การแสดงผลการแสดงผลอาจเป็น null บนหน้าที่ว่างเปล่า。",
                            "properties": {
                              "search_id": {
                                "type": "string",
                                "description": "ตัวระบุการค้นหาที่จะส่งไปเป็น searchId เมื่อดำเนินการค้นหาด้วยคีย์เวิร์ดเดิมและหน้าเพิ่มเติม ใช้ has_more เพื่อตัดสินใจว่าจะดำเนินการต่อหรือไม่。"
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "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"
                  ]
                }
              }
            }
          }
        },
        "x-order": "14502050",
        "x-api-version": "v1",
        "x-docs-slug": "product-search-v1",
        "x-search-aliases": [
          "Douyin ecommerce product search",
          "Douyin shop keyword search",
          "Douyin marketplace items",
          "抖音电商商品搜索",
          "抖店关键词商品查询",
          "抖音商城找商品"
        ],
        "x-highlights": [],
        "x-endpoint-family": "douyin_ec_search_item_list"
      }
    }
  }
}