Vendor Search API
Vendor APIs
Vendor Search API
Search vendors by GSTIN, PAN, or name. Returns up to 20 matching results.
Vendor Search API
Authentication
All requests require an API key in the request headers. Headers:Request
Query Parameters
At least one ofgstin, pan, or name must be provided.
Code Examples
Success Response
HTTP Status:200 OK
Returns up to 20 vendors matching the search criteria.
Response Fields:
Response Example
Empty Results
If no vendors match the search criteria, an empty array is returned:Error Responses
Missing Search Parameters
HTTP Status:400 Bad Request
Invalid GSTIN Format
HTTP Status:400 Bad Request
Invalid PAN Format
HTTP Status:400 Bad Request
Authentication Errors
HTTP Status:401 Unauthorized
Permission Errors
HTTP Status:403 Forbidden
Internal Error
HTTP Status:500 Internal Server Error
Best Practices
- Provide at least one of
gstin,pan, orname— the API returns a400if none are supplied gstinandpanrequire exact matches (15 and 10 characters respectively)namesupports partial matching — searchingABCwill matchABC Suppliers,ABC Trading Co., etc.- The
vendorIdin the response is the slug to use when creating or updating purchase orders via the PO Creation API or PO Update API - Results are capped at 20 — use more specific search terms if needed