Pardomart
  1. general search
Pardomart
  • auth
    • Register User
      POST
    • Initiate Login
      POST
    • Verify And Login
      POST
    • Resend Verification Code
      POST
    • Get All Time Zones
      GET
  • user
    • Get All Users
      GET
    • Get Verification Codes
      GET
    • Delete user by ID
      DELETE
  • vendor
    • Get All Vendors
      GET
    • Get Vendor By ID
      GET
    • Get vendors by User ID
      GET
    • Create Vendor profile
      POST
    • Update Vendor Profile
      PATCH
    • Delete vendor by Id
      DELETE
  • openingHours
    • Update Opening Hours
      PATCH
  • product
    • Get all Products
      GET
    • Get all vendor products
      GET
    • Create Vendor Product
      POST
    • Get Product By Barcode
      GET
    • Get Vendor Product By Barcode
      GET
    • Delete product by ID
      DELETE
    • Delete Vendor Product By ID
      DELETE
    • Update vendor product
      PATCH
  • category
    • Create Bulk Categories
    • Get All Categories
    • Create One Category
    • Delete One Category
  • tags
    • Create Bulk Tags
    • Get All Tags
    • Create One Tag
    • Update Tag
    • Delete One Tag
  • general search
    • General Search Product
      GET
    • General Search Vendors
      GET
    • General Search Category
      GET
    • Search vendors, categories and products
      GET
  • Cart
    • Add to Cart
    • Get cart by userId
    • Delete Cart Item
  • Order
    • Create Order
    • Get order by Id
    • Get Orders By User Id
    • Update Order
    • Update order status
  • Fees
    • Fetch All Fees
    • Create a fee (For Admin)
    • Get Fees by type
    • Update Fee data
    • Calculate Fees
  • Delivery Address
    • Add New Address
    • Get Delivery Address By Id
    • Get All User Delivery Addresses
    • Get Default Delivery Address
    • Update Delivery Address
    • Delete Delivery Address
  1. general search

General Search Category

Developing
GET
/generalSearch/category/f294a3dd-e599-4281-a4b1-9ea8170ff2d5

Request

Query Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/generalSearch/category/f294a3dd-e599-4281-a4b1-9ea8170ff2d5?page=2&take=5&latitude=6.610888&longitude=3.354613'

Responses

🟢200OK
application/json
Body

Example
{
    "category": {
        "id": "string",
        "name": "string",
        "description": "string",
        "parentId": "string"
    },
    "products": {
        "products": [
            {
                "id": "string",
                "vendorId": "string",
                "productId": "string",
                "price": 0,
                "name": "string",
                "description": "string",
                "discountedPrice": null,
                "images": [
                    "string"
                ],
                "stock": 0,
                "isAvailable": true,
                "isAlcohol": true,
                "isAgeRestricted": true,
                "attributes": null,
                "categoryIds": [
                    null
                ],
                "createdAt": "string",
                "updatedAt": "string",
                "vendor": {
                    "name": "string",
                    "distance": 0
                }
            }
        ],
        "totalPages": 0,
        "currentPage": 0
    },
    "stores": [
        {
            "id": "string",
            "userId": "string",
            "name": "string",
            "email": "string",
            "tagline": "string",
            "details": "string",
            "image": "string",
            "address": "string",
            "longitude": 0,
            "latitude": 0,
            "isVerified": true,
            "meta": null,
            "createdAt": "string",
            "updatedAt": "string",
            "distance": 0
        }
    ]
}
Modified at 2025-06-24 13:59:37
Previous
General Search Vendors
Next
Search vendors, categories and products
Built with