Supplier
Retrieves a list of suppliers with optional query parameters for filtering and pagination.
The number of results to return.
10The starting point for the result set.
0The 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.
0Bearer token for vendor authentication
Successfully retrieved the list of suppliers.
Bad Request
Internal Server Error
Creates a new supplier entry with the provided details.
Bearer token for vendor authentication
Successfully created a new supplier.
Bad Request - Invalid input data
Internal Server Error
Retrieves the details of a specific supplier by their ID.
The ID of the supplier to retrieve.
Bearer token for vendor authentication
Successfully retrieved the supplier details.
Supplier not found
Internal Server Error
Updates the details of a specific supplier based on their ID.
The ID of the supplier to update.
Bearer token for vendor authentication
Successfully updated the supplier details.
Bad Request
Supplier not found
Internal Server Error
Deletes a specific supplier based on the supplied supplier ID.
The ID of the supplier to delete.
Bearer token for vendor authentication
Successfully deleted the supplier.
Bad Request - Invalid input or supplier ID
Supplier not found
Internal Server Error
Uploads a media file (image or document) to a specific path.
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).
Successfully uploaded the media file.
Bad Request - Invalid input or file.
Internal Server Error
Last updated