{
  "openapi": "3.1.0",
  "info": {
    "title": "1688 การค้นหาสินค้าผ่านรูปภาพ API (V1)",
    "version": "v0",
    "description": "ค้นหาสินค้า 1688 โดยใช้รูปภาพ พร้อมการแสดงผลเป็นหน้าจอแสดงผลหลายหน้า การจัดเรียงผลลัพธ์ และตัวเลือกการค้นหาจากแหล่งที่มา ใช้เพื่อค้นหาสินค้าที่ตรงกับความต้องการขณะทำการเลือกสินค้าด้วยสายตา."
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "1688",
      "description": "ข้อมูลสินค้า ร้านค้า ผู้จัดจำหน่าย และคอลัมน์ข้อมูลของตลาดค้าปลีก 1688 ของ Alibaba สำหรับการวิจัยด้านการซื้อขายและการค้าขาย",
      "x-platform-id": "1688",
      "x-platform-aliases": [
        "1688",
        "Alibaba 1688",
        "阿里巴巴1688"
      ],
      "x-platform-detection-aliases": [
        "1688",
        "Alibaba 1688",
        "阿里巴巴1688"
      ]
    }
  ],
  "paths": {
    "/api/1688/search-item-by-image/v1": {
      "get": {
        "tags": [
          "1688"
        ],
        "summary": "การค้นหาสินค้าผ่านรูปภาพ",
        "description": "ค้นหาสินค้า 1688 โดยใช้รูปภาพ พร้อมการแสดงผลเป็นหน้าจอแสดงผลหลายหน้า การจัดเรียงผลลัพธ์ และตัวเลือกการค้นหาจากแหล่งที่มา ใช้เพื่อค้นหาสินค้าที่ตรงกับความต้องการขณะทำการเลือกสินค้าด้วยสายตา.",
        "operationId": "getApi1688SearchItemByImageV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นการเข้าถึงสำหรับบริการ API นี้",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "imgUrl",
            "in": "query",
            "description": "URL หรือข้อมูลภาพที่ส่งกลับจากการแปลงภาพ ควรแปลงภาพภายนอกสำหรับเป้าหมายการค้นหาที่เลือกก่อนการค้นหา",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "หมายเลขหน้า เริ่มต้นที่ 1",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "จำนวนรายการที่ขอต่อหน้า จำนวนที่ระบบส่งคืนอาจแตกต่างจากที่ขอ",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "ลำดับการจัดเรียงสินค้า\n\nค่าที่มีอยู่:\n- `default`: ลำดับการจัดเรียงตามค่าเริ่มต้น\n- `sales`: ลำดับการจัดเรียงตามยอดขาย\n- `price_up`: ลำดับการจัดเรียงตามราคาขึ้น\n- `price_down`: ลำดับการจัดเรียงตามราคาลดลง",
            "required": false,
            "schema": {
              "type": "string",
              "default": "default",
              "description": "ค่าที่ใช้ในการจัดเรียงสินค้า 1688",
              "enum": [
                "default",
                "sales",
                "price_up",
                "price_down"
              ]
            }
          },
          {
            "name": "moq",
            "in": "query",
            "description": "การกรองจำนวนสินค้าขั้นต่ำ",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "priceStart",
            "in": "query",
            "description": "ตัวกรองราคาขั้นต่ำในสกุล CNY",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priceEnd",
            "in": "query",
            "description": "ตัวกรองราคาขั้นสูงในสกุล CNY",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "supportDropshipping",
            "in": "query",
            "description": "การกรองสินค้าที่เหมาะสำหรับการขายแบบดรอปชิป",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "isFactory",
            "in": "query",
            "description": "การกรองตามสถานะของโรงงาน",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "verifiedSupplier",
            "in": "query",
            "description": "การกรองผู้ขายที่ได้รับการยืนยัน",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "freeShipping",
            "in": "query",
            "description": "การกรองสินค้าที่มีบริการจัดส่งฟรี",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "newArrival",
            "in": "query",
            "description": "การกรองสินค้าใหม่",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "ข้อมูลการค้นหาและการแสดงผลของรายการสินค้าที่ตรงกับภาพ 1688",
                        "properties": {
                          "page": {
                            "type": "integer",
                            "description": "หมายเลขหน้าที่รายการผลลัพธ์นี้อยู่"
                          },
                          "page_size": {
                            "type": "integer",
                            "description": "ขนาดหน้าที่รายงานสำหรับการค้นหา"
                          },
                          "has_next_page": {
                            "type": "boolean",
                            "description": "ว่ามีหน้าแสดงผลผลลัพธ์อื่นที่สามารถเข้าถึงได้หรือไม่ หากเป็นจริง จะขอหมายเลขหน้าถัดไปพร้อมกับการค้นหาเดียวกัน"
                          },
                          "total_count": {
                            "type": "integer",
                            "description": "จำนวนรายการที่ตรงกันทั้งหมดในหน้าต่างๆ ที่รายงาน"
                          },
                          "keyword": {
                            "type": "string",
                            "description": "คำสำคัญที่เกี่ยวข้องกับผลลัพธ์ จะว่างในการตอบกลับการค้นหาภาพที่ได้รับการยืนยัน"
                          },
                          "sort": {
                            "type": "string",
                            "description": "ระบบการจัดลำดับที่รายงานสำหรับการค้นหา"
                          },
                          "cat_id": {
                            "description": "ตัวระบุหมวดหมู่การค้นหา การตอบกลับการค้นหาภาพที่ได้รับการยืนยันจะส่งค่า null กลับมา"
                          },
                          "filters": {
                            "type": "object",
                            "description": "metadata ของตัวกรองการค้นหา การตอบกลับการค้นหาภาพที่ได้รับการยืนยันจะส่งอ็อบเจกต์ว่างกลับมา"
                          },
                          "items": {
                            "type": "array",
                            "description": "รายการสินค้าที่ส่งกลับมาบนหน้าแสดงผลผลลัพธ์นี้",
                            "items": {
                              "type": "object",
                              "description": "รายการสินค้า 1688 หนึ่งรายการที่ตรงกับการค้นหาจากภาพ",
                              "properties": {
                                "item_id": {
                                  "type": "integer",
                                  "description": "ตัวระบุรายการสินค้าจาก 1688"
                                },
                                "product_url": {
                                  "type": "string",
                                  "description": "ลิงก์สาธารณะไปยังรายการสินค้าจาก 1688"
                                },
                                "title": {
                                  "type": "string",
                                  "description": "ชื่อรายการสินค้า"
                                },
                                "img": {
                                  "type": "string",
                                  "description": "URL ของภาพสินค้าหลักสำหรับรายการสินค้า"
                                },
                                "category_path": {
                                  "type": "array",
                                  "description": "ชื่อหมวดหมู่สำหรับรายการสินค้า",
                                  "items": {
                                    "type": "string",
                                    "description": "ชื่อหมวดหมู่หนึ่งในชื่อหมวดหมู่สำหรับรายการสินค้า"
                                  }
                                },
                                "price": {
                                  "type": "string",
                                  "description": "ราคาลงโชว์เป็นสตริงทศนิยม"
                                },
                                "price_info": {
                                  "type": "object",
                                  "description": "รายละเอียดราคาสำหรับสินค้าที่ลงโชว์",
                                  "properties": {
                                    "sale_price": {
                                      "type": "string",
                                      "description": "ราคาขายที่รายงานเป็นสตริงทศนิยม"
                                    },
                                    "origin_price": {
                                      "description": "ราคาเดิมของสินค้าที่ลงโชว์ ผลการค้นหาภาพที่ตรวจสอบกลับค่า null"
                                    }
                                  }
                                },
                                "moq": {
                                  "type": "integer",
                                  "description": "ปริมาณการสั่งซื้อขั้นต่ำของสินค้าที่ลงโชว์"
                                },
                                "quantity_begin": {
                                  "type": "integer",
                                  "description": "ปริมาณการซื้อที่เริ่มต้นที่รายงานสำหรับสินค้าที่ลงโชว์"
                                },
                                "quantity_prices": {
                                  "type": "array",
                                  "description": "ระดับราคาตามปริมาณการสั่งซื้อ ผลการค้นหาภาพที่ตรวจสอบกลับรายการว่าง"
                                },
                                "sale_info": {
                                  "type": "object",
                                  "description": "ตัวชี้วัดการขายที่รายงานสำหรับสินค้าที่ลงโชว์",
                                  "properties": {
                                    "sale_quantity": {
                                      "type": "string",
                                      "description": "ปริมาณการขายที่รายงานเป็นข้อความ"
                                    },
                                    "sale_quantity_int": {
                                      "type": "integer",
                                      "description": "ปริมาณการขายที่รายงานเป็นจำนวนเต็ม"
                                    },
                                    "orders_count": {
                                      "type": "integer",
                                      "description": "จำนวนคำสั่งซื้อของรายการที่แสดงตามที่รายงาน"
                                    }
                                  }
                                },
                                "delivery_info": {
                                  "type": "object",
                                  "description": "ข้อมูลการจัดส่งที่รายงานสำหรับสินค้าที่ลงโชว์",
                                  "properties": {
                                    "area_from": {
                                      "type": "array",
                                      "description": "ชื่อพื้นที่สำหรับจุดเริ่มต้นการจัดส่ง",
                                      "items": {
                                        "type": "string",
                                        "description": "ชื่อพื้นที่จุดเริ่มต้นการจัดส่งหนึ่งชื่อ"
                                      }
                                    }
                                  }
                                },
                                "item_repurchase_rate": {
                                  "type": "string",
                                  "description": "อัตราความนิยมในการซื้อซื้อคืนของสินค้าที่ลงโชว์เป็นเปอร์เซ็นต์"
                                },
                                "goods_score": {
                                  "description": "คะแนนของสินค้าที่ลงโชว์ ผลการค้นหาภาพที่ตรวจสอบกลับค่า null"
                                },
                                "rating_star": {
                                  "description": "ดาวน์โหวตของสินค้าที่ลงโชว์ ผลการค้นหาภาพที่ตรวจสอบกลับค่า null"
                                },
                                "tags": {
                                  "type": "array",
                                  "description": "หมวดหมู่การแสดงที่เกี่ยวข้องกับสินค้าที่ลงโชว์",
                                  "items": {
                                    "type": "string",
                                    "description": "หมวดหมู่การแสดงหนึ่งหมวดหมู่"
                                  }
                                },
                                "shop_info": {
                                  "type": "object",
                                  "description": "ข้อมูลร้านค้าที่เปิดเผยสำหรับสินค้าที่ลงโชว์",
                                  "properties": {
                                    "login_id": {
                                      "type": "string",
                                      "description": "ตัวระบุบัญชีร้านค้า"
                                    },
                                    "member_id": {
                                      "type": "string",
                                      "description": "ตัวระบุสมาชิกร้านค้า 1688"
                                    },
                                    "company_name": {
                                      "type": "string",
                                      "description": "ชื่อบริษัทที่เปิดเผยสำหรับร้านค้า"
                                    },
                                    "shop_url": {
                                      "type": "string",
                                      "description": "ลิงก์ร้านค้าปลอดภัยบน 1688"
                                    },
                                    "biz_type": {
                                      "type": "string",
                                      "description": "ข้อความประเภทธุรกิจที่เปิดเผยสำหรับร้านค้า"
                                    },
                                    "is_factory": {
                                      "type": "boolean",
                                      "description": "ว่าสมาร์ทโฟล์การ์ดระบุว่าร้านค้าเป็นโรงงานหรือไม่"
                                    },
                                    "is_super_factory": {
                                      "type": "boolean",
                                      "description": "ตลาดกำหนดให้ร้านค้าเป็น Super Factory หรือไม่."
                                    },
                                    "location": {
                                      "type": "array",
                                      "description": "ป้ายกำหนดตำแหน่งที่แสดงสำหรับร้านค้า.",
                                      "items": {
                                        "type": "string",
                                        "description": "ป้ายกำหนดตำแหน่งของร้านค้าหนึ่งแห่ง."
                                      }
                                    },
                                    "service_tags": {
                                      "description": "แท็กบริการของร้านค้า ผลการค้นหาด้วยภาพที่ตรวจสอบแล้วส่งคืนค่า null"
                                    },
                                    "shop_years": {
                                      "type": "integer",
                                      "description": "จำนวนปีที่ร้านค้าบนตลาดมีอยู่."
                                    },
                                    "factory_inspection": {
                                      "type": "boolean",
                                      "description": "ตลาดกำหนดให้ร้านค้าเป็นร้านค้าที่ผ่านการตรวจสอบโดยโรงงานหรือไม่."
                                    },
                                    "score_info": {
                                      "type": "object",
                                      "description": "คะแนนบริการที่แสดงสำหรับร้านค้า.",
                                      "properties": {
                                        "composite_new_score": {
                                          "type": "string",
                                          "description": "คะแนนรวมของร้านค้าในรูปแบบข้อความที่แสดง."
                                        },
                                        "consultation_score": {
                                          "description": "คะแนนการให้คำปรึกษาของร้านค้า ผลการค้นหาด้วยภาพที่ตรวจสอบแล้วส่งคืนค่า null"
                                        },
                                        "dispute_score": {
                                          "description": "คะแนนข้อพิพาทของร้านค้า ผลการค้นหาด้วยภาพที่ตรวจสอบแล้วส่งคืนค่า null"
                                        },
                                        "logistics_score": {
                                          "description": "คะแนนการจัดส่งของร้านค้า ผลการค้นหาด้วยภาพที่ตรวจสอบแล้วส่งคืนค่า null"
                                        },
                                        "return_score": {
                                          "description": "คะแนนการคืนสินค้าของร้านค้า ผลการค้นหาด้วยภาพที่ตรวจสอบแล้วส่งคืนค่า null"
                                        }
                                      }
                                    }
                                  }
                                },
                                "is_ad": {
                                  "type": "boolean",
                                  "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"
                  ]
                }
              }
            }
          }
        },
        "x-order": "19101200",
        "x-api-version": "v1",
        "x-docs-slug": "product-search-by-image-v1",
        "x-search-aliases": [
          "1688 图片搜索"
        ],
        "x-highlights": [
          {
            "type": "info",
            "kind": "GUIDANCE",
            "content": "ต้องแปลงรูปภาพที่ไม่ใช่ของ Alibaba ด้วย Image Conversion ก่อนการค้นหา โดยใช้ตารางค้นหารูปภาพที่เหมาะสม"
          }
        ],
        "x-endpoint-family": "1688_search_item_by_image"
      }
    }
  }
}