Search vendors by GSTIN, PAN, or name. Returns up to 20 matching results.
gstin, pan, or name must be provided.
| Parameter | Type | Required | Description |
|---|---|---|---|
gstin | string | No | Exact GSTIN (15 characters) to search for |
pan | string | No | Exact PAN (10 characters) to search for |
name | string | No | Partial or full vendor name to search for (case-insensitive) |
200 OK
Returns up to 20 vendors matching the search criteria.
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the search results |
data.vendors | array | List of matching vendors |
data.vendors[].vendorId | string | Unique slug identifier for the vendor (use this as vendorId in PO APIs) |
data.vendors[].name | string | Vendor display name |
data.vendors[].gstin | string | Vendor GSTIN (null if not set) |
data.vendors[].pan | string | Vendor PAN (null if not set) |
400 Bad Request
400 Bad Request
400 Bad Request
401 Unauthorized
403 Forbidden
500 Internal Server Error
gstin, pan, or name — the API returns a 400 if none are suppliedgstin and pan require exact matches (15 and 10 characters respectively)name supports partial matching — searching ABC will match ABC Suppliers, ABC Trading Co., etc.vendorId in the response is the slug to use when creating or updating purchase orders via the PO Creation API or PO Update API