Supplier
Last updated
Last updated
Retrieves a list of suppliers with optional query parameters for filtering and pagination.
/supplier
The number of results to return.
The starting point for the result set.
The keyword to search suppliers by.
The name of the supplier to search for.
The country of the supplier.
The category of the supplier.
The mobile number associated with the supplier.
The date when the supplier was created.
Optional parameter to toggle count behavior.
Bearer token for vendor authentication
Creates a new supplier entry with the provided details.
/supplier
Bearer token for vendor authentication
Retrieves a list of all available countries.
/list/country-list
Bearer token for vendor authentication
Retrieves a list of all available categories.
/list/category
Bearer token for vendor authentication
Retrieves the details of a specific supplier by their ID.
/supplier/{id}
The ID of the supplier to retrieve.
Bearer token for vendor authentication
Updates the details of a specific supplier based on their ID.
/supplier/{id}
The ID of the supplier to update.
Bearer token for vendor authentication
Deletes a specific supplier based on the supplied supplier ID.
/supplier/{id}
The ID of the supplier to delete.
Bearer token for vendor authentication
Fetches a list of documents associated with the vendor.
/vendor-document/document
Uploads a media file (image or document) to a specific path.
/media/upload-file
Bearer token for vendor authentication
The file to be uploaded (image or document).
The name of the file being uploaded.
The type of the file (e.g., image, document).
The path where the file should be stored on the server.
The image content, can be base64 encoded (if file is an image).
An identifier for the document (if applicable).