Chat
Retrieves a list of vendors for chat administration.
A search keyword to filter vendor details.
Bearer token for authentication.
Successfully got vendor details
Invalid request parameters
Unauthorized access
Fetches vendor details by vendor ID.
ID of the vendor to fetch details for
Bearer token for authentication.
Successfully retrieved vendor details
Invalid request
Unauthorized
Vendor not found
Fetches the chat history for a given vendor.
ID of the vendor to fetch chat history for
Bearer token for authentication.
Successfully retrieved chat history
Invalid request
Unauthorized
Chat history not found
Fetches the count of products listed by a given vendor.
ID of the vendor to fetch the product count for
Bearer token for authentication.
Successfully retrieved seller product count
Invalid request
Unauthorized
Vendor not found
Updates the status of the chat to 'seen' for a given vendor.
ID of the vendor to update the chat seen status for
Bearer token for authentication.
Chat seen status updated successfully
Invalid request
Unauthorized
Vendor not found
Upload a file (image) to the server.
Bearer token for authentication.
The image file to upload
The folder path where the image will be saved
The name to assign to the uploaded file
The type of the file (e.g., image, document)
Image uploaded successfully
Bad request, invalid file data
Server error, unable to process the file
Bearer token for authentication.
Unique identifier for the message to delete
ID of the sender
ID of the recipient
Message Deleted Successfully
Invalid input or message not found
Last updated