Search Product
Headers
Query parameters
Fetches Product whose names match the given q parameter using a case-insensitive partial match.
Fetches Product whose names match the given q parameter using a case-insensitive partial match.
This endpoint allows users to search for products based on a query string. It retrieves a list of products that match the specified search criteria.
Method: GET
Endpoint: {{host}}/apis/external/search/searchProduct/
Query Parameters:
q (string): The search term used to find products. In this example, the query is set to pt1.The response will be in JSON format and will include an array of products that match the search criteria. Each product object contains the following fields:
id (integer): Unique identifier for the product.
title (string): The name of the product.
description (string): A brief description of the product.
sku (string): Stock Keeping Unit identifier for the product.
hsn (string): Harmonized System Nomenclature code.
gl (string): General Ledger code associated with the product.
productId (string): Identifier for the product in the system.
service (string): Service type related to the product.
amount (number): Price of the product.
gst (number): Goods and Services Tax applicable to the product.
currency (string): Currency code for the price.
addedAt (integer): Timestamp of when the product was added.
updatedAt (integer): Timestamp of the last update to the product.
active (boolean): Indicates if the product is currently active.
unit (string): Measurement unit for the product.
config (object): Configuration settings for the product, including:
qcEnabled (boolean): Indicates if quality control is enabled.
skipFAR (boolean): Indicates if FAR checks should be skipped.