{
  "openapi": "3.1.0",
  "info": {
    "title": "AliExpress การค้นหาสินค้า API (V1)",
    "version": "v0",
    "description": "ค้นหาสินค้าใน AliExpress โดยมีตัวเลือกในการกรอกคำค้นหา หน้าแสดงผล การจัดเรียงหมวดหมู่ แบรนด์ ที่อยู่ คุณสมบัติ ราคา เขตเวลา ภูมิภาค และการควบคุมสกุลเงิน ใช้สำหรับการค้นหาสินค้า การวิจัยแคตตาล็อก และการวิเคราะห์สินค้าในตลาด"
  },
  "servers": [
    {
      "url": "https://api.justoneapi.com",
      "description": "API สำหรับการผลิตทั่วโลก (ค่าเริ่มต้น)"
    }
  ],
  "tags": [
    {
      "name": "AliExpress",
      "description": "ข้อมูลการค้นหาและรายละเอียดสินค้าบน AliExpress สำหรับการวิจัยด้านการค้าและการวิเคราะห์คอลัมน์สินค้า.",
      "x-platform-id": "aliexpress",
      "x-platform-aliases": [
        "AliExpress",
        "AliExpress marketplace",
        "全球速卖通",
        "速卖通"
      ],
      "x-platform-detection-aliases": [
        "AliExpress",
        "AliExpress marketplace",
        "全球速卖通",
        "速卖通"
      ]
    }
  ],
  "paths": {
    "/api/aliexpress/search-products/v1": {
      "get": {
        "tags": [
          "AliExpress"
        ],
        "summary": "การค้นหาสินค้า",
        "description": "ค้นหาสินค้าใน AliExpress โดยมีตัวเลือกในการกรอกคำค้นหา หน้าแสดงผล การจัดเรียงหมวดหมู่ แบรนด์ ที่อยู่ คุณสมบัติ ราคา เขตเวลา ภูมิภาค และการควบคุมสกุลเงิน ใช้สำหรับการค้นหาสินค้า การวิจัยแคตตาล็อก และการวิเคราะห์สินค้าในตลาด",
        "operationId": "getApiAliexpressSearchProductsV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "โทเค็นสำหรับยืนยันตัวตนกับบริการ API นี้",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "description": "คำขอค้นหาสินค้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "หมายเลขหน้าสำหรับการแบ่งหน้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "ลำดับการจัดเรียงผลลัพธ์การค้นหาสินค้า.\n\nค่าที่มีอยู่:\n- `default`: ลำดับผลลัพธ์เริ่มต้น\n- `salesDesc`: ปริมาณขาย, จากมากที่สุดไปหาน้อยที่สุด\n- `priceAsc`: ราคา, จากน้อยที่สุดไปหามากที่สุด\n- `priceDesc`: ราคา, จากมากที่สุดไปหาน้อยที่สุด",
            "required": false,
            "schema": {
              "type": "string",
              "default": "default",
              "description": "ลำดับการจัดเรียงผลการค้นหาสินค้าใน AliExpress",
              "enum": [
                "default",
                "salesDesc",
                "priceAsc",
                "priceDesc"
              ]
            }
          },
          {
            "name": "catId",
            "in": "query",
            "description": "ID ของหมวดหมู่ที่ใช้ในการกรองผลลัพธ์การค้นหาสินค้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brandId",
            "in": "query",
            "description": "ID ของแบรนด์ที่ใช้ในการกรองผลลัพธ์การค้นหาสินค้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "loc",
            "in": "query",
            "description": "เครื่องมือกรองตำแหน่งสำหรับผลลัพธ์การค้นหาสินค้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "switches",
            "in": "query",
            "description": "ตัวเลือกสำหรับการเลือกคุณสมบัติเพิ่มเติมสำหรับผลลัพธ์การค้นหา.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "attr",
            "in": "query",
            "description": "เครื่องมือกรองคุณสมบัติสินค้าสำหรับผลลัพธ์การค้นหา.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startPrice",
            "in": "query",
            "description": "ช่วงราคาสินค้าขั้นต่ำ, รวมด้วย.",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "endPrice",
            "in": "query",
            "description": "ช่วงราคาสินค้าสูงสุด, รวมด้วย.",
            "required": false,
            "schema": {
              "type": "number",
              "format": "double"
            }
          },
          {
            "name": "locale",
            "in": "query",
            "description": "ภาษาที่ใช้สำหรับผลลัพธ์จาก AliExpress.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "region",
            "in": "query",
            "description": "ภูมิภาคของตลาด AliExpress.",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "รหัสสกุลเงินที่ใช้สำหรับราคาสินค้า.",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "if": {
                    "properties": {
                      "code": {
                        "const": 0
                      }
                    },
                    "required": [
                      "code"
                    ]
                  },
                  "then": {
                    "properties": {
                      "data": {
                        "type": "object",
                        "description": "ผลการค้นหาสินค้าของ AliExpress และข้อมูลการค้นหา",
                        "properties": {
                          "result": {
                            "type": "object",
                            "description": "ผลการค้นหาพร้อมข้อมูลการค้นหาและข้อมูลสินค้า",
                            "properties": {
                              "base": {
                                "type": "object",
                                "description": "ข้อมูลการค้นหาที่รายงานพร้อมกับผลการค้นหา",
                                "properties": {
                                  "q": {
                                    "type": "string",
                                    "description": "คำค้นหาที่รายงานในข้อมูลการค้นหา"
                                  },
                                  "totalResults": {
                                    "type": "string",
                                    "description": "จำนวนผลการค้นหาทั้งหมดที่รายงานเป็นข้อความ"
                                  },
                                  "pageSize": {
                                    "type": "string",
                                    "description": "ขนาดหน้าในรูปแบบข้อความที่รายงานมา。รายการที่ส่งกลับอาจมีจำนวนข้อมูลน้อยกว่านี้。"
                                  },
                                  "sortValues": {
                                    "type": "array",
                                    "description": "ตัวเลือกการจัดเรียงที่รายงานสำหรับการค้นหาสินค้า。",
                                    "items": {
                                      "type": "string",
                                      "description": "ค่าการจัดเรียงที่รองรับหนึ่งค่าที่รายงานในผลการค้นหา。"
                                    }
                                  },
                                  "switchesList": {
                                    "type": "array",
                                    "description": "รายการตัวเลือกการค้นหาที่รายงานมา。รายการนี้ว่างเปล่าในคำตอบที่ถูกเลือก。"
                                  }
                                }
                              },
                              "resultList": {
                                "type": "array",
                                "description": "ข้อมูลสินค้าที่ปรากฏในหน้าแสดงผล。",
                                "items": {
                                  "type": "object",
                                  "description": "ข้อมูลสินค้าหนึ่งข้อมูลในผลการค้นหา。",
                                  "properties": {
                                    "item": {
                                      "type": "object",
                                      "description": "ข้อมูลสินค้าสำหรับข้อมูลสินค้าในผลการค้นหานี้。",
                                      "properties": {
                                        "itemId": {
                                          "type": "string",
                                          "description": "ตัวระบุสินค้าจาก AliExpress ที่ส่งกลับมาในรูปแบบข้อความ。"
                                        },
                                        "title": {
                                          "type": "string",
                                          "description": "ชื่อเรื่องที่ส่งกลับมาสำหรับรายการสินค้า。"
                                        },
                                        "itemUrl": {
                                          "type": "string",
                                          "description": "URL ของรายการสินค้าจาก AliExpress。มันอาจเริ่มด้วย // และไม่มีสเกล。"
                                        },
                                        "image": {
                                          "type": "string",
                                          "description": "URL ของรูปภาพที่ส่งกลับมาสำหรับรายการสินค้า。"
                                        },
                                        "sales": {
                                          "type": [
                                            "integer",
                                            "string"
                                          ],
                                          "description": "จำนวนการขายที่รายงานมา，ส่งกลับมาในรูปแบบจำนวนเต็มหรือข้อความแสดงผล。"
                                        },
                                        "averageStarRate": {
                                          "type": [
                                            "number",
                                            "null"
                                          ],
                                          "description": "ระดับดาวเฉลี่ยที่รายงานสำหรับสินค้า，อาจเป็น null。"
                                        },
                                        "type": {
                                          "type": "string",
                                          "description": "ป้ายกำกับประเภทผลลัพธ์ของสินค้าที่ AliExpress รายงานมา。"
                                        },
                                        "sku": {
                                          "type": "object",
                                          "description": "ข้อมูล SKU ที่ส่งกลับมาพร้อมกับสินค้า。",
                                          "properties": {
                                            "def": {
                                              "type": "object",
                                              "description": "ข้อมูลราคาสำหรับ SKU มาตรฐาน。",
                                              "properties": {
                                                "promotionPrice": {
                                                  "type": "number",
                                                  "description": "ราคาพิเศษที่รายงานสำหรับ SKU มาตรฐานในรูปแบบตัวเลข。"
                                                },
                                                "price": {
                                                  "description": "ฟิลด์ราคาของ SKU มาตรฐานเป็น null ในรายการสินค้าที่ถูกเลือก。"
                                                }
                                              }
                                            }
                                          }
                                        }
                                      }
                                    },
                                    "delivery": {
                                      "description": "ฟิลด์การจัดส่งเป็น null ในรายการสินค้าที่ถูกเลือก。"
                                    },
                                    "sellingPoints": {
                                      "description": "ฟิลด์จุดขายเป็น null ในรายการสินค้าที่ถูกเลือก。"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "allOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "integer",
                          "format": "int32",
                          "enum": [
                            0,
                            100,
                            101,
                            202,
                            300,
                            301,
                            302,
                            303,
                            400,
                            404,
                            500,
                            503,
                            600,
                            601,
                            602
                          ]
                        },
                        "message": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "data": {},
                        "recordTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "requestId": {
                          "type": "string"
                        },
                        "reason": {
                          "type": "string"
                        },
                        "requestParams": {
                          "type": "object",
                          "properties": {
                            "query": {
                              "type": "object",
                              "additionalProperties": {
                                "type": "object"
                              }
                            },
                            "body": {
                              "type": "object",
                              "properties": {
                                "empty": {
                                  "type": "boolean"
                                },
                                "array": {
                                  "type": "boolean"
                                },
                                "null": {
                                  "type": "boolean"
                                },
                                "object": {
                                  "type": "boolean"
                                },
                                "float": {
                                  "type": "boolean"
                                },
                                "integralNumber": {
                                  "type": "boolean"
                                },
                                "floatingPointNumber": {
                                  "type": "boolean"
                                },
                                "valueNode": {
                                  "type": "boolean"
                                },
                                "nodeType": {
                                  "type": "string",
                                  "enum": [
                                    "ARRAY",
                                    "BINARY",
                                    "BOOLEAN",
                                    "MISSING",
                                    "NULL",
                                    "NUMBER",
                                    "OBJECT",
                                    "POJO",
                                    "STRING"
                                  ]
                                },
                                "string": {
                                  "type": "boolean"
                                },
                                "missingNode": {
                                  "type": "boolean"
                                },
                                "container": {
                                  "type": "boolean"
                                },
                                "pojo": {
                                  "type": "boolean"
                                },
                                "short": {
                                  "type": "boolean"
                                },
                                "int": {
                                  "type": "boolean"
                                },
                                "long": {
                                  "type": "boolean"
                                },
                                "double": {
                                  "type": "boolean"
                                },
                                "bigDecimal": {
                                  "type": "boolean"
                                },
                                "bigInteger": {
                                  "type": "boolean"
                                },
                                "textual": {
                                  "type": "boolean",
                                  "deprecated": true
                                },
                                "boolean": {
                                  "type": "boolean"
                                },
                                "binary": {
                                  "type": "boolean"
                                },
                                "number": {
                                  "type": "boolean"
                                },
                                "embeddedValue": {
                                  "type": "boolean"
                                }
                              }
                            }
                          }
                        }
                      },
                      "required": [
                        "code",
                        "data",
                        "message",
                        "recordTime"
                      ]
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "พารามิเตอร์หรือเนื้อหาของคำขอที่ไม่ถูกต้อง",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "ท่อนำข้อมูลหรือ access token ที่ไม่ถูกต้องหรือไม่มีการใช้งาน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "การอนุญาตถูกปฏิเสธ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "อัตราการขอหรือจำนวนคำสั่งที่จำกัดในแต่ละวันถูกเกิน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "ความผิดพลาดของเซิร์ฟเวอร์ภายใน",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          },
          "503": {
            "description": "บริการไม่สามารถใช้งานได้ในขณะนี้",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "format": "int32",
                      "enum": [
                        0,
                        100,
                        101,
                        202,
                        300,
                        301,
                        302,
                        303,
                        400,
                        404,
                        500,
                        503,
                        600,
                        601,
                        602
                      ]
                    },
                    "message": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "data": {},
                    "recordTime": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": "string"
                    },
                    "reason": {
                      "type": "string"
                    },
                    "requestParams": {
                      "type": "object",
                      "properties": {
                        "query": {
                          "type": "object",
                          "additionalProperties": {
                            "type": "object"
                          }
                        },
                        "body": {
                          "type": "object",
                          "properties": {
                            "empty": {
                              "type": "boolean"
                            },
                            "array": {
                              "type": "boolean"
                            },
                            "null": {
                              "type": "boolean"
                            },
                            "object": {
                              "type": "boolean"
                            },
                            "float": {
                              "type": "boolean"
                            },
                            "integralNumber": {
                              "type": "boolean"
                            },
                            "floatingPointNumber": {
                              "type": "boolean"
                            },
                            "valueNode": {
                              "type": "boolean"
                            },
                            "nodeType": {
                              "type": "string",
                              "enum": [
                                "ARRAY",
                                "BINARY",
                                "BOOLEAN",
                                "MISSING",
                                "NULL",
                                "NUMBER",
                                "OBJECT",
                                "POJO",
                                "STRING"
                              ]
                            },
                            "string": {
                              "type": "boolean"
                            },
                            "missingNode": {
                              "type": "boolean"
                            },
                            "container": {
                              "type": "boolean"
                            },
                            "pojo": {
                              "type": "boolean"
                            },
                            "short": {
                              "type": "boolean"
                            },
                            "int": {
                              "type": "boolean"
                            },
                            "long": {
                              "type": "boolean"
                            },
                            "double": {
                              "type": "boolean"
                            },
                            "bigDecimal": {
                              "type": "boolean"
                            },
                            "bigInteger": {
                              "type": "boolean"
                            },
                            "textual": {
                              "type": "boolean",
                              "deprecated": true
                            },
                            "boolean": {
                              "type": "boolean"
                            },
                            "binary": {
                              "type": "boolean"
                            },
                            "number": {
                              "type": "boolean"
                            },
                            "embeddedValue": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "code",
                    "data",
                    "message",
                    "recordTime"
                  ]
                }
              }
            }
          }
        },
        "x-order": "19501000",
        "x-api-version": "v1",
        "x-docs-slug": "product-search-v1",
        "x-search-aliases": [
          "AliExpress product search API",
          "AliExpress keyword product finder",
          "AliExpress catalog search",
          "速卖通商品搜索",
          "AliExpress 关键词找商品",
          "速卖通商品筛选"
        ],
        "x-highlights": [],
        "x-endpoint-family": "aliexpress_search_products"
      }
    }
  }
}