DealsPlus Coupons

DealsPlus Coupons · Actions GPT

Custom DealsPlus API

API for retrieving store, coupon, and category contents from DealsPlus.

  • GET /search/summaryRetrieve Search Summary

    Retrieves summary information for stores, coupons, and categories based on the search query.

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Custom DealsPlus API",
    "version": "1.0.0",
    "description": "API for retrieving store, coupon, and category contents from DealsPlus."
  },
  "servers": [
    {
      "url": "https://apis.dealsplus.com"
    }
  ],
  "paths": {
    "/search/summary": {
      "get": {
        "summary": "Retrieve Search Summary",
        "description": "Retrieves summary information for stores, coupons, and categories based on the search query.",
        "operationId": "getSearchSummary",
        "parameters": [
          {
            "name": "searchWord",
            "in": "query",
            "required": true,
            "description": "The search query word.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response containing store, coupon, and category contents.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SearchResponse": {
        "type": "object",
        "properties": {
          "result": {
            "$ref": "#/components/schemas/Result"
          },
          "message": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        }
      },
      "Result": {
        "type": "object",
        "properties": {
          "storeContent": {
            "$ref": "#/components/schemas/StoreContent"
          },
          "couponContent": {
            "$ref": "#/components/schemas/CouponContent"
          },
          "categoryContent": {
            "$ref": "#/components/schemas/CategoryContent"
          }
        }
      },
      "StoreContent": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Store"
            }
          },
          "overSize": {
            "type": "boolean"
          }
        }
      },
      "CouponContent": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Coupon"
            }
          },
          "overSize": {
            "type": "boolean"
          }
        }
      },
      "CategoryContent": {
        "type": "object",
        "properties": {
          "contents": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "overSize": {
            "type": "boolean"
          }
        }
      },
      "Store": {
        "type": "object",
        "properties": {
          "storeId": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "couponUrl": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "keyword": {
            "type": "string"
          },
          "adminScore": {
            "type": "integer"
          },
          "affiliateNetwork": {
            "type": "string"
          },
          "affiliated": {
            "type": "boolean"
          },
          "exposed": {
            "type": "boolean"
          },
          "freeShipping": {
            "type": "boolean"
          },
          "paymentRequireDay": {
            "type": "null"
          },
          "thumbUrl": {
            "type": "string"
          },
          "cashbackBoost": {
            "type": "boolean"
          },
          "cashbackRate": {
            "type": "number"
          },
          "bonusCashbackRate": {
            "type": "number"
          },
          "viewSum": {
            "type": "integer"
          },
          "viewLast1Day": {
            "type": "integer"
          },
          "purchaseSum": {
            "type": "integer"
          },
          "purchaseLast1Day": {
            "type": "integer"
          },
          "subscriberSum": {
            "type": "integer"
          },
          "updatedAt": {
            "type": "null"
          },
          "categories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Category"
            }
          },
          "couponCount": {
            "type": "integer"
          },
          "lastModified": {
            "type": "string"
          }
        }
      },
      "Coupon": {
        "type": "object",
        "properties": {
          "couponId": {
            "type": "integer"
          },
          "couponTitle": {
            "type": "string"
          },
          "couponDiscountValue": {
            "type": "string"
          },
          "couponDescription": {
            "type": "string"
          },
          "couponViewSum": {
            "type": "integer"
          },
          "couponViewLast1Day": {
            "type": "integer"
          },
          "couponPurchaseSum": {
            "type": "integer"
          },
          "couponPurchaseLast1Day": {
            "type": "integer"
          },
          "storeId": {
            "type": "integer"
          },
          "storeName": {
            "type": "string"
          },
          "couponUrl": {
            "type": "string"
          },
          "expired": {
            "type": "boolean"
          },
          "couponThumbUrl": {
            "type": "string"
          },
          "couponImageUrls": {
            "type": "null"
          },
          "storeCashbackRate": {
            "type": "number"
          },
          "storeBonusCashbackRate": {
            "type": "number"
          },
          "storeThumbUrl": {
            "type": "string"
          },
          "startDateTime": {
            "type": "string"
          },
          "endDateTime": {
            "type": "string"
          },
          "offerType": {
            "type": "string"
          }
        }
      },
      "Category": {
        "type": "object",
        "properties": {
          "categoryId": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "exposed": {
            "type": "boolean"
          },
          "metaDescription": {
            "type": "string"
          },
          "thumbUrl": {
            "type": "null"
          },
          "categoryThumbTypeA": {
            "type": "string"
          },
          "categoryThumbTypeB": {
            "type": "string"
          },
          "categoryThumbTypeC": {
            "type": "string"
          },
          "categoryThumbTypeD": {
            "type": "string"
          }
        }
      }
    }
  }
}